How to locate mplayer ...

For help and support with issues specific to Linux/Unix
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply.

How to locate mplayer ...

Postby asdyui » Tue Jun 12, 2012 3:56 pm

Hi Everyone,

I'm new to Linux..

I think I installed everything needed on my Synology but I got error while I do "./PMS.sh"

Code: Select all
03:55:03.605 [main] DEBUG o.a.c.c.PropertiesConfiguration - FileName set to /opt/local/pms-1.52.1/PMS.conf
    03:55:03.627 [main] DEBUG o.a.c.c.ConfigurationUtils - ConfigurationUtils.locate(): base is null, name is /opt/local/pms-1.52.1/PMS.conf
    03:55:03.627 [main] DEBUG o.a.c.c.DefaultFileSystem - Could not locate file /opt/local/pms-1.52.1/PMS.conf at null: no protocol: /opt/local/pms-1.52.1/PMS.conf
    03:55:03.628 [main] DEBUG o.a.c.c.ConfigurationUtils - Loading configuration from the absolute path /opt/local/pms-1.52.1/PMS.conf
    03:55:03.647 [main] DEBUG o.a.c.c.PropertiesConfiguration - Base path set to file:///opt/local/pms-1.52.1/PMS.conf
    03:55:04,016 |-INFO in ch.qos.logback.core.joran.action.DefinePropertyAction - About to instantiate property definer of type [net.pms.logging.DebugLogPathDefiner]
    03:55:04,019 |-INFO in ch.qos.logback.core.joran.action.DefinePropertyAction - Popping property definer for property named [debugLogPath] from the object stack
    03:55:04,020 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
    03:55:04,020 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
    03:55:04,102 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.FileAppender]
    03:55:04,106 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [debug.log]
    03:55:04,116 |-INFO in ch.qos.logback.core.FileAppender[debug.log] - File property is set to [/opt/local/pms-1.52.1/debug.log]
    03:55:04,119 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
    03:55:04,122 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [debug.log.10MB]
    03:55:04,155 |-INFO in ch.qos.logback.core.rolling.FixedWindowRollingPolicy@125fefa - Will use zip compression
    03:55:04,177 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[debug.log.10MB] - Active log file name: /opt/local/pms-1.52.1/debug.log
    03:55:04,177 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[debug.log.10MB] - File property is set to [/opt/local/pms-1.52.1/debug.log]
    03:55:04,177 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to ALL
    03:55:04,178 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]
    03:55:04,178 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [debug.log] to Logger[ROOT]
    03:55:04,178 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.

    ERROR 2012-06-10 03:55:04.648 [main] Cannot launch MPlayer / Check the presence of mplayer ...
    java.io.IOException: Cannot run program "mplayer": java.io.IOException: error=2, No such file or directory
            at java.lang.ProcessBuilder.start(ProcessBuilder.java:460) ~[na:1.6.0_32]
            at net.pms.PMS.checkProcessExistence(PMS.java:227) [pms.jar:na]
            at net.pms.PMS.init(PMS.java:399) [pms.jar:na]
            at net.pms.PMS.createInstance(PMS.java:811) [pms.jar:na]
            at net.pms.PMS.main(PMS.java:883) [pms.jar:na]
    Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
            at java.lang.UNIXProcess.<init>(UNIXProcess.java:148) ~[na:1.6.0_32]
            at java.lang.ProcessImpl.start(ProcessImpl.java:65) ~[na:1.6.0_32]
            at java.lang.ProcessBuilder.start(ProcessBuilder.java:453) ~[na:1.6.0_32]
            ... 4 common frames omitted


I wonder how do I let PMS locate my mplayer installation??

Please kindly help.. Thanks!
asdyui
 
Posts: 6
Joined: Sat Jun 09, 2012 8:57 pm

Re: How to locate mplayer ...

Postby chocolateboy » Tue Jun 12, 2012 6:10 pm

The following paths can all be set via PMS.conf:

  • dcraw_path
  • eac3to_path
  • ffmpeg_path
  • flac_path
  • imconvert_path
  • mencoder_path
  • mplayer_path
  • tsmuxer_path
  • vlc_path

e.g.:

Code: Select all
mencoder_path = /usr/lib/ps3mediaserver/linux/mencoder
chocolateboy
Project Member
 
Posts: 2577
Joined: Wed Sep 16, 2009 10:05 am


Return to Linux/Unix Support

Who is online

Users browsing this forum: No registered users and 2 guests