• October 24, 2020, 11:15:02 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

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 1001 times)

bigappleu2

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

Hello,

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

mediadir="/mnt/HD/HDa2/Freebox"

name="mediatomb"
command="/ffp/bin/$name"
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
/mnt/HD/HDa2/Freebox
/mnt/HD/HDb2/Freebox2
available in database ?

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

vtverdohleb

  • 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
http://dns323.kood.org/forum/
« Last Edit: January 07, 2018, 12:56:18 PM by vtverdohleb »
Logged
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