removed use of libbluray

This commit is contained in:
Luke Pulverenti
2014-03-04 21:59:23 -05:00
parent c567b96e62
commit 040c36dbf2
4 changed files with 19 additions and 18 deletions

View File

@@ -110,10 +110,13 @@ namespace MediaBrowser.Controller.Entities
return System.IO.Path.GetDirectoryName(Path);
}
if (VideoType == VideoType.BluRay || VideoType == VideoType.Dvd ||
VideoType == VideoType.HdDvd)
if (!IsPlaceHolder)
{
return Path;
if (VideoType == VideoType.BluRay || VideoType == VideoType.Dvd ||
VideoType == VideoType.HdDvd)
{
return Path;
}
}
return base.ContainingFolderPath;
@@ -259,10 +262,7 @@ namespace MediaBrowser.Controller.Entities
{
if (!IsInMixedFolder)
{
if (VideoType == VideoType.VideoFile || VideoType == VideoType.Iso)
{
return new[] { System.IO.Path.GetDirectoryName(Path) };
}
return new[] { ContainingFolderPath };
}
return base.GetDeletePaths();