update channel item images

This commit is contained in:
Luke Pulverenti 2015-11-20 23:53:40 -05:00
parent 057c4b5494
commit 60cd72b974

View File

@ -1286,7 +1286,7 @@ namespace MediaBrowser.Server.Implementations.Channels
item.Path = mediaSource == null ? null : mediaSource.Path; item.Path = mediaSource == null ? null : mediaSource.Path;
} }
if (!string.IsNullOrWhiteSpace(info.ImageUrl)) if (!string.IsNullOrWhiteSpace(info.ImageUrl) && !item.HasImage(ImageType.Primary))
{ {
item.SetImagePath(ImageType.Primary, info.ImageUrl); item.SetImagePath(ImageType.Primary, info.ImageUrl);
} }