mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
change art_types to a set
This commit is contained in:
parent
7e33194e84
commit
7a905d4ec2
1 changed files with 1 additions and 1 deletions
|
@ -942,7 +942,7 @@ class WriteKodiDB():
|
|||
artwork["discart"] = API().getArtwork(boxset, "Disc")
|
||||
artwork["fanart"] = API().getArtwork(boxset, "Backdrop")
|
||||
|
||||
art_types = {'poster','fanart','landscape','clearlogo','clearart','banner','discart'}
|
||||
art_types = ['poster','fanart','landscape','clearlogo','clearart','banner','discart']
|
||||
for update_type in art_types:
|
||||
if ( update_type in existing_type_map ):
|
||||
if ( existing_type_map[update_type] != artwork[update_type] ) and artwork[update_type] != '':
|
||||
|
|
Loading…
Reference in a new issue