glennji.com

Agile, not just panic-button reactive

Installing MediaTomb UPnP Media Server

May 12

Mediatomb is an free open source UPnP server for Linux and Mac OS X. It allows you to stream media (videos and music) to networked devices for playback, and has an (admittedly grim) web-based GUI.

Installing in Ubuntu or Debian is easy (for other distros please check the website). First, add the gpg key so the package can be verified:

   wget http://apt.mediatomb.cc/key.asc -O- -q | sudo apt-key add -

Add the following line to /etc/apt/sources.list:

   deb http://apt.mediatomb.cc/ feisty main 

(Note that although the package specifies "feisty" it will work in the new "gutsy" i.e. Ubuntu 7.10.)

Now install like normal:

   sudo aptitude install mediatomb

Unfortunately the version here doesn't seem to support MySQL as a backend.

Of course, you will want to add your music too. If my music collection is at /opt/share/Music:

   sudo mediatomb --add /opt/share/Music

Now you can tune in with a music player such as Rhythmbox or iTunes

Comments

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <apt>, <bash>, <c>, <cpp>, <dot>, <drupal5>, <drupal6>, <java>, <javascript>, <perl>, <php>, <python>, <ruby>. The supported tag styles are: <foo>, [foo].

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.