Friday, January 7, 2011

Installing MediaTomb on Ubuntu

I installed MeidaTomb on my Ubuntu (10.10).

1. Search and install MediaTomb in Software Center.

2. Check Synaptic for installation: It displays 3 items as installed.
- mediatomb 0.12.1 UPnP MediaServer (main package)
- meidatomb-daemon 0.12.1 UPnP MediaServer (daemon package)
- mediatomb-common 0.12.1 UPnP MediaServer (base package)

3. Launch MediaTomb from Application > Sound & Video menu.
It opened a web server (port:49152) but displayed the message:
"MediaTomb UI is disabled. Check our configuration"

4. Open /ext/mediatomb/config.xml to change the config.

Line 007: <ui enabled="yes" show-tooltips="yes">
Line 026: <protocolInfo extend="yes"/>      # PS3 support
Line 078: <map from="avi" to="video/divx"/> # PS3 divx support
Line 121: <transcoding enabled="yes">

5. Restart the server.
$ sudo /etc/init.d/mediatomb restart
 * Restarting upnp media server mediatomb                                                             [ OK ] 
6.  Add files to the database.
Lanunch MediaTomb (or just go to localhost:49152)
Click "Filesystem"
Locate your video folder(s)
Click + to add the folder(s) to the database.
7. Play the video(s) using PS3
Start PS3
Goto Video
Select MediaTomb
Select registered folder and select a video to play.
8. References


  1. I am stuck at Step#4.

    When I open config.xml with a text editor, i'm unable to edit it.
    It's only opening as 'read-only' and says i don't have permission to edit.

    Please help me

    1. I no longer use MediaTomb, so I do not remember what I did then.

      But you may want to try to open your editor as superuser (root).
      $ sudo [your editor]
      or if you use gedit
      $ gksudo gedit