Commit Graph
4 Commits
Author SHA1 Message Date
sudacode 93d95538ae test(e2e): check Jellyfin playlist titles only on mpv 0.42+
playlist/N/title is read-only before mpv 0.42, so the CI runners on 0.41
keep listing stream URLs. Note the version requirement in the docs.
2026-11-23 01:42:30 -08:00
sudacode ec98118006 fix(jellyfin): keep playback armed across file unload and serialize episode stops
- An empty mpv path during the startup grace belongs to the file being
  replaced, so it no longer clears the new, not-yet-loaded playback. This
  dropped Jellyfin reporting (and the episode queue) whenever playback
  started while another file was playing, and failed E2E on all CI runners.
- Chain superseded stop reports so each episode start waits for every
  earlier stop, and skip starts a later switch already took over.
- Tag tracked reports with their playback so a superseded stop drains only
  its own in-flight progress, not the new episode's.
- E2E: clamp the fake server's range end and wait for the ep2 start report.
2026-11-23 01:36:01 -08:00
sudacode c742e9541c fix(jellyfin): title queued playlist entries instead of stream URLs
- Set playlist/N/title for the current and queued neighbor episodes so mpv's playlist doesn't show stream URLs that carry the API key
- Thread the plan title through prepared Jellyfin playback
- Cover titles in unit and e2e playlist tests
2026-11-23 01:20:54 -08:00
sudacode 8076f3faae feat(jellyfin): queue series neighbor episodes in the mpv playlist
Jellyfin playback now keeps the episodes around the playing one in mpv's
playlist, so mpv's playlist keys and end-of-file advance move through the
series (across seasons) in the same mpv and app session.

- Queue neighbors only after the first time-pos, so startup is not slowed.
- Adopt queued entries on mpv's path change without a loadfile: report the
  previous item stopped, then start reporting, stats, and subtitles for the
  new one. Runs before the immersion sync so stats metadata is recorded first.
- Tell the mpv plugin which playlist paths the app manages so start-file
  skips subtitle rearm and overlay auto-start for them.
- Add jellyfin.episodePlaylist.enabled (default on) and maxEpisodes
  (default 5, clamped 2-25), a rolling window centered on the current episode,
  under Settings > Integrations > Jellyfin > Episode Playlist.
- Add a fake-Jellyfin e2e scenario covering next/prev in one session.
2026-11-23 01:13:33 -08:00