Skip to content

v0.1.64 — Emby/Jellyfin: full DeviceProfile + subs-off-by-default

Choose a tag to compare

@NebulaSleuth NebulaSleuth released this 24 May 01:11
· 196 commits to main since this release

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 / 2ch
  • SubtitleProfiles: ass, ssa, srt, subrip, pgssub, pgs, dvbsub, dvdsub, sub, vobsub → all Encode (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

  1. Wait for auto-update at 192.168.1.181:3001 (or trigger via /api/update/check).
  2. Web → Emby source → start, change subs, change quality. Subs should start OFF.
  3. Web → Jellyfin source → start, change subs, change quality. Playback should hold across swaps.
  4. 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.