aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs
diff options
context:
space:
mode:
authorShadowghost <Ghost_of_Stone@web.de>2026-08-05 12:15:30 +0200
committerShadowghost <Ghost_of_Stone@web.de>2026-08-05 12:15:30 +0200
commitb2485af6e9b29c8a6491deb934569e591b4858d2 (patch)
treee2367d631429252f08cecf448c574c9eb15973db /Jellyfin.Server.Implementations/Item/BaseItemRepository.cs
parentd3c7aa6bd21cfcac488fc5438c8fd34865862500 (diff)
parent563a00faaa3b0f587079518e9494974a70a688e0 (diff)
Merge remote-tracking branch 'upstream/master' into fix-byname-queries
# Conflicts: # Jellyfin.Server.Implementations/Item/BaseItemRepository.cs
Diffstat (limited to 'Jellyfin.Server.Implementations/Item/BaseItemRepository.cs')
-rw-r--r--Jellyfin.Server.Implementations/Item/BaseItemRepository.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs b/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs
index 4c3dba1b47..1d2aa21853 100644
--- a/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs
+++ b/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs
@@ -63,6 +63,14 @@ public sealed partial class BaseItemRepository
(BaseItemKind.Studio, _getStudiosValueTypes)
];
+ // 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
+ ];
+
/// <summary>
/// Initializes a new instance of the <see cref="BaseItemRepository"/> class.
/// </summary>