366 Commits

Author SHA1 Message Date
PatrickSt1991
54db8ba4ca Block config.json changes if the package isnt jellyfin 2026-01-08 19:53:03 +01:00
kingchenc
063a7e2750 Fix ServerMismatch bug, reorganize Jellyfin Config UI with tabs, and improve auto-login flow
### Bug Fixes:

- Fixed ServerMismatch breaking auto-login - The auto-login credentials were using a fake server ID derived from the URL (serverUrl.replace(/[^a-zAZ0-9]/g, '')). Now fetches the real server GUID from /System/Info/Public endpoint and stores it in AppSettings.JellyfinServerId for correct localStorage credential injection.
- Fixed URL handling for reverse proxy setups - URLs without explicit ports (e.g., https://xx.seedhost.eu/xxx/jellyfin/) now work correctly. Default ports (443 for HTTPS, 80 for HTTP) are no longer included in the stored URL.
- Auto-enable config patching on login - When authentication succeeds and Update Mode is "None", it automatically switches to "Server Settings" to enable
config patching. Removed the unused EnableAutoLoginConfigCommand button.

### UI Improvements:

- Reorganized UI with TabControl - Split settings into 3 tabs:
  - Server: Server settings + Auto-login settings
  - Playback: Browser/playback preferences
  - User: User-specific settings
- Server Input Mode selector - Users can choose between:
  - IP : Port mode - Enter protocol, IP, and port separately
  - Full URL mode - Paste complete URL (auto-parses all fields)
- Removed Base Path field - No longer needed since Full URL mode handles paths automatically
- Improved button consistency - Test Server and Test Login buttons now have matching sizes and styling
- Label updates:
  - "Status" → "Server Status"
  - "Test" button → "Test Server"
  - "Login" button → "Test Login"

### Localization:

Added/updated translations for all 6 languages (en, de, fr, nl, tr, da):
 - lblTabServer, lblTabPlayback, lblTabUser
 - lblServerInputMode, lblServerUrl, lblConnectionStatus
 - lblAutoLoginUser, lblTestServer (updated)

### Modified files:

 - JellyfinConfigView.axaml - Complete UI restructure with tabs
 - JellyfinConfigViewModel.cs - New properties, auto-validation logic, server ID fetching
 - JellyfinHtmlPatcher.cs - Fixed auto-login to use real server ID
 - JellyfinPluginPatcher.cs - Exposed API client
 - AppSettings.cs - Added JellyfinServerId, JellyfinServerLocalAddress
 - All localization JSON files - New translation keys
2026-01-07 22:00:17 +01:00
PatrickSt1991
64fc60d543 version bump 2026-01-07 08:15:16 +01:00
Patrick
7640a800d1 Add reverse proxy path support and auto-login credentials injection (#220)
Add support for Jellyfin servers behind reverse proxies (e.g., seedhost)
and automatic login credential injection for Samsung TV installations.

Features:
  - Add Base Path field for reverse proxy URLs (e.g., /xxx/jellyfin)
  - Add JellyfinFullUrl property that combines host:port with base path
  - Add username/password authentication with access token storage
  - Add auto-login injection that pre-populates localStorage credentials
  - Add "Test Connection" button to verify server reachability
  - Add "Login" button to authenticate and store access token

Modified files:
  - Helpers/AppSettings.cs: New properties for base path and credentials
- Helpers/JellyfinApiClient.cs: AuthenticateAsync() and
TestServerConnectionAsync()
- Helpers/JellyfinHtmlPatcher.cs: InjectAutoLoginAsync() for credential
injection
- Helpers/JellyfinWebPackagePatcher.cs: Integrate auto-login during
packaging
  - ViewModels/JellyfinConfigViewModel.cs: UI bindings and commands
  - Views/JellyfinConfigView.axaml: New Auto-Login Settings section
  - Assets/Localization/*.json: Added translations (en, de, fr, nl, da)

Fix for Add reverse proxy path support and auto-login credentials
injection

# Pull Request Template

## Description

Please include a summary of the change and which issue is fixed. Also
include relevant motivation and context.

Fixes # (issue number, if applicable)

---

## Type of Change

- [ ] Bug fix (non-breaking change)
- [X] New feature (non-breaking change)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Other (please describe):

---

## Checklist

- [X] My code follows the existing project structure and style  
- [ ] I have tested my changes manually  
- [ ] I have added necessary documentation (if applicable)  
- [ ] I have verified that the installer still works with the underlying
CLI

---

## Additional Notes

Any other information that reviewers should know, including limitations,
concerns, or context about the change.
2026-01-07 08:07:16 +01:00
PatrickSt1991
49dc6cde31 youtube return fix 2026-01-07 08:05:54 +01:00
kingchenc
5530092a60 Add reverse proxy path support and auto-login credentials injection
Add support for Jellyfin servers behind reverse proxies (e.g., seedhost) and automatic login credential injection for Samsung TV installations.

Features:
  - Add Base Path field for reverse proxy URLs (e.g., /xxx/jellyfin)
  - Add JellyfinFullUrl property that combines host:port with base path
  - Add username/password authentication with access token storage
  - Add auto-login injection that pre-populates localStorage credentials
  - Add "Test Connection" button to verify server reachability
  - Add "Login" button to authenticate and store access token

Modified files:
  - Helpers/AppSettings.cs: New properties for base path and credentials
  - Helpers/JellyfinApiClient.cs: AuthenticateAsync() and TestServerConnectionAsync()
  - Helpers/JellyfinHtmlPatcher.cs: InjectAutoLoginAsync() for credential injection
  - Helpers/JellyfinWebPackagePatcher.cs: Integrate auto-login during packaging
  - ViewModels/JellyfinConfigViewModel.cs: UI bindings and commands
  - Views/JellyfinConfigView.axaml: New Auto-Login Settings section
  - Assets/Localization/*.json: Added translations (en, de, fr, nl, da)

Fix for Add reverse proxy path support and auto-login credentials injection
2026-01-07 00:25:33 +01:00
PatrickSt1991
310c7a2fd1 youtube fake 2026-01-06 21:18:13 +01:00
PatrickSt1991
3d962ff0b1 randomize movies editorschoice 2026-01-06 20:58:40 +01:00
PatrickSt1991
50144c0a9e Working trailer! 2026-01-06 19:49:38 +01:00
PatrickSt1991
86bed3a425 partly working trailer 2026-01-05 21:47:32 +01:00
PatrickSt1991
f128790d70 added TR 2026-01-04 21:53:33 +01:00
PatrickSt1991
4d6ce0770a Merge branch 'master' of https://github.com/PatrickSt1991/Samsung-Jellyfin-Installer 2026-01-04 21:46:12 +01:00
PatrickSt1991
a0813f387f youtube error 2026-01-04 21:46:05 +01:00
Mert Sarac
013a056d75 Add Turkish localization file
Introduced tr.json to provide Turkish translations for the application's UI and messages.
2026-01-04 22:27:07 +03:00
PatrickSt1991
41e2eaaf7d rename functions and added to the matrix 2026-01-04 20:13:33 +01:00
PatrickSt1991
9428364b99 versionbump 2026-01-04 19:35:35 +01:00
PatrickSt1991
2025affc89 fixed editors choice 2026-01-04 19:34:42 +01:00
PatrickSt1991
d370bd9c9c HSS Improvement 2026-01-03 21:51:58 +01:00
PatrickSt1991
8aa4f0eb41 localization fix and enabled tag 2026-01-03 09:14:30 +01:00
PatrickSt1991
437c9881ea HSS rewrite
YouTube enablejsapi to 0
2026-01-03 07:31:01 +01:00
PatrickSt1991
8cb0f1d94f Merge branch 'master' of https://github.com/PatrickSt1991/Samsung-Jellyfin-Installer 2026-01-02 20:56:02 +01:00
PatrickSt1991
bb25f5ebb2 Patch for HSS 2026-01-02 20:55:45 +01:00
Patrick
d38e6270cd Small DE fixxes (#216)
https://github.com/PatrickSt1991/Samsung-Jellyfin-Installer/pull/156

It fixes three localizations from my previous PR.
2026-01-02 17:57:39 +01:00
PatrickSt1991
0a1946f692 YouTube Patch preventing Error 153
Jellyfin Plugin improvements
2026-01-02 17:56:28 +01:00
kingchenc
eb541ee586 Small DE fixxes 2026-01-02 17:51:02 +01:00
PatrickSt1991
60c2c8a7cf WS Fix 2026-01-01 22:01:12 +01:00
PatrickSt1991
ed87ff9be6 Added error codes 118012 and 118, -12
Fixed AppName for InstallationCompleted view
UX Fix for version
2026-01-01 21:06:40 +01:00
PatrickSt1991
534975b559 fix null exception on selectedRelease 2026-01-01 13:55:38 +01:00
PatrickSt1991
c30656a0d7 removed dev stop 2026-01-01 13:47:29 +01:00
PatrickSt1991
a0bcc793a2 beta tag 2026-01-01 13:39:14 +01:00
PatrickSt1991
20079f5d6f version bump 2026-01-01 13:39:01 +01:00
PatrickSt1991
47f09c547a Moved custom WGT from settings to main window under Custom WGT release 2026-01-01 13:38:21 +01:00
PatrickSt1991
3a0af16ad0 translation fix 2025-12-31 19:50:03 +01:00
PatrickSt1991
420f153e40 fixed jellyfin config, readded cors origin to config.xml 2025-12-31 19:36:41 +01:00
PatrickSt1991
71b0d413a8 changed ws port to higher number 2025-12-31 16:37:19 +01:00
PatrickSt1991
cdfabac260 New setting to prevent deletion of WGT file, used for debugging wgt files 2025-12-31 14:45:17 +01:00
PatrickSt1991
df55f0d456 Added cancel button as requested in #211 2025-12-31 13:55:09 +01:00
Patrick
f882a2b9a2 Update TizenInstallerService.cs 2025-12-31 08:19:48 +01:00
Patrick
6871e88431 Update AppSettings.cs 2025-12-31 08:06:40 +01:00
PatrickSt1991
2152ba24f9 debug file 2025-12-28 21:13:01 +01:00
PatrickSt1991
6711907c4c Replaced debug.writeline for trace.writeline 2025-12-28 21:08:39 +01:00
PatrickSt1991
764adce7a1 Plugin enhancement
Moonfin double entry fix
2025-12-28 20:52:09 +01:00
PatrickSt1991
6efea5d414 116 error is insufficient space 2025-12-27 20:23:33 +01:00
PatrickSt1991
70210550ed additional check to create certificates for non jellyfin 2025-12-26 07:57:44 +01:00
PatrickSt1991
9801b6dfbf Added Moonfin 2025-12-25 21:01:37 +01:00
PatrickSt1991
60cf53c109 removed beta tag 2025-12-24 08:15:36 +01:00
PatrickSt1991
3f5c8604e9 height fix 2025-12-17 16:30:57 +01:00
PatrickSt1991
75b4cb3622 TV Log enhancement 2025-12-17 16:25:08 +01:00
PatrickSt1991
fc0b583b4f version bump 2025-12-16 19:47:01 +01:00
PatrickSt1991
c1a9ff7ce4 jellyenhanced files and plugin manager fix 2025-12-16 16:12:44 +01:00