Difference between revisions of "MediaTomb"

From ArchWiki
Jump to: navigation, search
m (Installation: mediatomb-svn updated)
m (Installation: ln to AUR)
Line 21: Line 21:
  # pacman -S mediatomb
  # pacman -S mediatomb
The latest development version is also available via {{Package AUR|mediatomb-svn}}.
The latest development version is also available in the [[AUR]] via {{Package AUR|mediatomb-svn}}.
== Configuration ==
== Configuration ==

Revision as of 18:23, 12 September 2010

Template:Article summary start Template:Article summary text Template:Article summary heading Template:Article summary wiki Template:Article summary end

From MediaTomb - Free UPnP MediaServer:

MediaTomb is an open source (GPL) UPnP MediaServer with a nice web user interface, it allows you to stream your digital media through your home network and listen to/watch it on a variety of UPnP compatible devices.

MediaTomb enables users to stream digital media to UPnP compatible devices like the PlayStation 3 and Xbox 360. Several alternatives exist, such as FUPPES, ps3mediaserver, and uShare. One of MediaTomb's distinguishing features is the ability to customize the server layout based on extracted metadata (scriptable virtual containers); MediaTomb is highly flexible.


MediaTomb is available in [community]:

# pacman -S mediatomb

The latest development version is also available in the AUR via Template:Package AUR.


The default settings may be sufficient for many users, though changes are required for PlayStation 3 support. MediaTomb may be configured and run per-user or as a system-wide daemon. Following installation, either run

$ mediatomb

to start MediaTomb as the current user and generate a default configuration in Template:Filename, or

# /etc/rc.d/mediatomb

to start the MediaTomb daemon and generate a default configuration in Template:Filename. The following notes assume MediaTomb is running as a system-wide daemon.

For PlayStation 3 support, users must set Template:Codeline. An "avi" mimetype mapping should also be uncommented for DivX support.


When importing media to the database, MediaTomb will create a virtual container layout as defined by the Template:Codeline option. That is, media will be organized according to metadata (album, artist, etc.) through creation of virtual database objects. If your media is already organized on the file system, you may disable this feature to significantly improve import performance:


Users may customize the import script to fine-tune the virtual layout. The Scripting section of the MediaTomb wiki provides several examples. Starting with the built-in script available at Template:Filename:

$ cp /usr/share/mediatomb/js/import.js /var/lib/mediatomb/.mediatomb/

...and edit Template:Filename as desired. To utilize the customized script, users must set Template:Codeline and specify the script's location.



After configuring MediaTomb to your liking, restart the server by running

# /etc/rc.d/mediatomb restart

The daemon listens on port 50500 by default. To access the web interface and begin importing media, navigate to in your favorite browser (JavaScript required).