Stock Jellyfin renders subtitle stream entries as "<lang> - <CODEC> - (External|Internal|Embedded)[ - flag]". For ARRFLIX, which has at most one subtitle format per language, the codec and source suffix are noise. Add a small JS shim to web-overrides/index.html that matches that exact shape and collapses the label to "<lang>" (with "(Forced)" / "(SDH)" / "(Hearing Impaired)" if those flags are present; "Default" is dropped since it's redundant when there's only one stream of that language). Audio labels like "5.1Ch Surround Sound - English - AAC - Stereo - Default" have a different number of segments and don't match, so they pass through untouched. The shim runs after DOMContentLoaded and re-walks any nodes added later via MutationObserver (covers actionsheet dropdowns that mount lazily). Bracketed by /* SUB-LABEL-SHIM-BEGIN */ and /* SUB-LABEL-SHIM-END */ markers; bin/revert-sub-label-shim.sh deletes between the markers in one sed pass and saves a timestamped backup. No container restart needed (index.html is bind-mounted). |
||
|---|---|---|
| .. | ||
| add-jellyfin-user.sh | ||
| apply-26-incident-fixes.sh | ||
| english-lockdown-runner.sh | ||
| force-english-all-users.sh | ||
| headless-test-v2.py | ||
| headless-test.py | ||
| inject-middle-theme.py | ||
| inject-shim.py | ||
| prod-vs-dev-compare.py | ||
| revert-sub-label-shim.sh | ||