add MediaInfo to improve media analysis for video files

This commit is contained in:
Luke Pulverenti
2014-09-20 11:48:23 -04:00
parent ab207209b8
commit f6769b73f2
57 changed files with 797 additions and 264 deletions

View File

@@ -1008,7 +1008,7 @@ namespace MediaBrowser.Api.UserLibrary
items = items.Where(i =>
{
var movie = i as Movie;
var movie = i as IHasSpecialFeatures;
if (movie != null)
{
@@ -1017,15 +1017,6 @@ namespace MediaBrowser.Api.UserLibrary
: movie.SpecialFeatureIds.Count == 0;
}
var series = i as Series;
if (series != null)
{
return filterValue
? series.SpecialFeatureIds.Count > 0
: series.SpecialFeatureIds.Count == 0;
}
return false;
});
}