Added an adult video entity

This commit is contained in:
Luke Pulverenti
2013-07-16 14:47:05 -04:00
parent 27c644e6c8
commit 2c22db8b8d
15 changed files with 56 additions and 57 deletions

View File

@@ -353,7 +353,7 @@ namespace MediaBrowser.Providers.MediaInfo
/// <param name="video">The video.</param>
private void AddExternalSubtitles(Video video)
{
var useParent = (video.VideoType == VideoType.VideoFile || video.VideoType == VideoType.Iso) && !(video is Movie) && !(video is MusicVideo);
var useParent = !video.ResolveArgs.IsDirectory;
if (useParent && video.Parent == null)
{