2021-10-22, 14:31
How do i know when the user hit resume from or play from beginning option, and how do i get the resume point, when i call the play function?
python:
def PlayUrl(name, url):
url = common.getFinalUrl(url)
#xbmc.log('--- Playing "{0}". {1}'.format(name, url), 2)
listitem = xbmcgui.ListItem(path=url)
xbmcplugin.setResolvedUrl(int(sys.argv[1]), True, listitem)