Kodi Community Forum
Xbmc web play file - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: Xbmc web play file (/showthread.php?tid=54940)



Xbmc web play file - Veda - 2009-07-19

I tried the following url:
http://192.168.1.25/xbmcCmds/xbmcHttp?command=playfile&parameter=http://v13.lscache8.googlevideo.com/videoplayback?id=f0d65faa3a6fceda&itag=5&begin=0&ip=0.0.0.0&ipbits=0&expire=1247975994&sparams=ip,ipbits,expire,id,itag&signature=7806FF36138C5FE5F799072E8F8EA7D0632285CA.14E041358A435B5091E04D5BD63771DC53B5CC79&key=ck1

This gave me the message "Error:Could not play file" but when i put the url to the file in a .m3u file, it plays perfectly.

What am i doing wrong with the url?

I also tried this:
http://v13.lscache8.googlevideo.com/videoplayback?id=f0d65faa3a6fceda&itag=5&begin=0&ip=0.0.0.0&ipbits=0&expire=1247975994&sparams=ip,ipbits,expire,id,itag&signature=7806FF36138C5FE5F799072E8F8EA7D0632285CA.14E041358A435B5091E04D5BD63771DC53B5CC79&key=ck1

(here i htmlencoded the url).


- Silverxxx - 2009-07-19

I'm pretty sure it is because googlevids do not like their streams to be playable outside a web browser, so it is not easy to find the right url for them. If i remember correctly, the second url is the right one, but requires the & to be replaced with guess what, actual ampsands (&). I am surprised you got the first one to play in a m3u file, i wish I could test it but my provider is playing up.


- Veda - 2009-07-19

http://192.168.1.25/xbmcCmds/xbmcHttp?command=playfile&parameter=http%3A%2F%2Fv13.lscache8.googlevideo.com%2Fvideoplayback%3Fid%3Df0d65faa3a6fceda%26itag%3D5%26begin%3D0%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1248025236%26sparams%3Dip%2Cipbits%2Cexpire%2Cid%2Citag%26signature%3D0E0EDA5570390AF5B1BBAAE68B013623B43F7052.48883B2525F5C167A69A65D0C69AA80EFE21301A%26key%3Dck1&rand=18916350

I found a working way now...
The first time I used the htmlencode from some site i found with google, but this time, i made a script in php myself to do the work. This gave me a another (but working) result of the url. As you can see the url is now made not with & but with %3D characters. This works fine Smile.

To see the result (what i have done with it) go to http://sendtoxbmc.vedelaar.nl/ Smile
The above url is with the following video (the url works only 5 minutes or something:
http://video.google.nl/videoplay?docid=5965019345982117231&ei=_wVjSp-kIpPt-AbxwKkg&q=the+music+box&hl=nl&client=opera

Thanks for helping me out!