mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-16 02:18:54 -07: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