PS3 Media Server on Debian Squeeze

My music collection consists of Ogg Vorbis files.  Rather than re-encoding them again for PlayStation 3, I decided to serve music files via a media server.  Fortunately this is very easy to do.


Mostly following this note:

$ sudo aptitude update
$ sudo aptitude install sun-java6-jre
$ sudo aptitude install mplayer mencoder ffmpeg
$ sudo update-alternatives --config java  # choose Sun Java if multiple Java installs exist

Move to temporary directory and download Linux source tarball:

... download .tgz file ...
$ tar -xvjf pms*.tgz
$ sudo mv pms-generic-linux-unix-1.20.412 /usr/local/pms-1.20.412
$ sudo ln -s /usr/local/pms-1.20.412 /usr/local/pms
$ sudo chmod a+x /usr/local/pms/

To launch the server properly, I have to run the script from the /usr/local/pms directory.  Instead of having to cd into that directory each time, I created the following startup script and saved it as /usr/local/bin/pms:

(cd /usr/local/pms && exec ./

Giving the executable permissions:

$ sudo chmod a+x /usr/local/bin/pms

This way, the pms command will launch the media server anywhere on the system.

Scrobbling with

I want music tracks to be scrobbled with  Looking at this forum thread, there is a plugin to make this possible.

Download the, unzip the content and move the LastFMScrobbler.jar file to /usr/local/pms/plugins.

Restart the PMS server.

Choose the General Configuration tab.  Under the Plugin Systems section, there is an entry for Scrobbler plugin.  Click on it and I’m asked to provide the username and password for  This info gets stored unencrypted in a text file, so be careful about the password…

Restart the PMS server and the music tracks should now be scrobbled.  Check on my profile page.

This entry was posted in Uncategorized and tagged , , , , , , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *