2023-12-31, 01:34
Hi,
I'm creating a list of playable items, but I don't want Kodi to consider them as a playlist.
Since when one item finishes playing, it immediately starts playing the next item in the list, and I'm not interested in such behavior.
I want when an item finishes playing to return to the list.
This is how I creating the list items:
I'm creating a list of playable items, but I don't want Kodi to consider them as a playlist.
Since when one item finishes playing, it immediately starts playing the next item in the list, and I'm not interested in such behavior.
I want when an item finishes playing to return to the list.
This is how I creating the list items:
python:try:
liz = xbmcgui.ListItem(label = name, label2 = name)
liz.setArt({'thumb' : iconimage, 'poster': iconimage, 'fanart': iconimage, 'icon': iconimage})
except:
liz = xbmcgui.ListItem(label = name, label2 = name, thumbnailImage = iconimage, iconImage = iconimage)
liz.setInfo(type="Video", infoLabels=video_info)
liz.setProperty("IsPlayable","true")
xbmcplugin.addDirectoryItem(handle=int(sys.argv[1]), url=_url, listitem=liz, isFolder=False)