Remove obsolete method

This commit is contained in:
croneter 2019-03-29 14:43:32 +01:00
parent 029123334b
commit 88cc4e220c

View file

@ -1928,13 +1928,3 @@ class API(object):
# Kodi cannot locate the file #s. Please verify your PKC settings. Stop # Kodi cannot locate the file #s. Please verify your PKC settings. Stop
# syncing? # syncing?
return utils.yesno_dialog(utils.lang(29999), utils.lang(39031) % url) return utils.yesno_dialog(utils.lang(29999), utils.lang(39031) % url)
@staticmethod
def _set_listitem_artprop(listitem, arttype, path):
if arttype in (
'thumb', 'fanart_image', 'small_poster', 'tiny_poster',
'medium_landscape', 'medium_poster', 'small_fanartimage',
'medium_fanartimage', 'fanart_noindicators'):
listitem.setProperty(arttype, path)
else:
listitem.setArt({arttype: path})