mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-24 14:08:44 -04:00
Merge pull request #11920 from Shadowghost/fix-season-path
Only set season path if season folder parsing was successful
This commit is contained in:
commit
d1c00ba4ed
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ namespace Emby.Server.Implementations.Library.Resolvers.TV
|
|||
IndexNumber = seasonParserResult.SeasonNumber,
|
||||
SeriesId = series.Id,
|
||||
SeriesName = series.Name,
|
||||
Path = seasonParserResult.IsSeasonFolder ? path : args.Parent.Path
|
||||
Path = seasonParserResult.IsSeasonFolder ? path : null
|
||||
};
|
||||
|
||||
if (!season.IndexNumber.HasValue || !seasonParserResult.IsSeasonFolder)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue