* On line 60 of <small>/etc/mediatomb/config.xml</small> change
<small>{{Code|lang=XML|Code= <virtual-layout type="builtin"></small><br><small><import-script>/usr/share/mediatomb/js/import.js</import-script></small>}}
into
<small>{{Code|lang=XML|Code= <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>