• September 17, 2021, 12:29:38 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  


This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: How to add a mediatomb folder on startup ?  (Read 1198 times)


  • Level 1 Member
  • *
  • Posts: 2
How to add a mediatomb folder on startup ?
« on: December 27, 2017, 01:59:57 PM »


I use a DLink NAS 320 with Mediatomb, using ffp, and I can't manage to add more than a folder in the database at the startup.

Here is my mediatomb.sh

echo 'Removing db'
mv /mnt/HD/HDa2/ffp/var/mediatomb/mediatomb.db /mnt/HD/HDa2/ffp/var/mediatomb/mediatomb.db.old
. /ffp/etc/ffp.subr


mediatombflags="-d --interface egiga0 --home /ffp/var --cfgdir mediatomb --add $mediadir"

runrccommand "$1"

Currently, mediatomb has in its database the /mnt/HD/HDa2/Freebox directory, which contains my movies, and it works fine.
My problem is that I added a second hard drive in my NAS, with the following existing mounted disk dir :

/mnt/HD/HDb2/Freebox2, which contains more movies...

How do I need to modify my mediatomb.sh to have
available in database ?

I tried many things, even with GUI interface, but nothing worked...
Thanks by advance !


  • Level 5 Member
  • *****
  • Posts: 712
    • Add-Ons for D-Link NAS
Re: How to add a mediatomb folder on startup ?
« Reply #1 on: January 07, 2018, 12:26:54 PM »

Fun_plug is not supported by D-Link. I recommend that you contact the forum threads fun_plug
« Last Edit: January 07, 2018, 12:56:18 PM by vtverdohleb »
Add-on Application questions and issues, please include the following minimal information in your post:
* ShareCenter Model
* Add-on Name
* Add-on Version
* Detailed Description of your Issue
Donate: http://dlink.vtverdohleb.org.ua/Add-On/donate.php