mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-16 02:18:54 -07: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 item is Movie || item is MusicVideo;
|
||||
return item is Movie || item is MusicVideo || item is AdultVideo;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@ -54,7 +54,7 @@ namespace MediaBrowser.Providers.Movies
|
||||
|
||||
internal static string GetXmlFilename(BaseItem item)
|
||||
{
|
||||
var filename = "movie.xml";
|
||||
const string filename = "movie.xml";
|
||||
|
||||
return Path.Combine(item.MetaLocation, filename);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user