mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 05:47:14 -04:00
fixes #534 - Support movie.xml for adult videos
This commit is contained in:
parent
d770a8af7c
commit
ef6c513ede
@ -40,7 +40,7 @@ namespace MediaBrowser.Providers.Movies
|
|||||||
return !trailer.IsLocalTrailer;
|
return !trailer.IsLocalTrailer;
|
||||||
}
|
}
|
||||||
|
|
||||||
return item is Movie || item is MusicVideo;
|
return item is Movie || item is MusicVideo || item is AdultVideo;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -54,7 +54,7 @@ namespace MediaBrowser.Providers.Movies
|
|||||||
|
|
||||||
internal static string GetXmlFilename(BaseItem item)
|
internal static string GetXmlFilename(BaseItem item)
|
||||||
{
|
{
|
||||||
var filename = "movie.xml";
|
const string filename = "movie.xml";
|
||||||
|
|
||||||
return Path.Combine(item.MetaLocation, filename);
|
return Path.Combine(item.MetaLocation, filename);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user