Code optimization

This commit is contained in:
Croneter 2018-03-20 09:16:29 +01:00
parent 88cece3066
commit f25eccb22c

View file

@ -1313,8 +1313,7 @@ class API(object):
append_show_title, append_show_title,
append_sxxexx) append_sxxexx)
self.add_video_streams(listitem) self.add_video_streams(listitem)
artwork = self.artwork() listitem.setArt(self.artwork())
listitem.setArt(artwork)
return listitem return listitem
def _create_photo_listitem(self, listitem=None): def _create_photo_listitem(self, listitem=None):