mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-27 01:50:53 +01:00
don't save metadata when video content type is unset
This commit is contained in:
@@ -1577,6 +1577,11 @@ namespace MediaBrowser.Controller.Entities
|
||||
|
||||
foreach (var newImage in images)
|
||||
{
|
||||
if (newImage == null)
|
||||
{
|
||||
throw new ArgumentException("null image found in list");
|
||||
}
|
||||
|
||||
var existing = existingImages
|
||||
.FirstOrDefault(i => string.Equals(i.Path, newImage.FullName, StringComparison.OrdinalIgnoreCase));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user