Users Online

We have 113 guests online
Media Server PDF Print E-mail
Written by Zack MIlls   
Thursday, 07 January 2010 23:21

http://ubuntuforums.org/showthread.php?t=1061203&highlight=PS3+Media+Server+Set-up

 

If you're talking about a UPnP server to stream music and videos to your PS3, then there are several applications that will do the job. I personally use MediaTomb. It's not fancy, but it's easy to set up and it does the job, and it's in the Ubuntu repositories. uShare and gMediaServer are a couple of other UPnP servers available in the repositories, but I don't know anything about them. 

If you're specifically talking about PS3 Media Server, then I can't help much. I looked at it, but it's severely lacking on installation instructions. It also doesn't seem as mature an application as the others. 

----------

To set up MediaTomb on Ubuntu to stream media to your PS3:

1) Install MediaTomb. Open the terminal and type "sudo apt-get install mediatomb".

2) Run MediaTomb once to create the configuration file. Type "mediatomb". Wait for the output to stop -- it should give you a URL for connecting to MediaTomb. Press Ctrl-C to stop MediaTomb.

3) Edit the configuration file. Enter the command "gedit ~/.mediatomb/config.xml". Make the following changes:

Find this line:
Code:
<protocolInfo extend="no"/><!-- For PS3 support change to "yes" -->
Change "no" to "yes". Then find the following lines:
Code:
<!-- Uncomment the line below for PS3 divx support -->
<!-- <map from="avi" to="video/divx"/> -->
Remove "<!--" and "-->" from the second line. Now scroll up to to this line:
Code:
<extension-mimetype ignore-unknown="no">
Directly below that line, paste these lines:
Code:
<map from="avi" to="video/x-divx"/> 
<map from="divx" to="video/x-divx"/>
Save and exit.

4) Start MediaTomb. Type "mediatomb". Take note of the address it gives you (though you probably won't need it).

5) Add your media directories. Look in Applications->Sound & Video for a launcher for MediaTomb. This will open a page in your web browser. (If this doesn't work, type the address MediaTomb gave you in your browser's address bar.) In the left pane, click "Filesystem" and locate the media you want to share. At the top of the right pane, click the plus symbol with the arrows around it. Select "Timed" and "Full", check "Recursive", and then click the "Set" button. Do this for each directory you want to share with your PS3. Now when you click "Database" in the left pane, it will show the media you're sharing. (It will take a few minutes to add large numbers of files, so if your media doesn't show up immediately, give it some time.)

That's it. To run MediaTomb, type "mediatomb" in the terminal (although at this point, it's already running). I created a launcher for my panel by right-clicking on the panel, selecting "Add to Panel" and then "Custom Application Launcher", and using the command "gnome-terminal -x mediatomb". (You could just use the command "mediatomb", but you wouldn't be able to close it without killing the process.) The MediaTomb icon is found in "/usr/share/pixmaps/".

You can also set MediaTomb to run at startup by going to System->Preferences->Sessions, clicking the "Add" button, and using one of the above commands, depending on whether you want to have the option of closing the program or not.

NOTE: Some tutorials say to run MediaTomb using sudo, but there's no reason to do this as long as your user account has read access to the files you want to share.