Difference between revisions of "MediaTomb - Free UPnP MediaServer"

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
(FreeLink)
(ARM)
Line 47: Line 47:
  
  
==ARM==
+
====ARM====
  
this is my fast way to install:
+
*this is my fast way to install:
 
+
<tt>
+
 
apt-get install libnspr4-0d libmozjs0d
 
apt-get install libnspr4-0d libmozjs0d
 
wget http://downloads.sourceforge.net/mediatomb/mediatomb_0.10.0-1etch1_arm.deb
 
wget http://downloads.sourceforge.net/mediatomb/mediatomb_0.10.0-1etch1_arm.deb
 
dpkg -i mediatomb_0.10.0-1etch1_arm.deb
 
dpkg -i mediatomb_0.10.0-1etch1_arm.deb
</tt>
+
 
after that run  
+
*after that run mediatomb
<tt>
+
mediatomb
mediatomb</tt>
+
  
 
it starts server, in bottom of output you can see the internet address for remote control
 
it starts server, in bottom of output you can see the internet address for remote control
Line 66: Line 63:
  
  
Add Playstation 3 DIVX streaming support:
+
*Add Playstation 3 DIVX streaming support:
<tt>
+
nano /root/.mediatomb/config.xml
nano /root/.mediatomb/config.xml
+
 
</tt>
+
*under <server> add
under <server> add
+
<protocolInfo extend="yes"/>
<tt>
+
 
<protocolInfo extend="yes"/>
+
*after <extension-mimetype ignore-unknown="no"> add
</tt>
+
<map from="avi" to="video/divx"/>
after <extension-mimetype ignore-unknown="no"> add
+
 
<tt>
+
<map from="avi" to="video/divx"/>
+
</tt>
+
 
restart mediatomb
 
restart mediatomb
  
Line 85: Line 79:
 
* to be done, a number of dependancies would have to be resolved... Spidermonkey seems like to most difficult one
 
* to be done, a number of dependancies would have to be resolved... Spidermonkey seems like to most difficult one
 
see http://mediatomb.cc/pages/documentation#id2458225
 
see http://mediatomb.cc/pages/documentation#id2458225
 
  
 
==Usage Options==
 
==Usage Options==

Revision as of 17:34, 18 December 2007

mediatomb.png

Contents

Overview

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 implements the UPnP MediaServer V 1.0 specification that can be found on http://www.upnp.org/.

Currently Supported Features

  • browse and playback your media via UPnP
  • metadata extraction from mp3, ogg, flac, jpeg, etc. files.
  • Exif thumbnail support
  • user defined server layout based on extracted metadata (scriptable virtual containers)
  • automatic directory rescans
  • sophisticated web UI with a tree view of the database and the file system, allowing to add/remove/edit/browse your media
  • support for external URLs (create links to internet content and serve them via UPnP to your renderer)
  • support for ContentDirectoryService container updates
  • Active Items (experimental feature), allows execution of server side scripts upon HTTP GET requests to certain items
  • highly flexible configuration, allowing you to control the behavior of various features of the server

Installation

OpenLink (PowerPC)

ipkg install mediatomb 
  • Run MediaTomb (as a daemon)
mediatomb -d   
  • Configure shares on web interface

go to http://linkstation:49152 to set up shares

FreeLink

Although it's not a great idea to use Ipkg and apt on the same box Ipkg seems to keep most of it's files separate in /opt/bin. The above feed/method could only be used for a PowerPC linkstation.


There are instructions for installing mediatomb on Ubuntu linux but they are somewhat specific to ubuntu.


ARM

  • this is my fast way to install:

apt-get install libnspr4-0d libmozjs0d wget http://downloads.sourceforge.net/mediatomb/mediatomb_0.10.0-1etch1_arm.deb dpkg -i mediatomb_0.10.0-1etch1_arm.deb

  • after that run mediatomb
mediatomb

it starts server, in bottom of output you can see the internet address for remote control after first loading stop mediatomb by ctrl+c

it auto-creates config files on /root/.mediatomb/


  • Add Playstation 3 DIVX streaming support:
nano /root/.mediatomb/config.xml
  • under <server> add
<protocolInfo extend="yes"/>
  • after <extension-mimetype ignore-unknown="no"> add
<map from="avi" to="video/divx"/>

restart mediatomb

on web admin add your shared folder (remove and repopulate database)

Compiling from source

  • to be done, a number of dependancies would have to be resolved... Spidermonkey seems like to most difficult one

see http://mediatomb.cc/pages/documentation#id2458225

Usage Options

Usage: mediatomb [options]
Supported options:
   --ip or -i         ip address
   --port or -p       server port (the SDK only permits values => 49152)
   --config or -c     configuration file to use
   --daemon or -d     run server in background
   --pidfile or -P    file to hold the process id
    --user or -u       run server under specified username
   --group or -g      run server under specified group
   --add or -a        add the given file/directory
   --logfile or -l    log to specified file
   --help or -h       this help message


Link.png This article is currently a stub. You can help this Wiki by expanding it

. This template will categorize articles that include it into Category:Stubs.