QNAPedia Community Wiki

Skip to content

PS3 Media Server

From QNAPedia

Jump to: navigation, search


PS3 Media Server

PS3 Media Server (PMS) is a DLNA compliant Upnp Media Server for the PS3, written in Java, with the purpose of streaming or transcoding any kind of media files, with minimum configuration. It's backed up with the powerful Mplayer/FFmpeg packages.

Meanwhile PMS version 1.21.1 is available as official QPKG package. Before installing this QPKG, please install the Java Runtime Environment (JRE) QPKG. You need a Qnap NAS with an x86 cpu to do this! 

Install without QPKG package

The tools PS3 Media Server requires are not included included on the QNAP or PMS, because this tools are normally included in the OS. I had to compile all the required tools myself and also modify PMS to use the tools from the pms\linux directory.

This was built against PS3 Media Server v1.20 the latest compiled build is 1.10.5, do not change the jar as you will break everything..


You will need the following QPKG packages to be installed before you can get PMS working

JRE 6 (Java Runtime Envrionment)
Optware IPKG

  You will need ffmpeg and coreutils, to install these use ipkg.

# ipkg update
# ipkg install ffmpeg && ipkg install coreutils

Install PMS

Grab pms.tar.gz and place it somewhere on your NAS. "opt" is a good place for applications

Then login onto your Qnap NAS using ssh or telnet

# cd /opt

let's move the file from where you put it on your NAS to the opt directory. Note the dot at the end

# mv /share/MD0_DATA/<location where your file is>/pms.tar.gz .

Unpacking and changing ownership

# tar zxvf pms.tar.gz
# chown -R admin:administrators pms

Now, let's create a basic config file. You can use another editor than nano

# cd pms
# nano PMS.conf

add the following:

folders=/share/MD0_DATA/<path to your files>

More options are available here

Now let's start!

# ./pms.sh &

Autostart PMS

Should you wish to run this permently please see Running Your Own Application at Startup

A possible autorun.sh could look like this:


#Symlink Optware to /opt
rm -rf /opt
ln -sf /share/HDA_DATA/.qpkg/Optware /opt

#Export Optware PATH
echo "export PATH=$PATH:/opt/bin:/opt/sbin:/usr/local/sbin" >> /etc/profile

#Start Optware
/etc/init.d/Optware.sh start

#Start JAVA
/share/HDA_DATA/.qpkg/JRE/jre.sh start

export JAVA_HOME=/usr/local/jre

#Start PS3 MediaServer
cd /opt/pms
./pms.sh &

Personal tools