Forráskód Böngészése

Skip removed images (#14823)

Tim Eisele 6 napja
szülő
commit
b73ea1b99d

+ 6 - 0
Emby.Server.Implementations/Library/LibraryManager.cs

@@ -2032,6 +2032,12 @@ namespace Emby.Server.Implementations.Library
                     }
                     }
                 }
                 }
 
 
+                if (!File.Exists(image.Path))
+                {
+                    _logger.LogWarning("Image not found at {ImagePath}", image.Path);
+                    continue;
+                }
+
                 ImageDimensions size;
                 ImageDimensions size;
                 try
                 try
                 {
                 {