mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-28 13:21:19 +00:00
handle non-local images in ClearImages
This commit is contained in:
parent
cdea2e0e74
commit
6b124fc736
1 changed files with 6 additions and 0 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue