aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Rector <rmrector@gmail.com>2021-02-14 19:54:04 -0700
committerRyan Rector <rmrector@gmail.com>2021-02-14 21:06:41 -0700
commitab6d1f7fb60da6cfa54fe040bc2d05a13746aaad (patch)
tree6750181ad6a2bbdb56a63924c59367aec422584b
parenta877cc223670d7e4a1b50ea0e558bf2044d62271 (diff)
fix list index from #19185
-rw-r--r--xbmc/interfaces/json-rpc/schema/version.txt2
-rw-r--r--xbmc/video/VideoDatabase.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/xbmc/interfaces/json-rpc/schema/version.txt b/xbmc/interfaces/json-rpc/schema/version.txt
index 0df0e570bd..3621bebdad 100644
--- a/xbmc/interfaces/json-rpc/schema/version.txt
+++ b/xbmc/interfaces/json-rpc/schema/version.txt
@@ -1 +1 @@
-JSONRPC_VERSION 12.2.0
+JSONRPC_VERSION 12.2.1
diff --git a/xbmc/video/VideoDatabase.cpp b/xbmc/video/VideoDatabase.cpp
index 0356c15049..098da33a01 100644
--- a/xbmc/video/VideoDatabase.cpp
+++ b/xbmc/video/VideoDatabase.cpp
@@ -4867,7 +4867,7 @@ std::vector<CScraperUrl::SUrlEntry> GetBasicItemAvailableArt(
if (artType.empty() || artType == "fanart")
{
tag.m_fanart.Unpack();
- for (unsigned int i = 1; i < tag.m_fanart.GetNumFanarts(); i++)
+ for (unsigned int i = 0; i < tag.m_fanart.GetNumFanarts(); i++)
{
CScraperUrl::SUrlEntry url(tag.m_fanart.GetImageURL(i));
url.m_preview = tag.m_fanart.GetPreviewURL(i);