mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-11-23 04:46:08 -08:00
fix(jellyfin): keep the episode playlist window at least 3 long
With a 2-episode window the episode just left falls outside the next window, so a queue run could remove it while the user stepped back to it. mpv's IPC cannot check-and-remove atomically; a window of 3 or more always keeps both immediate neighbors, so removals stay two steps from the playing entry. maxEpisodes now clamps to 3..25.
This commit is contained in:
8 files changed
+43
-8
No files matched your search
@@ -1114,7 +1114,7 @@
|
||||
"transcodeVideoCodec": "h264", // Preferred transcode video codec when direct play is unavailable.
|
||||
"episodePlaylist": {
|
||||
"enabled": true, // Add the playing episode's neighbors from its Jellyfin series to the mpv playlist, so mpv's playlist controls and end-of-file advance move between episodes. Values: true | false
|
||||
"maxEpisodes": 5 // Most episodes kept in the mpv playlist, the playing one included, centered on it (2-25).
|
||||
"maxEpisodes": 5 // Most episodes kept in the mpv playlist, the playing one included, centered on it (3-25).
|
||||
} // Episode playlist setting.
|
||||
}, // Optional Jellyfin integration for auth, browsing, and playback launch.
|
||||
|
||||
|
||||
Reference in new issue
Block a user