Merge pull request #1604 from croneter/py3-artwork

Download landscape artwork from fanart.tv, thanks @geropan
This commit is contained in:
croneter 2021-09-03 22:30:56 +02:00 committed by GitHub
commit 310e829138
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -514,7 +514,8 @@ ALL_KODI_ARTWORK = (
'clearart',
'clearlogo',
'fanart',
'discart'
'discart',
'landscape'
)
# we need to use a little mapping between fanart.tv arttypes and kodi artttypes
@ -528,7 +529,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