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 SharkHunter » Tue Nov 15, 2011 8:29 am

Sharks are predators and hard to keep under control. So one shark ate the HelloWorld example. Simply add addons with XMBC and it will work...
SharkHunter
 
Posts: 941
Joined: Tue Jun 01, 2010 8:39 pm

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

Postby infidel » Tue Nov 15, 2011 2:51 pm

SharkHunter wrote:Sharks are predators and hard to keep under control

but they don't mess with pythons apparently :).
infidel
 
Posts: 278
Joined: Sun Aug 15, 2010 4:56 pm

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

Postby SharkHunter » Tue Nov 15, 2011 3:07 pm

infidel wrote:
SharkHunter wrote:Sharks are predators and hard to keep under control

but they don't mess with pythons apparently :).


Nope they have very good taste when it comes to humor. :)
SharkHunter
 
Posts: 941
Joined: Tue Jun 01, 2010 8:39 pm

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

Postby SharkHunter » Tue Nov 15, 2011 3:07 pm

infidel wrote:
SharkHunter wrote:Sharks are predators and hard to keep under control

but they don't mess with pythons apparently :).


Nope they have very good taste when it comes to humor. :)
SharkHunter
 
Posts: 941
Joined: Tue Jun 01, 2010 8:39 pm

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

Postby Hackashaq » Tue Nov 15, 2011 11:04 pm

SharkHunter wrote:Sharks are predators and hard to keep under control. So one shark ate the HelloWorld example. Simply add addons with XMBC and it will work...


Funny!
Hmmmm, but sure I understand how to get Jumpy working within SHB30.
I have XBMC working with many addons on the same pc as SHB30.
Do I need to copy anything to the jumpy folder from XBMC?
Or, are the addons supposed to appear in jumpy automatically?

Thanks again!
Hackashaq
 
Posts: 15
Joined: Mon Apr 20, 2009 6:16 pm

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

Postby Hackashaq » Tue Nov 15, 2011 11:07 pm

infidel wrote:Hi Hackashaq. Have you added 'python.path' to your PMS.conf? In SHB30 python is located in the 'extras' subfolder.


Hi Infidel, thanks for the suggestion.
However, it appears that the SHB30 build adds the path correctly to PMS.conf.
Hackashaq
 
Posts: 15
Joined: Mon Apr 20, 2009 6:16 pm

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

Postby infidel » Wed Nov 16, 2011 12:16 am

Hackashaq wrote:the SHB30 build adds the path correctly to PMS.conf

Have a look inside plugins\jumpy\jumpy.log. It could be a network permission problem with the py4j socket, or maybe your xbmc user folder wasn't found (it should be at '%appdata%\XBMC', i.e. normally 'c:\Users\yourname\AppData\Roaming\XBMC' on win7). Try placing 'helloworld.py' from pms-jumpy-0.1.zip in your plugins/jumpy folder and see if that shows up.
infidel
 
Posts: 278
Joined: Sun Aug 15, 2010 4:56 pm

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

Postby Hackashaq » Wed Nov 16, 2011 2:02 am

infidel wrote:
Hackashaq wrote:the SHB30 build adds the path correctly to PMS.conf

Have a look inside plugins\jumpy\jumpy.log. It could be a network permission problem with the py4j socket, or maybe your xbmc user folder wasn't found (it should be at '%appdata%\XBMC', i.e. normally 'c:\Users\yourname\AppData\Roaming\XBMC' on win7). Try placing 'helloworld.py' from pms-jumpy-0.1.zip in your plugins/jumpy folder and see if that shows up.


Thanks Infidel, I've added the helloworld.py to the jumpy folder, but it's not showing up on any of my renderers (Ps3, XBMC, IPAD)
Looking at the jumpy.log, I decided to open this port in my router: 192.168.1.4:25333, but no luck so far.
How do I open the py4j socket?

Here's the jumpy.log

Code: Select all
[jumpy] initializing jumpy 0.1
[jumpy] home=C:\Program Files (x86)\PS3MediaServer-SHB\plugins\jumpy\
[jumpy] python=C:\Program Files (x86)\PS3MediaServer-SHB\extras\Python27\python.exe
[jumpy] pypath=C:\Program Files (x86)\PS3MediaServer-SHB\plugins\jumpy\lib
[jumpy] adding root folder.
[jumpy] Found 2 scripts.

[jumpy] loading helloworld.py.

Running [C:\Program Files (x86)\PS3MediaServer-SHB\extras\Python27\python.exe, C:\Program Files (x86)\PS3MediaServer-SHB\plugins\jumpy\helloworld.py]
PYTHONPATH=C:\Program Files (x86)\PS3MediaServer-SHB\plugins\jumpy\lib;
JGATEWAY=192.168.1.4:25333

[jumpy] loading xbmc.py.

Running [C:\Program Files (x86)\PS3MediaServer-SHB\extras\Python27\python.exe, C:\Program Files (x86)\PS3MediaServer-SHB\plugins\jumpy\xbmc.py]
PYTHONPATH=C:\Program Files (x86)\PS3MediaServer-SHB\plugins\jumpy\lib;;
JGATEWAY=192.168.1.4:25333
Hackashaq
 
Posts: 15
Joined: Mon Apr 20, 2009 6:16 pm

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

Postby infidel » Wed Nov 16, 2011 2:12 am

Hackashaq, I installed SHB30 also to see if I could replicate the problem. It seems there's something weird going on between subsonic and jumpy. When jumpy tries to open up xbmc.py I get an NPE in debug.log:
Code: Select all
[New I/O server worker #1-8] INFO  19:58:36.543 jumpy: adding root folder.
[New I/O server worker #1-8] INFO  19:58:36.544 jumpy: Found 1 scripts.
[New I/O server worker #1-8] INFO  19:58:36.545 jumpy: loading xbmc.py.
[New I/O server worker #1-8] INFO  19:58:36.773 java.lang.NullPointerException
[New I/O server worker #1-8] INFO  19:58:36.773    at net.pms.dlna.RootFolder.getAdditionalFoldersAtRoot(RootFolder.java:822)
[New I/O server worker #1-8] INFO  19:58:36.774    at net.pms.dlna.RootFolder.discoverChildren(RootFolder.java:153)
[New I/O server worker #1-8] INFO  19:58:36.774    at net.pms.dlna.DLNAResource.discoverChildren(DLNAResource.java:2075)

but if I remove subsonic.jar from plugins everything is normal and I see the xbmc plugins, etc. My jumpy.log looks ok, like yours.

Will post back once I have a chance to dig further tomorow, unfortunately I've got to go now. Maybe Sharkhunter has a clue?
infidel
 
Posts: 278
Joined: Sun Aug 15, 2010 4:56 pm

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

Postby SharkHunter » Wed Nov 16, 2011 11:01 am

Seek and I shall find viewtopic.php?f=14&t=10854&start=350
Will be fixed soon....
SharkHunter
 
Posts: 941
Joined: Tue Jun 01, 2010 8:39 pm

PreviousNext

Return to Additions and Plugins

Who is online

Users browsing this forum: Bing [Bot] and 6 guests