2016-06-23, 13:45
Hi,
Im trying to make my own playlist addon but im having a problem with stopping the "video" again when i play one
this is the kode im using it is playing the addon and everything but i cant seam to go back to my list and play a new video, it just starts the first video i play when i try stop it.
anyone know what im doing wrong?
*EDIT i can post my whole code if needed just let me know
Im trying to make my own playlist addon but im having a problem with stopping the "video" again when i play one
Code:
def play(url, name):
print '--- Playing "{0}". {1}'.format(url, name)
listitem = xbmcgui.ListItem(path=url, thumbnailImage=iconimage)
listitem.setInfo(type="Video", infoLabels={ "Title": name })
xbmc.Player().play(url, listitem)
this is the kode im using it is playing the addon and everything but i cant seam to go back to my list and play a new video, it just starts the first video i play when i try stop it.
anyone know what im doing wrong?
*EDIT i can post my whole code if needed just let me know