The guys who develope the mediatomb upnp mediaserver have finally released version 0.9.
Both SQLite and Mysql are supported as storage drivers, so I'll just add support for them both in the installation process and then you can choose which one you will use.
When this is written there are no deb packages available so I took some notes on the packages needed for the package to compile. Here are the results:
NB. this a HOWTO is for Ubuntu Edgy or Feisty Fawn
1) Download the mediatomb source and extract it
Code:
wget http://kent.dl.sourceforge.net/sourceforge/mediatomb/mediatomb-0.9.0.tar.gz
tar -xvzf mediatomb-0.9.0.tar.gz
cd mediatomb-0.9.0
2) Install the required packages so the package will compile
If you do not have the build essentials required to build packages from source ..
install them
Code:
sudo apt-get install build-essential
Then head on to install the required libraries and development headers.
a) install mysql storage support
Code:
sudo apt-get install libmysqlclient15-dev
b) install sqlite storage support
Code:
sudo apt-get install sqlite3 libsqlite3-dev
c) install libmagic headers and id3lib headers
Code:
sudo apt-get install libmagic-dev libid3-dev
d) Now the tricky part .. installing the Spidermonkey Javascript engine.
There are known dependancy problems with the spidermonkey package and some mozilla packages. To avoid that problems .. we will do this another way ..
First install the none problematic package, (do not install package "libmozjs-dev")
Code:
sudo apt-get install libmozjs0d
Then create symlink to avoid name clashes with old libraries
Code:
sudo ln /usr/lib/libmozjs.so.0d /usr/lib/libmozjs.so
Then d/l the updated header files from the mediatomb website ..
and unpack it ..
Code:
wget http://mediatomb.org/edgy_mediatomb_libmozjs-h.tar.gz
tar -xvzf edgy_mediatomb_libmozjs-h.tar.gz
Run the configure command to check the build environment, and point to the new header files. Substitute "/full/path/to/headers" with the directory where you extracted the edgy_mediatomb_libmozjs-h.tar.gz tarball.
Code:
./configure --with-js-h=/full/path/to/headers
Then compile the source with make
Then install the package, you can use "sudo make install" but to keep my system tidy and
having the uninstall option .. i recommend using checkinstall to build the package ..
If you used the checkinstall method, you can now install the deb package ..
Code:
sudo dpkg -i mediatomb_0.9.0-1_i386.deb
If everything went ok ..
start mediatomb from your console
Now you have mediatomb up and running.
open browser to http://localhost:49152
The config file for mediatomb is here: ~/.mediatomb/config.xml
I recommend reading the docs on the mediatomb web before messing around with it.
Now you can add content to your mediaserver and start watching on your media receiver connected to mediatomb.
More details about mediatomb here: http://mediatomb.cc
Hope someone finds this tutorial useful,
Cheers,
Blues-
Bookmarks