I did all this SSHed in from my Ubuntu laptop so when I download the PMS file from the web I am downloading it to the laptop and then copying it to the server. I am going to assume you know how to SSH and get files between the two computers.
Starting with a fresh install here are the steps I followed to get my desired result:
First install mplayer, mencoder, ffmpeg and java
- Code: Select all
$ sudo apt-get install mplayer mencoder ffmpeg sun-java6-jre
Next get the PMS file from here http://ps3mediaserver.googlecode.com/fi ... 1.10.5.tgz
Extract that and copy it over SSH to your server. I chose to put it in my home folder so there is no need to sudo to run it.
Start by making PMS.sh executable.
- Code: Select all
$ cd /path/to/PMS.sh
$ chmod +x PMS.sh
Then do the same for tsmuxer
- Code: Select all
$ cd /path/to/tsmuxer/in/pmsfolder
$ chmod +x tsmuxer
Now edit the PMS.conf file to add these options. I have found this to be all I need. Here is what mine looks like:
- Code: Select all
$ cd /path/to/PMS.sh
$ nano PMS.conf
- Code: Select all
thumbnails = true
mencoder_ass = true
hidevideosettings = true
hide_extensions = true
hide_enginenames = true
audiochannels = 2
folders = \/path\/to\/videos,\/path\/to\/pictures,\/path\/to\/music
Next save it and just for good measure I reboot. Its probably not needed but I do it anyways.
Now once your machine has rebooted cd to the directory PMS.sh is in and then run it.
- Code: Select all
$ cd /path/to/PMS.sh
$ ./PMS.sh
It should give you a whole bunch of stuff in the terminal window and then should show up on the PS3 XMB. Now stop it by hitting ctrl c.
Next we will make it run on boot. I have tried the init.d script floating around here but I can't get it to work at all for me. So I wrote this little one that is not exactly proper but it works. It doesn't give any start or stop options but for me it works right now. If I ever get the one on here to work I will post what I needed to do.
- Code: Select all
$ cd /etc/init.d
$ sudo nano startpms
Paste this in there changing the path to PMS.sh to wherever it is on your system.
- Code: Select all
#!/bin/bash
cd /path/to/PMS.sh
nohup ./PMS.sh &
exit
Save the file and make it executable.
- Code: Select all
$ sudo chmod +x startpms
Then make it run on boot.
- Code: Select all
$ sudo update-rc.d startpms defaults
Now restart your server and then watch it appear on the XMB with no help from you.
If this does not help I am sorry I have wasted your time. I am no linux guru but I spent lots of time trying to get this to work and this was the outcome to make it work for me. I have pieced this all together from memory and guides on the internet. If I am using some info and you posted it elsewhere, then credit goes to you, I am not trying to steal, simply trying to make this easier for some.
Thanks for taking the time to read and possibly try my method.
