Rework season folder parsing (#11748)

This commit is contained in:
Tim Eisele
2025-03-23 17:05:40 +01:00
committed by GitHub
parent 8db6a39e92
commit dfb485d1f2
7 changed files with 105 additions and 92 deletions

View File

@@ -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)