This commit is contained in:
SenorSmartyPants 2022-02-04 13:44:38 -06:00 committed by GitHub
parent c16d71562e
commit 2b769aae69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,7 @@ namespace Emby.Server.Implementations.Library.Resolvers.Movies
CollectionType.Movies, CollectionType.Movies,
CollectionType.HomeVideos, CollectionType.HomeVideos,
CollectionType.MusicVideos, CollectionType.MusicVideos,
CollectionType.Movies, CollectionType.TvShows,
CollectionType.Photos CollectionType.Photos
}; };
@ -221,6 +221,11 @@ namespace Emby.Server.Implementations.Library.Resolvers.Movies
return ResolveVideos<Movie>(parent, files, true, collectionType, true); return ResolveVideos<Movie>(parent, files, true, collectionType, true);
} }
if (string.Equals(collectionType, CollectionType.TvShows, StringComparison.OrdinalIgnoreCase))
{
return ResolveVideos<Episode>(parent, files, true, collectionType, true);
}
return null; return null;
} }