Changes

From Amahi Wiki
Jump to: navigation, search
756 bytes added ,  23:58, 11 December 2010
Added custom import description
=== Configuration Options: ===
<u>====Directory scanning</u><br>====
By default, there are no directory's scanned.
To automatically scan a directory:
The media in the share will now be automatically added to the database and will be available on your UPnP-ready device.
 
====Custom import scripts====
Mediatomb has the possibility to display your imported media files with a customized directory view. Some examples can be found [http://mediatomb.cc/dokuwiki/scripting:scripting HERE]
 
To use the custom script you'll need to do the following:
 
As root-user:
Create a custom .js script in <small>/usr/share/mediatomb/js/</small>
 
On line 60 of <small>/etc/mediatomb/config.xml</small> change
 
<small><virtual-layout type="builtin"></small><br>
<small><import-script>/usr/share/mediatomb/js/import.js</import-script></small>
 
into
 
<small><virtual-layout type="js"></small><br>
<small><import-script>/usr/share/mediatomb/js/<yourscriptname>.js</import-script></small>
 
restart mediatomb: <small>service mediatomb restart</small>
=== Troubleshooting: ===
42

edits