Jumpy: Jump into Python (and onto XBMC) Updated 22 Sep 2012

Discuss third party additions, plugins and translations for PS3 Media Server

Re: PMS-Jumpy - Jump into Python (and onto XBMC)

Postby infidel » Tue Jan 24, 2012 4:10 pm

Apologies for the delay, I'm away on a trip.

@tmknight: ESPN3 from the bluecop repo works fine for me both on linux and win32. Two things I noticed with reference to it working in xbmc but not in jumpy:
  • make sure the subfolder userdata/addon_data/plugin.video.espn3/ exists under your xbmc user folder, otherwise you'll get a 'no such directory' error and the addon will bail out.
  • check pmsencoder.log to make sure the built-in 'rtmpdump://' psuedo-protocol isn't being overridden. I know you've already done this but I mention it here just to be complete.

@glenrocks: I'll post my own patched win32 build of rtmpdump for you to try when I get back on Thursday.
infidel
 
Posts: 278
Joined: Sun Aug 15, 2010 4:56 pm

Re: PMS-Jumpy - Jump into Python (and onto XBMC)

Postby glenrocks » Thu Jan 26, 2012 2:37 am

Sure..no worries 'n thanks IN...enjoy your trip!!
glenrocks
 
Posts: 89
Joined: Sun Aug 21, 2011 5:06 pm

Re: PMS-Jumpy - Jump into Python (and onto XBMC)

Postby infidel » Thu Jan 26, 2012 8:47 pm

Here's a win32 build of the current rtmpdump source with the SWFVerification Type 2 patch applied.
Attachments
rtmpdump-win32-swfv_type2_patched.zip
(163.85 KiB) Downloaded 29 times
infidel
 
Posts: 278
Joined: Sun Aug 15, 2010 4:56 pm

Re: PMS-Jumpy - Jump into Python (and onto XBMC)

Postby glenrocks » Sat Jan 28, 2012 4:58 am

Thanks IN. I tried couple of plugins and they work great.

Problem plugin:
1) Hulu: Unfortunately, I am getting strange new error now.. ImportError: No module named xbmcvfs...Any clues? I may have upgraded Hulu plugin (now 3.1.5) or updated XBMC library as it worked last time.

2)Espn: Its erroring out too.. xml.parsers.expat.ExpatError: not well-formed (invalid token): line 13, column 27

Path of XBMC seems okay but not sure what changed on XBMC Eden..:| Both Plugins do work on XBMC though...Let me attach jumpy debug too.

Thanks in advance..hav a good weekend.
glenrocks
 
Posts: 89
Joined: Sun Aug 21, 2011 5:06 pm

Re: PMS-Jumpy - Jump into Python (and onto XBMC)

Postby glenrocks » Sat Jan 28, 2012 5:10 am

Let me attach jumpy debug too
Last edited by glenrocks on Wed Feb 22, 2012 12:29 am, edited 1 time in total.
glenrocks
 
Posts: 89
Joined: Sun Aug 21, 2011 5:06 pm

Re: PMS-Jumpy - Jump into Python (and onto XBMC)

Postby tmknight » Sat Jan 28, 2012 7:23 pm

infidel wrote:Apologies for the delay, I'm away on a trip.

@tmknight: ESPN3 from the bluecop repo works fine for me both on linux and win32. Two things I noticed with reference to it working in xbmc but not in jumpy:
  • make sure the subfolder userdata/addon_data/plugin.video.espn3/ exists under your xbmc user folder, otherwise you'll get a 'no such directory' error and the addon will bail out.
  • check pmsencoder.log to make sure the built-in 'rtmpdump://' psuedo-protocol isn't being overridden. I know you've already done this but I mention it here just to be complete.

Thanks, Infidel, I have the espn3 folder is in the correct place and am able to browse content and am presented with "item" to play. It begins to load, but then quits without any output on TV (no errors). jumpy.log and debug.log attached for attempt to play "Maria Sharapova vs. Victoria Azarenka (Women's Final)" under 10 day replay (ALL) [randomly selected that stream, but confirmed this plays on web browser and in XBMC].

Any thoughts would be appreciated; HULU is working great!

Cheers!
Attachments
espn.logs.zip
(9.58 KiB) Downloaded 21 times
Last edited by tmknight on Sun Jan 29, 2012 2:45 pm, edited 1 time in total.
SubJunk Build or Custom from SVN (depends on my mood)
Xubuntu x64 (3.2)
AMD 64 X2 4800+ [OC 2.8GHz]
4GB DDR2
JRE 6 u[latest]
Sony KDL-40W5100
tmknight
 
Posts: 43
Joined: Fri Jan 08, 2010 5:18 pm

Re: PMS-Jumpy - Jump into Python (and onto XBMC)

Postby glenrocks » Sun Jan 29, 2012 9:32 am

FYI, Hulu plugin got fixed with the latest update from Bluecop. One down, ESPN to go...same expatError as in attached jumpy log earlier!
Enjoy Tennis..Nadal better wins..:)
glenrocks
 
Posts: 89
Joined: Sun Aug 21, 2011 5:06 pm

ESPN: PMS-Jumpy - Jump into Python (and onto XBMC)

Postby tmknight » Sun Jan 29, 2012 5:41 pm

Is it possible there is an XBMC config that needs to be changed? I'm using the default settings - maybe Infidel you have changed something there?
SubJunk Build or Custom from SVN (depends on my mood)
Xubuntu x64 (3.2)
AMD 64 X2 4800+ [OC 2.8GHz]
4GB DDR2
JRE 6 u[latest]
Sony KDL-40W5100
tmknight
 
Posts: 43
Joined: Fri Jan 08, 2010 5:18 pm

Re: PMS-Jumpy - Jump into Python (and onto XBMC)

Postby infidel » Sun Jan 29, 2012 6:29 pm

glenrocks wrote:not sure what changed on XBMC Eden..:|
glenrocks wrote:One down, ESPN to go...same expatError

This is probably an incompatibility error, since I haven't made the adjustments for the Eden (v11) API changes yet. I don't get this error on Dharma (v10), so for the moment try reverting xbmc (...and thank you for your patience :)).


tmknight wrote:jumpy.log and debug.log attached for attempt to play "Maria Sharapova vs. Victoria Azarenka (Women's Final)"

Logs show that rtmpdump is failing (this same stream plays fine on my linux setup). Were you successful in patching/building current rtmpdump from git? If not this may help:

Code: Select all
# install ssl headers
sudo apt-get install libssl-dev
# build for linux
make SYS=posix

btw, jumpy.log includes a 'test cmd' for every rtmp link:
test cmd: rtmpdump -r "rtmp://cp88998.edgefcs.net/ondemand/?auth=da.c...
which you can paste into a terminal to test your rtmpdump. If it's working the stream will dump into the terminal and you can ctrl-c to bail out (or you pipe the stream to mplayer by adding 'I mplayer -' to the end of the command). Keep in mind that each ESPN url seems to be good for one try only, so don't press the 'Item' link on the xmb before opening up jumpy.log and copying the test cmd). If you want to see detailed debug info add '-z' to the rtmpdump command. HTH :).
infidel
 
Posts: 278
Joined: Sun Aug 15, 2010 4:56 pm

Re: PMS-Jumpy - Jump into Python (and onto XBMC)

Postby tmknight » Sun Jan 29, 2012 7:29 pm

infidel wrote:Logs show that rtmpdump is failing (this same stream plays fine on my linux setup). Were you successful in patching/building current rtmpdump from git? If not this may help:
Code: Select all
# install ssl headers
sudo apt-get install libssl-dev
# build for linux
make SYS=posix

btw, jumpy.log includes a 'test cmd' for every rtmp link:
test cmd: rtmpdump -r "rtmp://cp88998.edgefcs.net/ondemand/?auth=da.c...
which you can paste into a terminal to test your rtmpdump. If it's working the stream will dump into the terminal and you can ctrl-c to bail out (or you pipe the stream to mplayer by adding 'I mplayer -' to the end of the command). Keep in mind that each ESPN url seems to be good for one try only, so don't press the 'Item' link on the xmb before opening up jumpy.log and copying the test cmd). If you want to see detailed debug info add '-z' to the rtmpdump command. HTH :).

Thanks, I did patch rtmpdump. The test results in:
Code: Select all
rtmpdump -r "rtmp://cp88998.edgefcs.net/ondemand/?auth=da.cgaqcmbia9cBcwcFdibldtdic5cCbHbi-bpjcSp-O-8xzpyKLCr-qalgk5sTl7t5sUrSs9narhp2pdlcr3kcqdl5k9rbk6sdrb&aifp=v0001&slist=88998/espn/2012/01/27/176-16975/web-encodes/361447_espn3&ct5=28-Jan-12&ct6=66.56.15.54&ct7=20075019:FMS_CLOUD&ct8=39&ct1=espn_us&ct3=comcast:&ct4=espn_us" -y "mp4:88998/espn/2012/01/27/176-16975/web-encodes/361447_espn3_1800k/361447_espn3_1800k.mp4"
RTMPDump v2.4 4e06e21~git
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: You haven't specified an output file (-o filename), using stdout
Connecting ...
INFO: Connected...
ERROR: rtmp server sent error
ERROR: rtmp server requested close
No improvement if I specify -o /var/tmp/espn.mpg

I'm also using Eden, think this may have something to do with it? Will try again with stable version.

Cheers!
SubJunk Build or Custom from SVN (depends on my mood)
Xubuntu x64 (3.2)
AMD 64 X2 4800+ [OC 2.8GHz]
4GB DDR2
JRE 6 u[latest]
Sony KDL-40W5100
tmknight
 
Posts: 43
Joined: Fri Jan 08, 2010 5:18 pm

PreviousNext

Return to Additions and Plugins

Who is online

Users browsing this forum: No registered users and 6 guests