Merge pull request #1598 from geropan/beta-version

Download landscape artwork from fanart.tv
This commit is contained in:
croneter 2021-09-04 16:46:38 +02:00 committed by GitHub
commit 289266bb81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -542,7 +542,8 @@ ALL_KODI_ARTWORK = (
'clearart',
'clearlogo',
'fanart',
'discart'
'discart',
'landscape'
)
# we need to use a little mapping between fanart.tv arttypes and kodi artttypes
@ -556,7 +557,8 @@ FANART_TV_TO_KODI_TYPE = [
('clearlogo', 'clearlogo'),
('background', 'fanart'),
('showbackground', 'fanart'),
('characterart', 'characterart')
('characterart', 'characterart'),
('thumb', 'landscape')
]
# How many different backgrounds do we want to load from fanart.tv?
MAX_BACKGROUND_COUNT = 10