D-Link Forums

The Graveyard - Products No Longer Supported => D-Link Storage => ShareCenter® Add-on Applications => Topic started by: bigappleu2 on December 27, 2017, 01:59:57 PM

Title: How to add a mediatomb folder on startup ?
Post by: bigappleu2 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 !
Title: Re: How to add a mediatomb folder on startup ?
Post by: vtverdohleb 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/ (http://dns323.kood.org/forum/)