How to Install And Configure FUPPES on Ubuntu Hardy

FUPPES stands for Free UPnP Entertainment Service and is a free, multiplatform UPnP A/V Media Server that supports a wide range of UPnP MediaRenderers as well as on-the-fly transcoding of various audio, video and image formats. FUPPES also includes basic DLNA support, which means you can play your audio/video from your PS3 and Xbox 360.

This tutorial teaches you how to install and configure FUPPES on Ubuntu Hardy-32bits

Install the dependencies

The following are some of the optional dependencies that allow you to transcode audio and video on the fly.

In your terminal,

sudo apt-get install lame liblame-dev libflac-dev libvorbis-dev ffmpeg libavformat-dev libmpcdec-dev twolame faad imagemagick

Update: If you are using Ubuntu Intrepid, the liblame-dev has been replaced by libmp3lame-dev. Thanks to Tuna for reminding.

Installing FUPPES

Download FUPPES (from GetDeb) to your desktop.

Double click the deb file to install FUPPES.

Configuring FUPPES

In your terminal, type

fuppes

follow by pressing the keyboard shortcut Ctrl + C to quit the application. We are not going to run the application now. The purpose of this running and quitting is for FUPPES to generate the fuppes.cfg file.

Now, go to your Home folder (Places -> Home Folder). Press Ctrl+ H to display all the hidden folders. Navigate to .fuppes folder

fuppes1

Open fuppes.cfg with text editor.

fuppes.cfg

Search for

<network>
<!–empty = automatic detection–>
<interface/>
<!–empty or 0 = random port–>
<http_port/>
<!–list of ip addresses allowed to access fuppes. if empty all ips are allowed–>
<allowed_ips>
<!–<ip>192.168.0.1</ip>–>
</allowed_ips>
</network>

and replace with

<network>
<!–empty = automatic detection–>
<interface>YOUR-IP-ADDRESS</interface>
<!–empty or 0 = random port–>
<http_port>5080</http_port>
<!–list of ip addresses allowed to access fuppes. if empty all ips are allowed–>
<allowed_ips>
<!–<ip>192.168.0.1</ip>–>
</allowed_ips>
</network>

Remember to change YOUR-IP-ADDRESS to your own IP address. Alternatively, you can use your network interface, such as wlan0 or eth0 such as the interface name.

fuppes-config

Save and exit.

Back to your terminal, run FUPPES again by typing

fuppes

Open your browser and navigate to http://your-ip-address:5080. You should see the FUPPES main screen

fuppes in browser

On the left, click Configuration.

In the Add objects field, specify the path to the media folder that you want to share. Click Submit Query.

fuppes-add-path

Once you are done adding your media folder, click Options on the left. Click rebuild database

fuppes-build-database

You are now good to go.

Testing it out

Since XBMC has the ability to stream media over a network via a uPnP, we will use it to test out the FUPPES configuration. Follow this tutorial to install XBMC.

Open your XBMC (Applications -> Sound & Videos -> XBMC Media Center)

On the left, click on Music follow by Add Source

xbmc-add-source

Click Browse and scroll down to uPnP Device

xbmc-add-source

If your FUPPES is successful, you will see the entry on the list. You might have to try a few times to get XBMC to detect the media server.

xbmc-detect-server

You can then click OK to add the source and enjoy the music in the XBMC player. If you have .flac files, it will be transcoded to .mp3 when you play it in XBMC.

Configure FUPPES to start everytime you boot up

Go to System -> Preferences -> Sessions. In the Startup Programs tab, click Add. Enter the following detail:

fuppes-add-session

Click OK.

Done. FUPPES will start automatically the next time you boot up.

Accessing FUPPES from PS3 and Xbox 360

I don’t have a PS3 and Xbox 360 to test. Here are some resources for your reference

Fuppes wiki – Microsoft Xbox 360

Fuppes wiki – Playstation 3

Fuppes wiki – Device specific setting

Enjoy!