mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-19 17:48:03 +00:00
handle non-local images in ClearImages
This commit is contained in:
@@ -362,6 +362,12 @@ namespace MediaBrowser.Providers.Manager
|
||||
|
||||
foreach (var image in item.GetImages(type).ToList())
|
||||
{
|
||||
if (!image.IsLocalFile)
|
||||
{
|
||||
// TODO: Need to get this image removed
|
||||
continue;
|
||||
}
|
||||
|
||||
// Delete the source file
|
||||
var currentFile = new FileInfo(image.Path);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user