Merge pull request #1598 from geropan/beta-version
Download landscape artwork from fanart.tv
This commit is contained in:
commit
289266bb81
1 changed files with 4 additions and 2 deletions
|
@ -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'),
|
||||||
|
('thumb', '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
|
||||||
|
|
Loading…
Reference in a new issue