From fc8abe1ac31723350243744cbe9bbe088f4561f9 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 5 May 2013 01:48:19 -0400 Subject: [PATCH] test for empty meta location when saving images --- MediaBrowser.Api/Images/ImageService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MediaBrowser.Api/Images/ImageService.cs b/MediaBrowser.Api/Images/ImageService.cs index 3de5f5dc3..2420aad3f 100644 --- a/MediaBrowser.Api/Images/ImageService.cs +++ b/MediaBrowser.Api/Images/ImageService.cs @@ -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) {