Set path for season folders

This commit is contained in:
Shadowghost
2024-05-20 01:45:12 +02:00
parent 9a9e8e2648
commit e6eef8bece
2 changed files with 12 additions and 1 deletions

View File

@@ -54,7 +54,8 @@ namespace Emby.Server.Implementations.Library.Resolvers.TV
{
IndexNumber = seasonParserResult.SeasonNumber,
SeriesId = series.Id,
SeriesName = series.Name
SeriesName = series.Name,
Path = seasonParserResult.IsSeasonFolder ? path : args.Parent.Path
};
if (!season.IndexNumber.HasValue || !seasonParserResult.IsSeasonFolder)