Difference between revisions of "MediaTomb"

From ArchWiki
Jump to: navigation, search
(initial content; free UPnP MediaServer)
 
(details)
Line 22: Line 22:
  
 
Following installation, users should run {{Codeline|mediatomb}} in a terminal to generate a default server configuration file ({{Filename|~/.mediatomb/config.xml}}). 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.
 
Following installation, users should run {{Codeline|mediatomb}} in a terminal to generate a default server configuration file ({{Filename|~/.mediatomb/config.xml}}). 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 {{Codeline|protocolInfo extend="yes"}}. An "avi" mimetype mapping should also be uncommented for DivX support.
 +
 +
{{File
 +
|name=~/.mediatomb/config.xml
 +
|content=<nowiki>
 +
...
 +
 +
<protocolInfo extend="yes"/>
 +
 +
...
 +
 +
<map from="avi" to="video/divx"/>
 +
 +
...
 +
</nowiki>}}
 +
 +
When importing media to the database, MediaTomb will create a virtual container layout as defined by the {{Codeline|<nowiki><virtual-layout type="..."></nowiki>}} option. That is, media will be organized according to metadata (album, artist, etc.). If your media is already organized on the file system, you may disable this option to significantly improve import performance:
 +
 +
{{File
 +
|name=~/.mediatomb/config.xml
 +
|content=<nowiki>
 +
...
 +
 +
<virtual-layout type="disabled">
 +
 +
...
 +
</nowiki>}}
 +
 +
Users may customize the import script to fine-tune the virtual layout. The [http://mediatomb.cc/dokuwiki/scripting:scripting Scripting] section of the MediaTomb wiki provides several examples.
 +
 +
== Usage ==
 +
 +
After configuring MediaTomb to your liking, restart the server by running the {{Codeline|mediatomb}} command in a terminal:
 +
 +
{{Command
 +
|name=mediatomb
 +
|output=<nowiki>
 +
MediaTomb UPnP Server version 0.11.0 - http://mediatomb.cc/
 +
 +
===============================================================================
 +
Copyright 2005-2008 Gena Batsyan, Sergey Bostandzhyan, Leonhard Wimmer.
 +
MediaTomb is free software, covered by the GNU General Public License version 2
 +
 +
2010-03-02 12:13:54    INFO: Loading configuration from: /home/user/.mediatomb/config.xml
 +
2010-03-02 12:13:54    INFO: Checking configuration...
 +
2010-03-02 12:13:54    INFO: Setting filesystem import charset to UTF-8
 +
2010-03-02 12:13:54    INFO: Setting metadata import charset to UTF-8
 +
2010-03-02 12:13:54    INFO: Setting playlist charset to UTF-8
 +
2010-03-02 12:13:54    INFO: Configuration check succeeded.
 +
2010-03-02 12:13:54    INFO: Initialized port: 49152
 +
2010-03-02 12:13:54    INFO: Server bound to: 192.168.1.50
 +
2010-03-02 12:13:55    INFO: MediaTomb Web UI can be reached by following this link:
 +
2010-03-02 12:13:55    INFO: http://192.168.1.50:49152/
 +
</nowiki>}}
 +
 +
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.

Revision as of 17:16, 2 March 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.

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.). If your media is already organized on the file system, you may disable this option 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.

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.