How to pass the jtv token?
#1
I'd like to watch JustinTV streams in xbmc. The librtmp used in newer nightly supports the needed jtv token, but I can' get it to work with jtv tokens that contain quotation marks and whitespaces.

e.g.

rtmpdump takes this (working):
Code:
rtmpdump -r "rtmp://199.9.255.138/app/jtv_n8ByWNUQRhHSH0uB" -j "b314cedb3281d467b619cf1ae319e8ac4fe753ff:{\"swfDomains\": [\"justin.tv\", \"jtvx.com\", \"xarth.com\", \"twitchtv.com\", \"twitch.tv\",
\"wdtinc.com\", \"imapweather.com\", \"facebook.com\", \"starcrafting.com\"], \
"streamName\": \"jtv_n8ByWNUQRhHSH0uB\", \"expiration\": 1311359065.579859, \"se
rver\": \"lhr01-video6-1\"}" -W "http://www-cdn.justin.tv/widgets/live_frontpage
_player.r894a72efd2e4c274a47075a851f98064bc143954.swf" -o jtv.flv

my approach for xbmc (should work, but doesn't):
Code:
rtmp://199.9.255.138/app playpath=jtv_n8ByWNUQRhHSH0uB swfUrl=http://www-cdn.justin.tv/widgets/live_frontpage
_player.r894a72efd2e4c274a47075a851f98064bc143954.swf jtv="b314cedb3281d467b619cf1ae319e8ac4fe753ff:{\"swfDomains\
": [\"justin.tv\", \"jtvx.com\", \"xarth.com\", \"twitchtv.com\", \"twitch.tv\",
\"wdtinc.com\", \"imapweather.com\", \"facebook.com\", \"starcrafting.com\"], \
"streamName\": \"jtv_n8ByWNUQRhHSH0uB\", \"expiration\": 1311359065.579859, \"se
rver\": \"lhr01-video6-1\"}" swfVfy=1

I don't know if this stream is online at the moment. I just want to show you the syntax I used.

Does anyone know how to do this?
Reply
#2
Did you ever figure this out?

I am still having this problem, have you ever figured out a solution?

EDIT: Looks like according to the JTV plugin it's done like this:

jtv=3ef0c9882b5123a5f15cfcc89f2d3d2c9b49f1e1:{\22swfDomains\22:\20[\22justin.tv\22,\20\22jtvx.com\22,\20\22xarth.com\22,\20\22twitchtv.com\22,\20\22twitch.tv\22,\20\22newjtv.com\22,\20\22jtvnw.net\22,\20\22wdtinc.com\22,\20\22imapweather.com\22,\20\22facebook.com\22,\20\22starcrafting.com\22],\20\22streamName\22:\20\22jtv_rRDmHBC_MttKawpT\22,\20\22expiration\22:\201327639247.9457569,\20\22geo_ip\22:\20\22XXX.XXX.XXX.XXX\22,\20\22server\22:\20\22mia01-video8-1\22}

NOTE: XXX.XXX.XXX.XXX I manually put in because I noticed it has your own IP on it.
Reply

Logout Mark Read Team Forum Stats Members Help
How to pass the jtv token?0