Download landscape artwork from fanart.tv

This commit is contained in:
Antonio Martin 2021-08-25 18:17:04 +01:00
parent e049f37da9
commit 7602f02bcd

View file

@ -542,7 +542,8 @@ ALL_KODI_ARTWORK = (
'clearart', 'clearart',
'clearlogo', 'clearlogo',
'fanart', 'fanart',
'discart' 'discart',
'landscape'
) )
# we need to use a little mapping between fanart.tv arttypes and kodi artttypes # 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'), ('clearlogo', 'clearlogo'),
('background', 'fanart'), ('background', 'fanart'),
('showbackground', 'fanart'), ('showbackground', 'fanart'),
('characterart', 'characterart') ('characterart', 'characterart'),
('moviethumb', 'landscape')
] ]
# How many different backgrounds do we want to load from fanart.tv? # How many different backgrounds do we want to load from fanart.tv?
MAX_BACKGROUND_COUNT = 10 MAX_BACKGROUND_COUNT = 10