mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-07-07 04:53:01 +01:00
Initial subtitle selection now comes from JS on tracksReady; FILE_LOADED still disables subtitles, which could wipe a JS selection that landed first on embedded-only files (no later track-list change to re-fire). Re-emitting tracksReady after the disable guarantees the idempotent JS re-apply always runs last. Also guards the iOS track-id read against failure, matching Android.