mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -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)
|
// 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)
|
if (imageType != ImageType.Primary)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user