diff options
| author | Cody Robibero <cody@robibe.ro> | 2026-08-04 18:01:13 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-04 18:01:13 -0400 |
| commit | d9d9efc96e512330de6a48916fd0dbf213affc95 (patch) | |
| tree | 4837da23103dbf009343820f83af21bd2e8f17f5 /Jellyfin.Server.Implementations/Item/BaseItemRepository.cs | |
| parent | dd1380e562024de04f95f6c06f3c0aa2b1a6986c (diff) | |
| parent | 55518c06ee5cc7d7e063a46233f4671476a3e337 (diff) | |
Merge pull request #17523 from Shadowghost/fix-resume-container-folders
Only treat series and seasons as resumable folders
Diffstat (limited to 'Jellyfin.Server.Implementations/Item/BaseItemRepository.cs')
| -rw-r--r-- | Jellyfin.Server.Implementations/Item/BaseItemRepository.cs | 8 |
1 files changed, 8 insertions, 0 deletions
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<ItemValueType> _getStudiosValueTypes = [ItemValueType.Studios]; private static readonly IReadOnlyList<ItemValueType> _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 + ]; + /// <summary> /// Initializes a new instance of the <see cref="BaseItemRepository"/> class. /// </summary> |
