diff --git a/bin/add-jellyfin-user.sh b/bin/add-jellyfin-user.sh index 3dc6d57..66186de 100755 --- a/bin/add-jellyfin-user.sh +++ b/bin/add-jellyfin-user.sh @@ -71,7 +71,7 @@ rm -f /tmp/dp-cur.$$.json /tmp/dp-fix.$$.json [[ "$HTTP" == "204" ]] || { echo " DisplayPreferences POST failed: $HTTP"; exit 1; } echo " Home layout applied." -echo "[3/4] Setting language prefs (audio=eng, subs=eng default)..." +echo "[3/4] Setting language prefs (force English everywhere, no fallback)..." curl -ks "$JELLYFIN_URL/Users/$USER_ID" -H "Authorization: $AUTH" > /tmp/u.$$.json python3 - < /tmp/u-fix.$$.json import json @@ -81,6 +81,8 @@ c['SubtitleMode'] = 'Default' c['SubtitleLanguagePreference'] = 'eng' c['AudioLanguagePreference'] = 'eng' c['PlayDefaultAudioTrack'] = True +c['UICulture'] = 'en-US' +c['DisplayMissingEpisodes'] = False print(json.dumps(c)) EOF HTTP=$(curl -ks -X POST "$JELLYFIN_URL/Users/$USER_ID/Configuration" \