Channel plugin (Updated 12-06-23)

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

Re: Channel plugin (Updated 12-02-05)

Postby ezdankie » Sun Feb 05, 2012 5:25 pm

Hey SH,

I've been following this thread since it's creation and have been using your PMS-SHB since SHB18. This is the first time I've had a problem I couldn't solve myself so I thought I would take it to the forums. I've attached my debug.log below. I'm running a Dell Dimension 4500S, Windows XP Pro, 2gb RAM, on an Pentium4 processor at 1.8ghz, hardwired connection to PS3 and have never had a problem with playback. I recently had to reinstall Windows (right around the time MU went dark) and since the reinstall, I've haven't gotten PMS running again. Everything seems to go well up until
[code[[main] INFO 11:05:57.562 Exception in thread "main" java.lang.NoSuchFieldError: children[/code]
No matter what channel file it parses, I always get the same error and PMS hangs so its never able to find my PS3. I've tried SHB34 as well as SHB18 which seemed to be my most "stable" version. I'm sure its something simple, but I haven't been able to figure it out. Is it my version of Java? Any help would be greatly appreciated.

Code: Select all
[main] INFO  11:05:44.671 Starting PS3 Media Server (SharkHunter Build) 1.31.0 - SHB18
[main] INFO  11:05:44.687 by shagrath / 2008-2011
[main] INFO  11:05:44.687 http://ps3mediaserver.org
[main] INFO  11:05:44.687 http://code.google.com/p/ps3mediaserver
[main] INFO  11:05:44.687 http://ps3mediaserver.blogspot.com
[main] INFO  11:05:44.687
[main] INFO  11:05:44.687 Java: 1.7.0_01-Oracle Corporation
[main] INFO  11:05:44.687 OS: Windows XP x86 5.1
[main] INFO  11:05:44.687 Encoding: UTF-8
[main] INFO  11:05:44.687 Working directory: C:\Program Files\PS3MediaServer-SHB
[main] INFO  11:05:44.718 Temp folder: C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\ps3mediaserver
[main] INFO  11:05:44.718 Logging config file: C:\Program Files\PS3MediaServer-SHB\logback.xml
[main] INFO  11:05:44.718 debug.log: C:\Program Files\PS3MediaServer-SHB\debug.log
[main] INFO  11:05:44.718
[main] INFO  11:05:44.718 Profile directory: C:\Documents and Settings\All Users\PMS-SHB
[main] INFO  11:05:44.734 Profile path: C:\Documents and Settings\All Users\PMS-SHB\PMS.conf
[main] INFO  11:05:44.734 Memory: 778502144
[main] INFO  11:05:44.734 Profile status: rw
[main] INFO  11:05:44.734 Profile name: DELL-DIMENSION
[main] INFO  11:05:44.734
[main] INFO  11:05:44.750 Loading MediaInfo library
[main] INFO  11:05:45.062 Loaded MediaInfoLib - v0.7.44
[main] INFO  11:05:45.078 Loading renderer configurations from C:\Program Files\PS3MediaServer-SHB\renderers
[main] INFO  11:05:45.078 Loading configuration file: AirPlayer.conf
[main] INFO  11:05:45.125 Loading configuration file: Android.conf
[main] INFO  11:05:45.140 Loading configuration file: Bravia4500.conf
[main] INFO  11:05:45.140 Loading configuration file: Bravia5500.conf
[main] INFO  11:05:45.156 Loading configuration file: BraviaEX.conf
[main] INFO  11:05:45.171 Loading configuration file: FreeboxHD.conf
[main] INFO  11:05:45.171 Loading configuration file: FreecomMusicPal.conf
[main] INFO  11:05:45.171 Loading configuration file: iPad-iPhone.conf
[main] INFO  11:05:45.187 Loading configuration file: Kuro.conf
[main] INFO  11:05:45.187 Loading configuration file: N900.conf
[main] INFO  11:05:45.187 Loading configuration file: Panasonic.conf
[main] INFO  11:05:45.203 Loading configuration file: Philips.conf
[main] INFO  11:05:45.218 Loading configuration file: PopcornHour.conf
[main] INFO  11:05:45.218 Loading configuration file: PS3.conf
[main] INFO  11:05:45.234 Loading configuration file: Realtek.conf
[main] INFO  11:05:45.234 Loading configuration file: roxcore.conf
[main] INFO  11:05:45.250 Loading configuration file: Samsung.conf
[main] INFO  11:05:45.250 Loading configuration file: SharkMote_pc.conf
[main] INFO  11:05:45.265 Loading configuration file: Showtime3.conf
[main] INFO  11:05:45.281 Loading configuration file: Streamium.conf
[main] INFO  11:05:45.281 Loading configuration file: WDTVLive.conf
[main] INFO  11:05:45.281 Loading configuration file: WMP.conf
[main] INFO  11:05:45.296 Loading configuration file: XBMC.conf
[main] INFO  11:05:45.312 Loading configuration file: XBOX360.conf
[main] INFO  11:05:45.312 Checking MPlayer font cache. It can take a minute or so.
[main] DEBUG 11:05:45.312 launching: win32/mplayer.exe
[main] DEBUG 11:05:46.781 launching: win32/mplayer.exe
[main] INFO  11:05:47.515 Done!
[main] INFO  11:05:47.546 Loading plugins from C:\Program Files\PS3MediaServer-SHB\plugins
[main] INFO  11:05:47.609 Found plugin: com.sharkhunter.dbgpack.DbgPack_plugin
[main] INFO  11:05:47.656 Found plugin: net.pms.external.Gs_plugin
[main] INFO  11:05:49.890 Gs 0.40 using path C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\ps3mediaserver\gs_plugin tiny mode false init delay 3000 zero_fill false
[main] INFO  11:05:49.937 Gs private debug file C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\ps3mediaserver\gs_plugin\gs_debug.txt
[main] INFO  11:05:49.984 Found plugin: net.pms.movieinfo.MovieInfo
[main] INFO  11:05:50.015 Found plugin: com.chocolatey.pmsedl.Plugin
[main] INFO  11:05:50.062 PMS-EDL: Initialized PMS-EDL 1.1.0
[main] INFO  11:05:50.093 Found plugin: com.chocolatey.pmsencoder.Plugin
[main] INFO  11:05:50.171 PMSEncoder: initializing PMSEncoder 1.5.6
[main] INFO  11:05:50.921 PMSEncoder: script directory: C:\Program Files\PS3MediaServer-SHB\extras\scripts
[main] INFO  11:05:50.953 PMSEncoder: loading built-in log4j config file: jar:file:/C:/Program%20Files/PS3MediaServer-SHB/plugins/pmsencoder-1.5.6.jar!/log4j_default.xml
[main] INFO  11:05:57.375 Registering transcoding engine: PMSEncoder
[main] INFO  11:05:57.406 Found plugin: com.sharkhunter.channel.CH_plugin
[main] INFO  11:05:57.468 Start channel 1.56a
[main] INFO  11:05:57.515 parsing channel file extras\channels\icefilms.ch version 0.48
[main] INFO  11:05:57.562 Exception in thread "main" java.lang.NoSuchFieldError: children
[main] INFO  11:05:57.562    at com.sharkhunter.channel.Channels.find(Channels.java:178)
[main] INFO  11:05:57.562    at com.sharkhunter.channel.Channels.readChannel(Channels.java:231)
[main] INFO  11:05:57.562    at com.sharkhunter.channel.Channels.parseChannels(Channels.java:360)
[main] INFO  11:05:57.562    at com.sharkhunter.channel.Channels.handleDirChange(Channels.java:461)
[main] INFO  11:05:57.562    at com.sharkhunter.channel.Channels.fileChanged(Channels.java:483)
[main] INFO  11:05:57.562    at com.sharkhunter.channel.Channels.start(Channels.java:120)
[main] INFO  11:05:57.593    at com.sharkhunter.channel.CH_plugin.<init>(CH_plugin.java:51)
[main] INFO  11:05:57.625    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[main] INFO  11:05:57.656    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
[main] INFO  11:05:57.671    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
[main] INFO  11:05:57.703    at java.lang.reflect.Constructor.newInstance(Unknown Source)
[main] INFO  11:05:57.734    at java.lang.Class.newInstance0(Unknown Source)
[main] INFO  11:05:57.734    at java.lang.Class.newInstance(Unknown Source)
[main] INFO  11:05:57.734    at net.pms.external.ExternalFactory.lookup(ExternalFactory.java:98)
[main] INFO  11:05:57.734    at net.pms.PMS.init(PMS.java:466)
[main] INFO  11:05:57.734    at net.pms.PMS.createInstance(PMS.java:871)
[main] INFO  11:05:57.734    at net.pms.PMS.main(PMS.java:969)
ezdankie
 
Posts: 1
Joined: Sun Feb 05, 2012 5:08 pm

Re: Channel plugin (Updated 12-02-05)

Postby SharkHunter » Mon Feb 06, 2012 8:25 am

The error indicates that there something really messed up in the versioning between PMS and channels. Try and upgrade to a later SHB, you don't need to pick the latest SHB27 should be ok I think.
SharkHunter
 
Posts: 941
Joined: Tue Jun 01, 2010 8:39 pm

Re: Channel plugin (Updated 12-02-05)

Postby acuk66 » Wed Feb 08, 2012 12:14 pm

@sharkhunter
Any chance you can create a www.VeeHD.com channel plugin to stream user bookmarks.. that would be brilliant. ?
acuk66
 
Posts: 2
Joined: Thu Dec 02, 2010 4:37 am

Re: Channel plugin (Updated 12-02-05)

Postby voguemaster » Wed Feb 08, 2012 3:44 pm

Hi SH,

Do you remember at one time I told you I'm going to develop a specific plugin for Israeli VOD sites ? Well, I basically did but I have a question. Since no one at the dev forum seems to answer I thought maybe you could help.

I can find the media URLs just fine. All the logical code behind fetching them (and thumbs) work well. I have URLs that point to mp4 files. Do I *have* to use pmsencoder or would it be sufficient to rely on PMS alone ? Do I have to meddle with the transcoder args ? Do I have to have curl somewhere or is mencoder enough ?

My media class extends DLNAResource of course and obtains an input stream from the URL. Is that enough or do I have to tell PMS other things via the DLNAMediaInfo type ? The amount of documentation of these specific issues is very lacking..
voguemaster
 
Posts: 78
Joined: Wed Jul 21, 2010 8:22 am

Re: Channel plugin (Updated 12-02-05)

Postby SharkHunter » Thu Feb 09, 2012 9:50 am

@acuk66
VeeHD is supported by NaviX (and thus Channels). Or do you mean a separate VeeHD that allows you to login using your username/pwd?
@voguemaster
I would use curl if you have some cookies you need to transfer for the actual playback. Mencoder sucks there. I have from time to time tried and get PMS to stream web content directly as if it where a file on disc. The success has been thin. The main issue is that you have an URL of format http://xxxxxxx/xxxx.mp4 and the http:// binds "harder" than ".mp4". So to make PMS treat this as an mp4 video rather than some http stream you must do a lot of trix. Trix that I so far never got to work 100%. PMSencoder at least works.
Doing this (which is what you would like to do) has never worked for me:
Code: Select all
getInputStream(..) {
URL u=new URL(url_as_string);
return u.getInputStream();
}

The transcoding etc. doesn't work in that case....
SharkHunter
 
Posts: 941
Joined: Tue Jun 01, 2010 8:39 pm

Re: Channel plugin (Updated 12-02-05)

Postby voguemaster » Thu Feb 09, 2012 1:09 pm

Hi SH,

Thanks for the input. Luckily in this case I don't need any cookies (but even if I did, incorporating curl is not a big issue..). I did try to override getSystemName() and return only the filename part. After all, checktype() uses getSystemName() internally.. So far, no success.

I tried using pmsencoder as the first transcode engine but it changed nothing. I guess I don't know how to use it :-) (do I have to set it as the player of choice ?)

thanks in advance.
voguemaster
 
Posts: 78
Joined: Wed Jul 21, 2010 8:22 am

Re: Channel plugin (Updated 12-02-05)

Postby Monastie » Sat Feb 11, 2012 5:50 am

What does this mean piece of code mean? It's giving me a File is corrupt message.
PS.: I tried a couple of different links of an episode.
Code: Select all
2012-02-10 23:45:15 [INFO|PMSEncoder|launchTranscode|Thread-464]: invoking matcher for: http://movpod.in/4vpdf1yd0jvw
2012-02-10 23:45:15 [INFO|PMSEncoder|launchTranscode|Thread-464]: 0 matches for: http://movpod.in/4vpdf1yd0jvw
2012-02-10 23:45:15 [INFO|ProcessManager|handleTranscode|Thread-464]: transcoder command: [C:\Program Files\PS3 Media Server-SHB\win32\ffmpeg.exe, -v, 0, -y, -threads, 2, -i, "http://movpod.in/4vpdf1yd0jvw", -threads, 2, -target, ntsc-dvd, \\.\pipe\pmsencoder_transcoder_out_1328935515502_999]
2012-02-10 23:45:47 [INFO|PMSEncoder|launchTranscode|Thread-548]: invoking matcher for: http://www.vidbux.com/lkp1ek0wjh9u/how.i.met.your.mother.714.hdtv-lol.p.flv.html
2012-02-10 23:45:47 [INFO|PMSEncoder|launchTranscode|Thread-548]: 0 matches for: http://www.vidbux.com/lkp1ek0wjh9u/how.i.met.your.mother.714.hdtv-lol.p.flv.html
2012-02-10 23:45:47 [INFO|ProcessManager|handleTranscode|Thread-548]: transcoder command: [C:\Program Files\PS3 Media Server-SHB\win32\ffmpeg.exe, -v, 0, -y, -threads, 2, -i, "http://www.vidbux.com/lkp1ek0wjh9u/how.i.met.your.mother.714.hdtv-lol.p.flv.html", -threads, 2, -target, ntsc-dvd, \\.\pipe\pmsencoder_transcoder_out_1328935547669_1115]
2012-02-10 23:46:28 [INFO|PMSEncoder|launchTranscode|Thread-703]: invoking matcher for: http://www.vidxden.com/g4e0mt7oo8w0/How_I_Met_Your_Mother_Season_7__Episode_14.flv.html
2012-02-10 23:46:28 [INFO|PMSEncoder|launchTranscode|Thread-703]: 0 matches for: http://www.vidxden.com/g4e0mt7oo8w0/How_I_Met_Your_Mother_Season_7__Episode_14.flv.html
2012-02-10 23:46:28 [INFO|ProcessManager|handleTranscode|Thread-703]: transcoder command: [C:\Program Files\PS3 Media Server-SHB\win32\ffmpeg.exe, -v, 0, -y, -threads, 2, -i, "http://www.vidxden.com/g4e0mt7oo8w0/How_I_Met_Your_Mother_Season_7__Episode_14.flv.html", -threads, 2, -target, ntsc-dvd, \\.\pipe\pmsencoder_transcoder_out_1328935588010_1358]
Monastie
 
Posts: 5
Joined: Thu May 27, 2010 5:45 pm

Re: Channel plugin (Updated 12-02-05)

Postby acuk66 » Sun Feb 12, 2012 12:00 pm

[quote="SharkHunter"]@acuk66
VeeHD is supported by NaviX (and thus Channels). Or do you mean a separate VeeHD that allows you to login using your username/pwd?

The latter .. Cheers
acuk66
 
Posts: 2
Joined: Thu Dec 02, 2010 4:37 am

Re: Channel plugin (Updated 12-02-05)

Postby Cikkajesolo » Sun Feb 19, 2012 1:27 am

is www.solarmovie.eu supported? btw i still cant get one single stream working
Cikkajesolo
 
Posts: 29
Joined: Sat Feb 18, 2012 3:07 pm

Re: Channel plugin (Updated 12-02-05)

Postby SharkHunter » Sun Feb 19, 2012 10:58 am

Hi,

Some upades have been done (bug fixes and new channels) Fetch from github as usual...
SharkHunter
 
Posts: 941
Joined: Tue Jun 01, 2010 8:39 pm

PreviousNext

Return to Additions and Plugins

Who is online

Users browsing this forum: No registered users and 4 guests