test for empty meta location when saving images

pull/702/head
Luke Pulverenti 12 years ago
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…
Cancel
Save