mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-04 06:48:35 +01:00
fixes #347 - File Properties in Video file formats override local xml
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user