From ef6c513ede7203f7b03490c44a222dfaf8311eac Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Thu, 12 Sep 2013 11:30:56 -0400 Subject: [PATCH] fixes #534 - Support movie.xml for adult videos --- MediaBrowser.Providers/Movies/MovieProviderFromXml.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MediaBrowser.Providers/Movies/MovieProviderFromXml.cs b/MediaBrowser.Providers/Movies/MovieProviderFromXml.cs index 762920955e..256b746928 100644 --- a/MediaBrowser.Providers/Movies/MovieProviderFromXml.cs +++ b/MediaBrowser.Providers/Movies/MovieProviderFromXml.cs @@ -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; } /// @@ -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); }