Kodi Community Forum
[RELEASE] Justin.tv (Video) Plugin - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154)
+---- Thread: [RELEASE] Justin.tv (Video) Plugin (/showthread.php?tid=51981)



- biGdada - 2011-10-10

hulkster Wrote:can anyone compile a librtmp.0.dylib for nightly or a librtmp.so for dharma on the atv1 so justin.tv would work with the plugin? Windows version works beautifully with justin.tv but that dylib file from hani wouldn't work for the atv1 at all.

here you go


- hulkster - 2011-10-11

biGdada Wrote:here you go

Thank you so much for the updated file. I get that error 10 and it forces me out of xbmc. I think its the nightly that is buggy but if i put dharma the librtmp.0.dylib is not available. Any idea what i should do? Possible to make a librtmp.so file that has the new justin token for dharma?


- biGdada - 2011-10-11

hulkster Wrote:Thank you so much for the updated file. I get that error 10 and it forces me out of xbmc. I think its the nightly that is buggy but if i put dharma the librtmp.0.dylib is not available. Any idea what i should do? Possible to make a librtmp.so file that has the new justin token for dharma?

log please


- hulkster - 2011-10-11

nvm


xbmc log and crash - hulkster - 2011-10-12

nvm


- mrdally204 - 2011-10-12

future reference. to post log files, copy the text and head over to pastebin.com. much easier for everyone involved (:


new pastebin logs for hulkster - hulkster - 2011-10-12

nvm


- rogerzees - 2011-10-12

Note(1.) if a utoken has the text "previewLength", then the channel haves too many viewers over (500?)and it will close after 1.min.

Note(2.) Popular Game channels dont load if it is directed to akamai servers, like hxxp://www.justin.tv/munchgamer
you can use toine512 https://github.com/downloads/toine512/jtv-downloader/Jtv_downloader-pre2.7z program to found out the rtmp.

copy only the channelname,click and check the params tab, if (-r) looks like:
rtmp://live-cdn.justin.tv/live/akamai4_xxx@xxxxxx it will play.
Save as a game.strm file ex= rtmp://live-cdn.justin.tv/live/akamai4_xxx@xxxxxx live=true

and open with xbmc.


- divingmule - 2011-10-12

@rogerzees, did you add the Pageurl? I don't think I've had anything not play, maybe just luckySmile
Code:
rtmp = connect+token+swf+' Pageurl=http://www.justin.tv/'+channelname



- rogerzees - 2011-10-12

Code:
rtmp = connect+token+swf+' Pageurl=http://www.justin.tv/'+channelname

Thanks so much divingmuleNod,working fine now.Big Grin
(syntax error was the cause for not loading the channels.)


- hulkster - 2011-10-12

nvm


- fouad796 - 2011-10-13

Ok so how to get a .strm from jtv what's the working syntax ?


- ccurrie - 2011-10-15

Is the librtmp fix in the current version of Ubuntu yet? I'm trying to use biGdada's plugin with the fixes described in the thread. Error in XBMC log says "Unknown option jtv":

Code:
14:58:13 T:3078932352 M:1539588096  NOTICE: DVDPlayer: Opening: rtmp://199.9.255.39/app/jtv_cARuYqJ2cgLh40rK jtv=545a3966d5005b3b02c336feaaffc498fdfb1d6d:{\22swfDomains\22:\20[\22justin.tv\22,\20\22jtvx.com\22,\20\22xarth.com\22,\20\22twitchtv.com\22,\20\22twitch.tv\22,\20\22wdtinc.com\22,\20\22imapweather.com\22,\20\22facebook.com\22,\20\22starcrafting.com\22],\20\22streamName\22:\20\22jtv_cARuYqJ2cgLh40rK\22,\20\22expiration\22:\201318712296.432065,\20\22geo_ip\22:\20\2274.194.128.14\22,\20\22server\22:\20\22iad01-video3-1\22} swfUrl=http://www-cdn.justin.tv/widgets/live_frontpage_player.rc7bcc5efc8c827ff50b26bfb1a01c6f5a6cf7756.swf Pageurl=http://www.justin.tv/roxnation11
14:58:13 T:3078932352 M:1539588096 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
14:58:13 T:92711792 M:1539588096  NOTICE: Creating InputStream
14:58:13 T:92711792 M:1538826240   ERROR: Unknown option jtv
14:58:13 T:92711792 M:1538826240   ERROR: Valid RTMP options are:
14:58:13 T:92711792 M:1538826240   ERROR:      socks string   Use the specified SOCKS proxy
14:58:13 T:92711792 M:1538826240   ERROR:        app string   Name of target app on server
14:58:13 T:92711792 M:1538826240   ERROR:      tcUrl string   URL to played stream
14:58:13 T:92711792 M:1538826240   ERROR:    pageUrl string   URL of played media's web page
14:58:13 T:92711792 M:1538826240   ERROR:     swfUrl string   URL to player SWF file
14:58:13 T:92711792 M:1538826240   ERROR:   flashver string   Flash version string (default LNX 10,0,32,18)
14:58:13 T:92711792 M:1538826240   ERROR:       conn AMF      Append arbitrary AMF data to Connect message
14:58:13 T:92711792 M:1538826240   ERROR:   playpath string   Path to target media on server
14:58:13 T:92711792 M:1538826240   ERROR:   playlist boolean  Set playlist before play command
14:58:13 T:92711792 M:1538826240   ERROR:       live boolean  Stream is live, no seeking possible
14:58:13 T:92711792 M:1538826240   ERROR:  subscribe string   Stream to subscribe to
14:58:13 T:92711792 M:1538826240   ERROR:      token string   Key for SecureToken response
14:58:13 T:92711792 M:1538826240   ERROR:     swfVfy boolean  Perform SWF Verification
14:58:13 T:92711792 M:1538826240   ERROR:     swfAge integer  Number of days to use cached SWF hash
14:58:13 T:92711792 M:1538826240   ERROR:      start integer  Stream start position in milliseconds
14:58:13 T:92711792 M:1538826240   ERROR:       stop integer  Stream stop position in milliseconds
14:58:13 T:92711792 M:1538826240   ERROR:     buffer integer  Buffer time in milliseconds
14:58:13 T:92711792 M:1538826240   ERROR:    timeout integer  Session timeout in seconds

Or will we have to wait for XBMC to update due to it being statically-linked to librtmp, or something like that?

TIA


- divingmule - 2011-10-16

ccurrie Wrote:Is the librtmp fix in the current version of Ubuntu yet? I'm trying to use biGdada's plugin with the fixes described in the thread. Error in XBMC log says "Unknown option jtv":

Or will we have to wait for XBMC to update due to it being statically-linked to librtmp, or something like that?

TIA

Yeah, you need to update. This is what worked for me YMMV. Open a terminal an enter these commands one at a time.
Code:
git clone git://git.ffmpeg.org/rtmpdump
cd rtmpdump
make
sudo make install



- rogerzees - 2011-10-16

Hello,Divingmule .

You have this Great Pipes-plugin that loads the pics of the jtvchannels that are live right now.

Can it be re-coded to a brandnew plugin, instead of using the (def startFirefox(url):) code when playing.
it uses the code from bigdadas plugin :(def playVideo(url,): code somehow?

'pipes play output=html? filter out channel name,give it to bigdadas code snippet(def playVideo(url,) and play?'

this is the big +++:no account needed and allways a live list of live channels.