mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 22:07:13 -04:00
update boxset resolver
This commit is contained in:
parent
6e01e277d4
commit
f5ad9186ec
@ -66,7 +66,7 @@ namespace MediaBrowser.Controller.Entities.Movies
|
|||||||
{
|
{
|
||||||
if (IsLegacyBoxSet)
|
if (IsLegacyBoxSet)
|
||||||
{
|
{
|
||||||
return base.LoadChildren();
|
return base.GetNonCachedChildren(directoryService);
|
||||||
}
|
}
|
||||||
return new List<BaseItem>();
|
return new List<BaseItem>();
|
||||||
}
|
}
|
||||||
|
@ -48,6 +48,12 @@ namespace MediaBrowser.Server.Implementations.Library.Resolvers.Movies
|
|||||||
string collectionType,
|
string collectionType,
|
||||||
IDirectoryService directoryService)
|
IDirectoryService directoryService)
|
||||||
{
|
{
|
||||||
|
if (parent != null && parent.Path != null && parent.Path.IndexOf("disney", StringComparison.OrdinalIgnoreCase) != -1)
|
||||||
|
{
|
||||||
|
var b = true;
|
||||||
|
var a = b;
|
||||||
|
}
|
||||||
|
|
||||||
var result = ResolveMultipleInternal(parent, files, collectionType, directoryService);
|
var result = ResolveMultipleInternal(parent, files, collectionType, directoryService);
|
||||||
|
|
||||||
if (result != null)
|
if (result != null)
|
||||||
@ -197,6 +203,12 @@ namespace MediaBrowser.Server.Implementations.Library.Resolvers.Movies
|
|||||||
/// <returns>Video.</returns>
|
/// <returns>Video.</returns>
|
||||||
protected override Video Resolve(ItemResolveArgs args)
|
protected override Video Resolve(ItemResolveArgs args)
|
||||||
{
|
{
|
||||||
|
if (args.Path != null && args.Path.IndexOf("disney", StringComparison.OrdinalIgnoreCase) != -1)
|
||||||
|
{
|
||||||
|
var b = true;
|
||||||
|
var a = b;
|
||||||
|
}
|
||||||
|
|
||||||
var collectionType = args.GetCollectionType();
|
var collectionType = args.GetCollectionType();
|
||||||
|
|
||||||
if (IsInvalid(args.Parent, collectionType))
|
if (IsInvalid(args.Parent, collectionType))
|
||||||
|
Loading…
Reference in New Issue
Block a user