fixes #534 - Support movie.xml for adult videos

This commit is contained in:
Luke Pulverenti 2013-09-12 11:30:56 -04:00
parent d770a8af7c
commit ef6c513ede

View File

@ -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);
}