From 55518c06ee5cc7d7e063a46233f4671476a3e337 Mon Sep 17 00:00:00 2001 From: Shadowghost Date: Mon, 3 Aug 2026 09:01:55 +0200 Subject: Only treat series and seasons as resumable folders --- Jellyfin.Server.Implementations/Item/BaseItemRepository.cs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Jellyfin.Server.Implementations/Item/BaseItemRepository.cs') diff --git a/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs b/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs index 57041276b7..6622fb3aa6 100644 --- a/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs +++ b/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs @@ -46,6 +46,14 @@ public sealed partial class BaseItemRepository private static readonly IReadOnlyList _getStudiosValueTypes = [ItemValueType.Studios]; private static readonly IReadOnlyList _getGenreValueTypes = [ItemValueType.Genre]; + // The only folder kinds whose children form a single viewing sequence, so playback progress on a + // child rolls up to them. Every other folder kind is a container that cannot be resumed. + private static readonly BaseItemKind[] _resumableFolderKinds = + [ + BaseItemKind.Series, + BaseItemKind.Season + ]; + /// /// Initializes a new instance of the class. /// -- cgit v1.2.3