mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-05 21:37:10 -04:00
test for empty meta location when saving images
This commit is contained in:
parent
f996336137
commit
fc8abe1ac3
@ -754,7 +754,7 @@ namespace MediaBrowser.Api.Images
|
||||
}
|
||||
|
||||
// Don't save locally if there's no parent (special feature, trailer, etc)
|
||||
var saveLocally = !(entity is Audio) && entity.Parent != null;
|
||||
var saveLocally = !(entity is Audio) && entity.Parent != null && !string.IsNullOrEmpty(entity.MetaLocation);
|
||||
|
||||
if (imageType != ImageType.Primary)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user