Set Up A Linux Playstation 3 Media Server (Ubuntu Hardy Heron)

In: Ubuntu or Linux

4 May 2008

Introduction

The Sony Play station 3 is a DLNA compatible device, DLNA is a framework where home electronics can share digital media and content seamlessly. This tutorial will provide instructions on setting up your Ubuntu hardy computer to share your video, music and photos, allowing you to play them through your DLNA compatible devices. Although several other open source media servers exist, i chose to use Fuppes due to its built in support for transcoding.

Requirements

  • Sony Play station 3 console (or other DLNA capable console/device)
  • Computer running ubuntu linux with working WLAN interface
  • Wireless LAN
  • Working internet connection (to download package)
  • Media to be shared

Installation

  • Download and install the fuppes debian package that i have packaged
wget http://www.topdog-software.com/oss/fuppes/fuppes_0+svn611-1_i386.deb
sudo dpkg -i fuppes_0+svn611-1_i386.deb

Configuration

  • Edit the fuppes configuration file /etc/fuppes/fuppes.cfg and the the interface option, in my case i will be using the ip address 192.168.1.1.
  • 192.168.1.1
  • Start fuppes and point your browser to http://192.168.1.1:56596
    • Select configuration on the menu on the left
    • Under “ContentDirectory settings” -> Add objects, Type the name of the directory you want to share media from (you can also share an itunes db) then click “submit query”
    • Add as many directories as you want; I added the following
  • /etc/init.d/fuppes restart

/home/andrew/Videos
/home/andrew/Music
/home/andrew/Pictures

  • Rebuild the media database
  • Select Options on the menu on the left
  • Click “rebuild database”
  • Monitor the status of the rebuild on the status page, you will see the counters increase as you media is indexed.
  • Configure multicast route on your machine for the media server to be found by clients, create a file /etc/network/if-up/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

Testing

Sony Play Station 3

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.

Nokia N95

Go to tools -> Connectivity -> Home media -> Browse media. You N95 will connect to the WLAN and begin searching and should find your fuppes media server, select it and you will see your folders, From there you can play your media and view your content or copy it to your device.

Xbox

Fuppes does support Xbox as well, I have not used it however as I do not own one.

Sample configuration files

  • /etc/fuppes/fuppes.cfg
  •   /home/andrew/Music
      /home/andrew/Videos
      /home/andrew/Pictures
    
        
        192.168.1.1
        
        56596
        
    
          
    
        
    
        UTF-8
        
        true
        true
        true
    
        
        lame
        
    true
    true
    true
    
        
    
          
          0
          
    file
          false
          true
    4
    
            
    
              AUDIO_ITEM
              audio/mpeg
    MP3
    
              AUDIO_ITEM
              application/octet-stream
    
                mp3
                audio/mpeg
    MP3
                chunked
                vorbis
                lame
                192
                44100
    
              AUDIO_ITEM
              application/octet-stream
    
                mp3
                audio/mpeg
    MP3
                chunked
                musepack
                lame
                192
                44100
    
              AUDIO_ITEM
              audio/x-wav
    
              AUDIO_ITEM
              audio/x-flac
    
                mp3
                audio/mpeg
    MP3
                chunked
                flac
                lame
                192
                44100
    
              AUDIO_ITEM
              audio/x-ms-wma
    WMAFULL
    
            
    
              jpeg
              IMAGE_ITEM
              image/jpeg
    
                
                png
                image/png
                0
                0
                
                false
                
                false
                
    
              IMAGE_ITEM
              image/bmp
    
              IMAGE_ITEM
              image/png
    
              IMAGE_ITEM
              image/gif
    
            
    
              mpeg
              VIDEO_ITEM
              video/mpeg
    
              VIDEO_ITEM
              video/mp4
    
              VIDEO_ITEM
              video/avi
    
              VIDEO_ITEM
              video/x-ms-wmv
    
              VIDEO_ITEM
              video/x-ms-vob
    
              VIDEO_ITEM
              video/x-extension-vdr
    
                vob
                video/x-ms-vob
    
              VIDEO_ITEM
              application/x-flash-video
    
              VIDEO_ITEM
              video/x-ms-asf
    
            
    
              PLAYLIST
              audio/x-scpls
    
              PLAYLIST
              audio/x-mpegurl
    
        
    
          UPnP/1.0 DLNADOC/1.00
          PLAYSTATION3
          
          true
    50
    
              AUDIO_ITEM_MUSIC_TRACK
    
                stream
    
          %s %v : 1 : Windows Media Connect
          Windows Media Connect compatible (%s)
          2.0
    
          Xbox/2.0.\d+.\d+ UPnP/1.0 Xbox/2.0.\d+.\d+
          Xenon
          true
    
          
          
    container
          true
    
          dma/1.0 \(http://www.cybertan.com.tw/\)
          UPnP/1.0 DLNADOC/1.00
    file
          101
  • /etc/fuppes/vfolder.cfg

vfolder

1 Response to Set Up A Linux Playstation 3 Media Server (Ubuntu Hardy Heron)

Avatar

Ellie Hughes

May 5th, 2010 at 6:56 pm

Playstation is the best gaming console that i have owned. Me and my brother are addicted in playing games on Playstation.-;-

Comment Form

About this blog

This is a place I create just for fun and to write down some experience and notes for myself. So feel free to enjoy and drop any comments you have. I had been employed as Programmer, System Analysts, System Administrator, DBA and Project Manager. I will share some of my case study here as well. Enjoy!

 

Calendar

September 2010
M T W T F S S
« Jul    
 12345
6789101112
13141516171819
20212223242526
27282930