Repository navigation
v0.1.64 — Emby/Jellyfin: full DeviceProfile + subs-off-by-default
Fixes diagnosed from v0.1.63 logging
1. Jellyfin: playback broke on every swap
Root cause: Our DeviceProfile shipped with only MaxStreamingBitrate — no TranscodingProfiles, no SubtitleProfiles. Jellyfin's policy without those: "I don't know what the client can play, so I can't transcode." Every PlaybackInfo response came back with SupportsTranscoding=false and TranscodingUrl=(none). Our master.m3u8 request then had no transcoder behind it — playback broke for any source that needed a codec change (FLAC audio, PGSSUB subtitles, etc.).
Fix: Ship a real DeviceProfile with:
TranscodingProfiles: HLS / TS / h264 / aac+mp3 / 2chSubtitleProfiles: ass, ssa, srt, subrip, pgssub, pgs, dvbsub, dvdsub, sub, vobsub → allEncode(burn-in)
2. Emby: subtitles enabled at start even when UI shows "Off"
Root cause: Initial call sent SubtitleMethod=Encode without SubtitleStreamIndex. Emby interpreted that as "burn whatever's IsDefault=true" — which on multi-subtitle files (e.g. an Arabic anime release with IsDefault=true on the Arabic track) means the video starts with Arabic burned in despite the UI showing "Off." Toggling "off" then enabled it in user perception.
Fix: When the caller hasn't explicitly picked a sub, send SubtitleStreamIndex=-1 (off). Matches the UI default and matches how the Plex client behaves.
Side note: Emby quality
Source bitrate is 1.2 Mbps on the test file. Going 8 Mbps → 20 Mbps produces no visible change because the source ceiling is well below both. Not a bug — pick ≤ 800 Kbps to actually see a quality drop on this content.
Test path
- Wait for auto-update at 192.168.1.181:3001 (or trigger via
/api/update/check). - Web → Emby source → start, change subs, change quality. Subs should start OFF.
- Web → Jellyfin source → start, change subs, change quality. Playback should hold across swaps.
- If anything's still off, the
[Emby.dbg]/[Jellyfin.dbg]logging from v0.1.63 is still in place — pull via/api/logs?lines=500&filter=.dbg.