MediaTomb

From ArchWiki
Revision as of 06:09, 7 March 2010 by Pointone (Talk | contribs) (Usage)

Jump to: navigation, search

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.

Installation

MediaTomb is available in the Arch User Repository: Template:Package AUR. The latest development version is also available via Template:Package AUR.

Configuration

Following installation, users should run Template:Codeline in a terminal to generate a default server configuration file (Template:Filename). The default settings may be sufficient for many users, though changes are required for PlayStation 3 support. Press Ctrl+C to terminate the server after the initial run.

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

Template:File

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:

Template:File

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 ~/.mediatomb/

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

Template:File

Usage

After configuring MediaTomb to your liking, restart the server by running the Template:Codeline command in a terminal:

Template:Command

As shown, MediaTomb will output a link to its web interface. Enter this link in your favorite browser (JavaScript required) to access the web interface and begin importing media.

MediaTomb can be run as a daemon, if desired. An appropriate script is included with the package at Template:Filename. Prior to starting the daemon, users should specify their username in Template:File so the daemon uses the appropriate configuration and database files.