2011-01-05, 11:33
I'm trying to play a multipart rar video where each of the rar's are located at different urls. Ultimately I'm trying to stream multipart rar's from hotfile.com ddl service which uses different hashes per file in the url. I can stream single files from it ok.
Example of the urls where they are different:
Using the below code it produces this log file and just spins "working" till I kill xbmc.bin. I also tried to stack:// the rar:// with the same results:
http://pastebin.com/K8fMEbTq
Code I used with stack://
Am I doing this wrong or maybe it can't even be done?
Thanks
Example of the urls where they are different:
Code:
PART1: http://192.168.0.100/video.part1.rar
PART2: http://192.168.0.100/a/video.part2.rar
http://pastebin.com/K8fMEbTq
Code:
pl=xbmc.PlayList(1)
pl.clear()
listitem = xbmcgui.ListItem('TEST FILE 1',
thumbnailImage='default.tbn')
url = 'rar://http%3A%2F%2F192.168.0.100%2Fvideo.part1.rar/dmd-idiocracy.avi'
xbmc.PlayList(1).add(url, listitem)
listitem = xbmcgui.ListItem('TEST FILE 2',
thumbnailImage='default.tbn')
url = 'rar://http%3A%2F%2F192.168.0.100%2Fa%2Fvideo.part2.rar/dmd-idiocracy.avi'
xbmc.PlayList(1).add(url, listitem)
xbmc.Player().play(pl)
Code I used with stack://
Code:
listitem = xbmcgui.ListItem('TEST FILES',
thumbnailImage='default.tbn')
url = 'stack://rar://http%3A%2F%2F192.168.0.100%2Fvideo.part1.rar/dmd-idiocracy.avi , rar://http%3A%2F%2F192.168.0.100%2Fa%2Fvideo.part2.rar/dmd-idiocracy.avi'
xbmc.PlayList(1).add(url, listitem)
xbmc.Player().play(pl)
Am I doing this wrong or maybe it can't even be done?
Thanks