fixes #347 - File Properties in Video file formats override local xml

This commit is contained in:
Luke Pulverenti
2013-06-13 14:45:58 -04:00
parent a2557d7981
commit a4f7eb84cd
9 changed files with 17 additions and 12 deletions

View File

@@ -764,7 +764,7 @@ namespace MediaBrowser.Controller.Entities
return false;
}));
var trailers = LibraryManager.ResolvePaths<Trailer>(files, null).Select(video =>
return LibraryManager.ResolvePaths<Trailer>(files, null).Select(video =>
{
// Try to retrieve it from the db. If we don't find it, use the resolved version
var dbItem = LibraryManager.RetrieveItem(video.Id) as Trailer;
@@ -776,9 +776,8 @@ namespace MediaBrowser.Controller.Entities
}
return video;
}).ToList();
return trailers;
}).ToList();
}
/// <summary>