Playing multipart rar over http in different url locations?
#1
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:
Code:
PART1: http://192.168.0.100/video.part1.rar
PART2: http://192.168.0.100/a/video.part2.rar
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:
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
Reply
#2
can't be done.
Reply
#3
Thanks spiff. To bad the stack:// can't handle it or even the playlist.

I wrote a BaseHTTPServer to hand out redirects (302) from fake conforming urls to the original hashed url and start it in autoexec.py. Glad xbmc handles the 302 well.
Reply

Logout Mark Read Team Forum Stats Members Help
Playing multipart rar over http in different url locations?0