PS3 Media Server on Synology DiskStation DS411+

# login as root to your DS411
ssh root@

# download lastest java
wget -O /tmp/java.bin

# extract
cd /tmp
sh /tmp/java.bin

# move to right place
mv /tmp/jre1.6.0_*/ /usr/java

# get PMS
wget -P /tmp

# extract
tar xzf /tmp/pms-generic-linux-unix-1.*.tgz

# move
mv /tmp/pms-linux-1.*/ /usr/pms

# set port to 5002
cat < /usr/pms/PMS.conf

# create start script
cat < /etc/rc.pms

# set envirment
export JAVA_HOME=/usr/java
export PMS_HOME=/usr/pms

# start PMS server
cd /usr/pms
./ > /tmp/pms.log

#!/bin/sh -e
sh /etc/rc.pms
exit 0

# PMS.conf parameter
folders = (path of folders PMS should deliver to PS3)
hostname = (IP address of server - some people have reported setting this address manually has allowed PMS to appear on the PS3)
port = (port number - defaults to 5001 but can be changed by entering a value here)
language = (specify language to use - unsure how this works)
thumbnails = (true/false - display thumbnails)
thumbnail_seek_pos = (1 - nnn - specify how far into track thumbnail to display is (I think))
nbcores = (unsure of purpose but appears to relate to the number of cores your servers CPU has)
turbomode = (true/false - unsure of purpose but appears to relate to a turbo mode)
minimized = (true/false - start minimised or not - N/A for headless systems)
hidevideosettings = (true/false - hide the video settings option from being displayed on the PS3)
usecache = (true/false - display media libray - the best setting to enable)
charsetencoding = (character set to use - 850 is default)
engines = (transcoding engine to use - mencoder, AviSynth/FFmpeg, AviSynth/MEncoder, TsMuxer)
autoloadsrt = (true/false - unsure of purpose)
network_interface = (set the interface name - if you have more than one)
hide_extensions = (true/false - hide file extension)
hide_enginenames = (true/false - hide the names of the transcoding engines - I've never seen the engine names displayed except when hidevideosettings is set to true)
enable_archive_browsing = (true/false - browse archive files (zip, rar, etc)