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