mirror of
https://github.com/Jellyfin2Samsung/Samsung-Jellyfin-Installer.git
synced 2026-03-01 11:21:12 +03:00
Fixes #319 — Server appears as "undefined" on Samsung TV after network interruptions when using mDNS (.local) hostnames. Root cause: The injected jellyfin_credentials in localStorage were missing the `Name` property. When the TV couldn't reach the server (mDNS resolution failure), Jellyfin Web had no cached server name to display, resulting in literal "undefined". Changes: - Add `Name` property to injected auto-login credentials using the real ServerName from /System/Info/Public, with fallback to the server URL - Store JellyfinServerName in AppSettings (fetched during server validation and authentication, cleared on logout) - Add the server's LocalAddress (IP-based) as a fallback entry in config.json so the TV can still connect when mDNS resolution fails - Add a visible warning banner in the UI when a .local hostname is detected, advising users to use a direct IP address instead - Add lblMdnsWarning localization key to all 28 language files (translated for da, nl, en, fr, de, pt, tr — English fallback for remaining languages)