mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-26 03:55:01 +01:00
denormalize seasonid
This commit is contained in:
@@ -368,10 +368,10 @@ namespace MediaBrowser.Server.Implementations.Library
|
||||
{
|
||||
return;
|
||||
}
|
||||
//if (!(item is Folder))
|
||||
//{
|
||||
// return;
|
||||
//}
|
||||
if (!(item is Folder))
|
||||
{
|
||||
return;
|
||||
}
|
||||
LibraryItemsCache.AddOrUpdate(id, item, delegate { return item; });
|
||||
}
|
||||
|
||||
|
||||
@@ -45,6 +45,14 @@ namespace MediaBrowser.Server.Implementations.Library.Resolvers.TV
|
||||
{
|
||||
var episode = ResolveVideo<Episode>(args, false);
|
||||
|
||||
if (episode != null)
|
||||
{
|
||||
if (season != null)
|
||||
{
|
||||
episode.SeasonId = season.Id;
|
||||
}
|
||||
}
|
||||
|
||||
return episode;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user