Setting Up Ubuntu to Share Video, Music, Pictures with Your PlayStation 3 (PS3)
I found this great tutorial for configuring your Ubuntu desktop to share your media (such as you’re movies, TV episodes, music etc etc) over you’re home network (wired and wireless) to allow access from your PlayStation 3 (PS3). I have to say it’s quite handy, it saves having to burn multiple DVD’s every time you want to watch videos or listen to music on your PS3.
There we’re a few additional things I had to do not documented in this tutorial in order to get it working in Ubuntu 8.10, so I’ll repost this with my modifications:
Installation
First things first you need to grab the fuppes package
wget http://www.topdog-software.com/oss/fuppes/fuppes_0+svn611-1_i386.deb
Note: I’ve also attached the file at the bottom of this post.
Now the first problem I ran into was with a few missing dependencies not available from my stock repo’s:
Unpacking fuppes (from fuppes_0+svn611-1_i386.deb) …
dpkg: dependency problems prevent configuration of fuppes:
fuppes depends on libavcodec1d (>= 0.cvs20070307); however:
Package libavcodec1d is not installed.
fuppes depends on libavformat1d (>= 0.cvs20070307); however:
Package libavformat1d is not installed.
fuppes depends on libavutil1d (>= 0.cvs20070307); however:
Package libavutil1d is not installed.
fuppes depends on libmagick++10; however:
Package libmagick++10 is not installed.
fuppes depends on libsimage20; however:
Package libsimage20 is not installed.
fuppes depends on libswscale1d (>= 0.cvs20070307); however:
Package libswscale1d is not installed.
dpkg: error processing fuppes (–install):
dependency problems – leaving unconfigured
Errors were encountered while processing:
fuppes
In order to install the package I had to add the following to my /etc/apt/sources.list
deb http://security.ubuntu.com/ubuntu gutsy-security main
Once you’ve added the above to the sources.list file run sudo apt-get update. Then you should be able to install the fuppes package using either of the 2 methods below
- sudo dpkg -i fuppes_0+svn611-1_i386.deb
- Simply open the location you downloaded the package to with nautilus etc, and run the package installing it using the GUI
Configuration
The first thing you need to do is tell fuppes what IP address (remember you can find this out using the ifconfig command) it will listen/attach to. To do this you need to edit the fuppes configuration file which is located at /etc/fuppes/fuppes.cfg and edit the interface section.
- Before edit you will see <interface></interface>
- After you edit it should look something like this except with your <interface>192.168.5.5</interface>
You can also change the port it listens on but the default should be fine.
Next start the fuppes service:
- sudo /etc/init.d/fuppes start
Now open up your web browser and go to http://192.168.5.5:56596, make sure to substitute your IP address here. From here you will add the content directories (where all your media is) for fuppes to index and share with your PS3:
- Click on Configuration from the left menu.
- Under the “ContentDirectory Settings” title you will see an “Add objects:” box this is where you need to enter the file system path to your media. Such as /home/bob/music or /home/bob/videos. Do this for each folder you want to make available for access from the PS3.
- Next you need to rebuild the media database. Click Options from the left menu and click rebuild database.
- You can see somewhat of progress as the database rebuild by clicking Status from the left menu, and monitoring the counters as they go up.
- Configure multicast route on your machine for the media server to be found by clients, create a file /etc/network/if-up.d/fuppes with the following content (substitute the interface for the one you are using on your machine)
#!/bin/bash
#
# in this case eth1 is my WLAN interface change to match yours
if [ "$IFACE" = "eth1" ]; then
ip ro add 239.0.0.0/8 dev eth1
/etc/init.d/fuppes restart &>/dev/null
fi
Enjoy/Test
Connect to your PS3 and go to Video and then select search for media servers, if all went well you should find your media server named fuppes, select that and go to a folder with videos select and play. Repeat this procedure for your music and picture.
References:
- Howtoforge tutorial
- fuppes_0svn611-1_i386 – package
- fuppes
UPDATED:
This exact same procedure allows you to access all your media the same way from Ubuntu back to Windows 7. Simply do the above tutorial, Open Windows Media Player. On the left hand side you will see fuppes appear. And there you have it now, you can stream your Media Directly from your Ubuntu computer to Windows 7 using fuppes.
