aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Entities
diff options
context:
space:
mode:
authorTim Eisele <Ghost_of_Stone@web.de>2025-03-23 17:05:40 +0100
committerGitHub <noreply@github.com>2025-03-23 10:05:40 -0600
commitdfb485d1f205c8eda95bc3b79d341f3c3aef7ec4 (patch)
tree584a53baf9fba5321cd655ae3298bbd7d622f0a9 /MediaBrowser.Controller/Entities
parent8db6a39e92acfd76689e77c71b00ac96e60c515b (diff)
Rework season folder parsing (#11748)
Diffstat (limited to 'MediaBrowser.Controller/Entities')
-rw-r--r--MediaBrowser.Controller/Entities/TV/Season.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Entities/TV/Season.cs b/MediaBrowser.Controller/Entities/TV/Season.cs
index e3fbe8e4d..9dbac1e92 100644
--- a/MediaBrowser.Controller/Entities/TV/Season.cs
+++ b/MediaBrowser.Controller/Entities/TV/Season.cs
@@ -257,7 +257,7 @@ namespace MediaBrowser.Controller.Entities.TV
if (!IndexNumber.HasValue && !string.IsNullOrEmpty(Path))
{
- IndexNumber ??= LibraryManager.GetSeasonNumberFromPath(Path);
+ IndexNumber ??= LibraryManager.GetSeasonNumberFromPath(Path, ParentId);
// If a change was made record it
if (IndexNumber.HasValue)