Difference between revisions of "MediaTomb"
(→Configuration: custom script)
(→Usage: daemon note)
|Line 95:||Line 95:|
Revision as of 06:09, 7 March 2010
- 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.
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.
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 ~/.mediatomb/
After configuring MediaTomb to your liking, restart the server by running the Template:Codeline command in a terminal:
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.