mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-07 00:36:13 +00:00
Update deprecated kodi api functions
This commit is contained in:
parent
d79b5077ae
commit
a9793eb1c9
5 changed files with 32 additions and 23 deletions
|
@ -61,10 +61,7 @@ class UsersConnect(xbmcgui.WindowXMLDialog):
|
|||
|
||||
item = xbmcgui.ListItem(label)
|
||||
item.setProperty('id', user_id)
|
||||
if self.kodi_version > 15:
|
||||
item.setArt({'Icon': user_image})
|
||||
else:
|
||||
item.setIconImage(user_image)
|
||||
item.setArt({'icon': user_image})
|
||||
|
||||
return item
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue