Didn't plan for me, aloft analysis begin the PATH var had displace afterwards reboot. So manually edited $HOME/.profile to survive rebooting. Now the aisle is actual should work. Of advance I'm now at plan and clumsy to check. I accept aswell bureaucracy a startup Software to barrage PMS which appears to be working. I will apperceive bigger tonight.

I have managed to create service wrappers for Opensolaris so that you can register PS3 Media Server as a system service. Now, I am running PS3 Media Server as daemon user, and service manager can restart the service automatically when a core dump happens. Also it is shutting down the service on shutdown automatically. I'll provide scripts and xml file to import as a service when I am back at home

By the way, VirtualBox hosting Windows7 is very fast (with multi CPU) according to my observation (XP is exteremely slow?), so you may consider using tversity on windows for media serving, provided that you have enough memory and CPU power there. on my cheapest version of AMD Phenom platform, things are quite fast

I finally got my PS3MS 1.11.356 beta OpenSolaris file server up and running (thanks to everyone here in this thread), and I just wanted to follow up here with a few updates and things I learned in the process..

First, about mplayer:

AustinPowersISU wrote:Before we configure, we need to edit the configure script to disable the -rdynamic option, otherwise cc will complain later

root@wd40:/usr/local/src/mplayer-checkout-2009-06-12# vi configure

You can use whatever editor you want. Basically we need to remove the lines:

I can't get it to work unless we use debug mode! Also, you must pass the extra cflag to get debug mode to work!

There's a known issue with the opensolaris GNU assembler that many programmers don't compensate for in their apps (there's a thread about it on the mplayer-dev mailing list here). Basically, all you have to do to fix it is to:

./configure --extra-cflags="-Wa,--divide"

(the mailing list thread suggests patching your configure file, but i think this way is easier)

Yep, and if you want you can edit your default $PATH in your ~/.profile file.

I did this all on basically a brand new install of opensolaris 2009.06. If it looks like it's working (based on the debug log) but it still won't show up on the XMB, make sure you've defined your system in /etc/hosts .. this was bugging the _hell_ out of me, I couldn't for the life of me figure out why it wasn't working (because debug log definitely showed the two communicating) and the fix was just to echo "192.168.1.10 myserver" >> /etc/hosts (obviously your IP & server name will be specific to you). This may be a part of the default opensolaris install procedure that i just missed.

I also got the service up and running thanks to orao's example. However I had to make a few changes.. the server ran fine as root, but it wasn't playing anything running it as a service. Logs showed it couldn't find ffmpeg, so I edited PMS.sh and added a PATH= line towards the top to make sure it knew about /usr/local/bin. Alternate fixes for this would be to set the daemon user's PATH globally (somehow?) or symlink the binaries to somewhere in default $PATH (ln -s /usr/local/bin/* /usr/bin/)

No problems playing anything so far, but I'll add here if there are. For now, I'm golden.. shut down gdm and made it a totally headless samba & ps3 media server. Things should get even better once my gigabit switch arrives

edit: Well, for some reason I cannot get subtitles to work at all.. neither sub/idx or srt files show anything (tested on several different videos), even though PMS sees them there (it mentions External Subtitles in the file's descriptive text) and the subtitles work great with every other player. Anyone else see this and/or have subs working? It's possible I'm just missing some small piece of software or a specific config option..