aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations
diff options
context:
space:
mode:
authorTim Eisele <Ghost_of_Stone@web.de>2025-09-20 15:20:21 +0200
committerGitHub <noreply@github.com>2025-09-20 07:20:21 -0600
commitb73ea1b99d799deb7cb8a530cc01b98b403ea519 (patch)
treef0771fa8fc1b24556ffd755a9e5066610b43f77b /Emby.Server.Implementations
parent59f77c24c98fc0d28cde8367896226c12418fd8e (diff)
Skip removed images (#14823)
Diffstat (limited to 'Emby.Server.Implementations')
-rw-r--r--Emby.Server.Implementations/Library/LibraryManager.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/Library/LibraryManager.cs b/Emby.Server.Implementations/Library/LibraryManager.cs
index 2e4d1b4c9..a66835dec 100644
--- a/Emby.Server.Implementations/Library/LibraryManager.cs
+++ b/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;
try
{