2016-02-22, 12:27
Absolutly! It was already my intention to put a setting in order to remove them.
(2016-02-22, 00:33)boggiano Wrote: Can I suggest you to strip out the 0 episode shows ?
Code:if episodes != '0':
title = Util.getTranslation(30009).format(show = show['title'], number = episodes)
img = show['image_data']
li = Util.createListItem(title, thumbnailImage = self._getImage(img), streamtype = 'video', infolabels = { 'title' : title, 'plot' : show['description'] })
xbmcplugin.addDirectoryItem(self._handle, Util.formatUrl({ 'action' : 's', 'showid' : show['id'] }), li, True)