Web content will not stream

For help and support with PS3 Media Server in general
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply.

Re: Web content will not stream

Postby chocolateboy » Fri Dec 17, 2010 9:42 pm

brotherjohn wrote:Could you please migrate the following 'profiles' to the new pmsencoder version, too?


https://github.com/chocolateboy/pmsenco ... sc/scripts
chocolateboy
Project Member
 
Posts: 2577
Joined: Wed Sep 16, 2009 10:05 am

Re: Web content will not stream

Postby brotherjohn » Tue Dec 21, 2010 11:15 pm

Thank you. Now I wait for christmas .... and the new PMSencoder version. :D
brotherjohn
 
Posts: 146
Joined: Wed Sep 15, 2010 9:13 am

Re: Web content will not stream

Postby chocolateboy » Wed Dec 22, 2010 2:39 am

PMSEncoder 1.2.0 has been released.

This fixes the recent YouTube breakage, and adds a number of fixes and features. See the release notes for more details.
chocolateboy
Project Member
 
Posts: 2577
Joined: Wed Sep 16, 2009 10:05 am

Re: Web content will not stream

Postby brotherjohn » Wed Dec 22, 2010 10:54 am

Hi chocolateboy,
I get the following error on every loaded script in the PMS-Log-Tab (Win 7 Home 32Bit):

Code: Select all
main] TRACE 10:48:47.382 PMSEncoder: loading user script: C:\Users\<Name>\AppData\Roaming\PMS\pmsencoder\scripts\ard_zdf.groovy
[main] 10:48:47.404 PMSEncoder: can't load user script: C:\Users\<Name>\AppData\Roaming\PMS\pmsencoder\scripts\ard_zdf.groovy: No signature of method: ard_zdf.config() is applicable for argument types: (ard_zdf$_run_closure1) values: [ard_zdf$_run_closure1@12d7d02]
Possible solutions: notify()
[main] TRACE 10:48:47.407 groovy.lang.MissingMethodException: No signature of method: ard_zdf.config() is applicable for argument types: (ard_zdf$_run_closure1) values: [ard_zdf$_run_closure1@12d7d02]
[main] TRACE 10:48:47.407 Possible solutions: notify()
[main] TRACE 10:48:47.407    at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:54)
[main] TRACE 10:48:47.407    at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:78)
[main] TRACE 10:48:47.407    at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:44)
[main] TRACE 10:48:47.407    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)
[main] TRACE 10:48:47.407    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149)
[main] TRACE 10:48:47.407    at ard_zdf.run(ard_zdf.groovy:1)
[main] TRACE 10:48:47.407    at groovy.lang.GroovyShell.evaluate(GroovyShell.java:646)
[main] TRACE 10:48:47.407    at com.chocolatey.pmsencoder.Matcher.load(PMSEncoder.groovy:171)
[main] TRACE 10:48:47.407    at com.chocolatey.pmsencoder.Matcher.load(PMSEncoder.groovy:165)
[main] TRACE 10:48:47.407    at com.chocolatey.pmsencoder.Matcher.load(PMSEncoder.groovy:161)
[main] TRACE 10:48:47.407    at com.chocolatey.pmsencoder.Matcher.load(PMSEncoder.groovy)
[main] TRACE 10:48:47.409    at com.chocolatey.pmsencoder.Plugin.loadScript(Plugin.groovy:197)
[main] TRACE 10:48:47.409    at com.chocolatey.pmsencoder.Plugin.delegate1979(Plugin.groovy)
[main] TRACE 10:48:47.409    at com.chocolatey.pmsencoder.Plugin$loadScripts$1.doCall(Plugin.groovy:179)
[main] TRACE 10:48:47.409    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[main] TRACE 10:48:47.409    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[main] TRACE 10:48:47.409    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[main] TRACE 10:48:47.409    at java.lang.reflect.Method.invoke(Method.java:597)
[main] TRACE 10:48:47.409    at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:88)
[main] TRACE 10:48:47.409    at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
[main] TRACE 10:48:47.409    at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:273)
[main] TRACE 10:48:47.409    at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886)
[main] TRACE 10:48:47.409    at groovy.lang.Closure.call(Closure.java:276)
[main] TRACE 10:48:47.409    at groovy.lang.Closure.call(Closure.java:289)
[main] TRACE 10:48:47.409    at org.codehaus.groovy.runtime.DefaultGroovyMethods.eachFileRecurse(DefaultGroovyMethods.java:12090)
[main] TRACE 10:48:47.409    at com.chocolatey.pmsencoder.Plugin.loadScripts(Plugin.groovy:177)
[main] TRACE 10:48:47.412    at com.chocolatey.pmsencoder.Plugin.createMatcher(Plugin.groovy:165)
[main] TRACE 10:48:47.412    at com.chocolatey.pmsencoder.Plugin.<init>(Plugin.groovy:119)
[main] TRACE 10:48:47.412    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[main] TRACE 10:48:47.412    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
[main] TRACE 10:48:47.412    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
[main] TRACE 10:48:47.412    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
[main] TRACE 10:48:47.412    at java.lang.Class.newInstance0(Class.java:355)
[main] TRACE 10:48:47.412    at java.lang.Class.newInstance(Class.java:308)
[main] TRACE 10:48:47.412    at net.pms.external.ExternalFactory.lookup(ExternalFactory.java:41)
[main] TRACE 10:48:47.412    at net.pms.PMS.init(PMS.java:435)
[main] TRACE 10:48:47.412    at net.pms.PMS.get(PMS.java:1329)
[main] TRACE 10:48:47.412    at net.pms.PMS.main(PMS.java:1393)
[main] TRACE 10:48:47.412 [main] 10:48:47.404 PMSEncoder: can't load user script: C:\Users\<Name>\AppData\Roaming\PMS\pmsencoder\scripts\ard_zdf.groovy: No signature of method: ard_zdf.config() is applicable for argument types: (ard_zdf$_run_closure1) values: [ard_zdf$_run_closure1@12d7d02]
[main] TRACE 10:48:47.412 Possible solutions: notify()


The pmsencoder-log-file shows the following:

Code: Select all
2010-12-22 10:48:47 [INFO|Script|profile|main]: registering profile: Default
2010-12-22 10:48:47 [INFO|Script|profile|main]: registering profile: YouTube
2010-12-22 10:48:47 [INFO|Script|profile|main]: registering profile: YouTube-DL Compatible
2010-12-22 10:48:47 [INFO|Script|doCall|main]: adding dependency: YouTube-DL Compatible before YouTube
2010-12-22 10:48:47 [INFO|Script|profile|main]: registering profile: YouTube Metadata
2010-12-22 10:48:47 [INFO|Script|doCall|main]: adding dependency: YouTube Metadata before YouTube-DL Compatible
2010-12-22 10:48:47 [INFO|Script|profile|main]: registering profile: Apple Trailers
2010-12-22 10:48:47 [INFO|Script|profile|main]: registering profile: Apple Trailers HD
2010-12-22 10:48:47 [INFO|Script|doCall|main]: adding dependency: Apple Trailers HD after Apple Trailers
2010-12-22 10:48:47 [INFO|Script|profile|main]: registering profile: TED
2010-12-22 10:48:47 [INFO|Script|profile|main]: registering profile: GameTrailers
2010-12-22 10:48:47 [INFO|Script|profile|main]: registering profile: GameTrailers (Revert PMS Workaround)
2010-12-22 10:48:47 [INFO|Script|doCall|main]: adding dependency: GameTrailers (Revert PMS Workaround) before GameTrailers
brotherjohn
 
Posts: 146
Joined: Wed Sep 15, 2010 9:13 am

Re: Web content will not stream

Postby Osiris X » Thu Dec 23, 2010 1:52 pm

@chocolateboy

FYI. when you change the location of the pmsencoder.log file in log4j.xml, pmsencoder always creates a pmsencoder.log file of 0 bytes in the directory you start PS3MS from and then it creates a log file in the desired location and proceeds to write to that one.

I am guessing that log4j.xml config file from the pmsencoder jar gets loaded 1st creating the 1st log file, before it is over loaded with the user-customised version.

Regards

Os
User avatar
Osiris X
 
Posts: 26
Joined: Thu Dec 02, 2010 2:15 pm
Location: London, UK

Re: Web content will not stream

Postby chocolateboy » Thu Dec 23, 2010 8:10 pm

brotherjohn wrote:I get the following error on every loaded script


https://github.com/chocolateboy/pmsenco ... oder-1.2.0

If you were previously using a pmsencoder.conf or pmsencoder.groovy script with PMSEncoder, it will need to be updated (and moved - see the pmsencoder.script.directory option for more details). Updated versions of all the scripts posted on the forum can be found here.


Osiris X wrote:
FYI. when you change the location of the pmsencoder.log file in log4j.xml, pmsencoder always creates a pmsencoder.log file of 0 bytes in the directory you start PS3MS from and then it creates a log file in the desired location and proceeds to write to that one.


Thanks. This should be fixed in 1.2.1.
chocolateboy
Project Member
 
Posts: 2577
Joined: Wed Sep 16, 2009 10:05 am

Re: Web content will not stream

Postby chocolateboy » Thu Dec 23, 2010 8:18 pm

PMSEncoder 1.2.1 has been released.

This fixes a bug in logfile handling.
chocolateboy
Project Member
 
Posts: 2577
Joined: Wed Sep 16, 2009 10:05 am

Re: Web content will not stream

Postby brotherjohn » Thu Dec 23, 2010 11:38 pm

chocolateboy wrote:
brotherjohn wrote:I get the following error on every loaded script


https://github.com/chocolateboy/pmsenco ... oder-1.2.0

Sorry, but I don't understand what I did wrong or what I have to do. I use the SubJunk-Build SB8 from here: http://ps3mediaserver.org/forum/viewtopic.php?f=14&t=8883

I set the new variables in PMS.conf except the variable pmsencoder.script.poll like this
Code: Select all
pmsencoder.script.directory = C:\\Users\\brotherjohn\\AppData\\Roaming\\PMS\\pmsencoder\\scripts
pmsencoder.log.config = C:\\Users\\brotherjohn\\AppData\\Roaming\\PMS\\pmsencoder\\log4j.xml


I take the scripts which you have written from here: https://github.com/chocolateboy/pmsenco%20...%20sc/scripts and save them in the directory which is set by the variable pmsencoder.script.directory.
In Windows it is: C:\Users\brotherjohn\AppData\Roaming\PMS\pmsencoder\scripts

So, could you please give me more details? What should I change?
brotherjohn
 
Posts: 146
Joined: Wed Sep 15, 2010 9:13 am

Re: Web content will not stream

Postby chocolateboy » Thu Dec 23, 2010 11:46 pm

brotherjohn wrote:I set the new variables in PMS.conf except the variable pmsencoder.script.poll like this
Code: Select all
pmsencoder.script.directory = C:\\Users\\brotherjohn\\AppData\\Roaming\\PMS\\pmsencoder\\scripts
pmsencoder.log.config = C:\\Users\\brotherjohn\\AppData\\Roaming\\PMS\\pmsencoder\\log4j.xml


Why? Where does it say you should set either of those options?

I take the scripts which you have written from here


As I've said several times, you need to update any scripts I've posted to the latest versions. The error you reported indicates you're using an out-of-date script.
Last edited by chocolateboy on Fri Dec 24, 2010 7:03 pm, edited 1 time in total.
chocolateboy
Project Member
 
Posts: 2577
Joined: Wed Sep 16, 2009 10:05 am

Re: Web content will not stream

Postby brotherjohn » Fri Dec 24, 2010 12:00 am

chocolateboy wrote:Why? Where does it say you should set either of those options?
Because I want the scripts, the log-file and the PMS.conf to be in the Windows default AppData directory and not in the application directory.
chocolateboy wrote:As I've said several times, you need to update any scripts I've posted to the latest version. The error you reported indicates you're using an out-of-date script.

I thought the scripts from here https://github.com/chocolateboy/pmsencoder/tree/master/misc/scripts were already updated to the new pmsencoder version??
brotherjohn
 
Posts: 146
Joined: Wed Sep 15, 2010 9:13 am

PreviousNext

Return to General Help and Support

Who is online

Users browsing this forum: geb724 and 25 guests