mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-21 08:15:28 +03: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