diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-05-05 01:48:19 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-05-05 01:48:19 -0400 |
| commit | fc8abe1ac31723350243744cbe9bbe088f4561f9 (patch) | |
| tree | 8dea2a48dcdbdbaea597c8e8b2ae4381934c8778 | |
| parent | f99633613732e0d9f6a390deb434a0b536379b21 (diff) | |
test for empty meta location when saving images
| -rw-r--r-- | MediaBrowser.Api/Images/ImageService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |
