diff options
author | a1rwulf <a1rwulf@users.noreply.github.com> | 2019-04-18 21:48:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-18 21:48:42 +0200 |
commit | c153c61e7bda250337f9ecfbb01d8801e881d0c8 (patch) | |
tree | ae1a6fbab2488f9dd2afa72b00dc73bbeec8da75 | |
parent | 396b9d033d657d78519a5f63b615241870b84da8 (diff) | |
parent | d93d64dd5f6d939d215a023a55f4bc71662bb3e7 (diff) |
Merge pull request #15926 from AkariDN/getartwork18
[VideoInfoScanner] don't call CVideoInfoDownloader::GetArtwork if plugin is used as a video source
-rw-r--r-- | xbmc/video/VideoInfoScanner.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/xbmc/video/VideoInfoScanner.cpp b/xbmc/video/VideoInfoScanner.cpp index b58963480e..9014dee076 100644 --- a/xbmc/video/VideoInfoScanner.cpp +++ b/xbmc/video/VideoInfoScanner.cpp @@ -812,8 +812,11 @@ namespace VIDEO if (updateSeasonArt) { - CVideoInfoDownloader loader(scraper); - loader.GetArtwork(showInfo); + if (!item->IsPlugin() || scraper->ID() != "metadata.local") + { + CVideoInfoDownloader loader(scraper); + loader.GetArtwork(showInfo); + } GetSeasonThumbs(showInfo, seasonArt, CVideoThumbLoader::GetArtTypes(MediaTypeSeason), useLocal && !item->IsPlugin()); for (std::map<int, std::map<std::string, std::string> >::const_iterator i = seasonArt.begin(); i != seasonArt.end(); ++i) { |