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

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (/forumdisplay.php?fid=154)
+---- Thread: [RELEASE] Justin.tv (Video) Plugin (/showthread.php?tid=51981)



- bakito - 2011-10-07 06:56

works great thanks a lot for your work!!!
do you think that we could pass the "adult content" validation someday?

cheers


- activate - 2011-10-07 07:21

Guys, keen to try this out. Can someone pls let me know if and where librtmp2.4 file sit in the justin plugin. Thanks.


- biGdada - 2011-10-07 08:19

activate Wrote:Guys, keen to try this out. Can someone pls let me know if and where librtmp2.4 file sit in the justin plugin. Thanks.

what system ?
on win32 it is included in the latest nighties,
on atv2 you have to dl from link hani provided and put it in /Applications/XBMC.frappliance/Frameworks on your atv2 (replacing the old one)


- activate - 2011-10-07 08:57

Sorry dude, yes it is the atv2, running nightly xbmc-20111003-31113d1-master-atv2.deb. Done the username and replaced the librtmp as suggested. The list is blank though i.e. no entries when the add-on is executed.

Code:
17:39:39 T:129298432   DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.justin.tv)
17:39:39 T:139481088   DEBUG: StartScript - calling plugin justin.tv('plugin://plugin.video.justin.tv/','0','')
17:39:39 T:139481088   DEBUG: WaitOnScriptResult - waiting on the justin.tv plugin...
17:39:40 T:149540864   DEBUG: Process - The source file to load is /var/mobile/Library/Preferences/XBMC/addons/plugin.video.justin.tv/default.py
17:39:40 T:149540864   DEBUG: Process - Setting the Python path to /var/mobile/Library/Preferences/XBMC/addons/plugin.video.justin.tv:/var/mobile/Library/Preferences/XBMC/addons/script.module.cryptopy/lib:/var/mobile/Library/Preferences/XBMC/addons/script.module.demjson/lib:/var/mobile/Library/Preferences/XBMC/addons/script.module.simplejson/lib:/var/mobile/Library/Preferences/XBMC/addons/script.module.beautifulsoup/lib:/Applications/XBMC.frappliance/XBMCData/XBMCHome/addons/script.module.pil/lib:/var/mobile/Library/Preferences/XBMC/addons/script.module.mechanize/lib:/var/mobile/Library/Preferences/XBMC/addons/script.module.elementtree/lib:/Applications/XBMC.frappliance/XBMCData/XBMCHome/addons/script.module.pysqlite/lib:/Applications/XBMC.frappliance/Frameworks:/Applications/XBMC.frappliance/Frameworks/lib/python26.zip:/Applications/XBMC.frappliance/Frameworks/lib/python2.6:/Applications/XBMC.frappliance/Frameworks/lib/python2.6/plat-darwin:/Applications/XBMC.frappliance/Frameworks/lib/python2.6/plat-mac:/Applications/XBMC.frappliance/Frameworks/lib/python2.6/plat-mac/lib-scriptpackages:/Applications/XBMC.frappliance/Frameworks/lib/python2.6/lib-tk:/Applications/XBMC.frappliance/Frameworks/lib/python2.6/lib-old:/Applications/XBMC.frappliance/Frameworks/lib/python2.6/lib-dynload:/Applications/XBMC.frappliance/Frameworks/lib/python2.6/site-packages:
17:39:40 T:149540864   DEBUG: Process - Entering source directory /var/mobile/Library/Preferences/XBMC/addons/plugin.video.justin.tv
17:39:40 T:149540864   DEBUG: Instantiating addon using automatically obtained id of "plugin.video.justin.tv" dependent on version 1.0 of the xbmc.python api
17:39:43 T:149540864   ERROR: /var/mobile/Library/Preferences/XBMC/addons/plugin.video.justin.tv/default.py:10: DeprecationWarning: os.getcwd() currently lies to you so please use addon.getAddonInfo('path') to find the script's root directory and DO NOT make relative path accesses based on the results of 'os.getcwd.'

I know you didn't want the hassle of support so no dramas. I'll muck around with it since others have reported it working.


- fouad796 - 2011-10-07 11:16

biGdada Wrote:you have to follow channels.... all the LIVE channels that you are following will be displayed there

i get the channels displayed on xbmc but none is working it says playback failed and all these channels plays good on the jtv website they r all live channels any help ?


- rogerzees - 2011-10-07 13:31

to try the biGdada plugin without creating a account

uname=xchannels


- biGdada - 2011-10-07 20:07

bakito Wrote:works great thanks a lot for your work!!!
do you think that we could pass the "adult content" validation someday?

cheers

give me an example of a channel, i'll see what i can do


- rogerzees - 2011-10-07 21:44

For windows users new librtmp: (read the Changes)
http://stream-recorder.com/forum/can-download-latest-version-rtmpdump-source-binaries-t5533p3.html


- divingmule - 2011-10-07 22:47

Hey biGdada, you need to change the token to
Code:
token = ' jtv='+soup.token.string.replace('\\','\\5c').replace('"','\\22').replace(' ','\\20')
and add Pageurl
Code:
Pageurl = ' Pageurl=http://www.justin.tv/'+channelname
Smile


- rogerzees - 2011-10-08 00:40

Thank you divingmule for stepping in and solving bugsNod