buhtz - 2016-10-21

I am using Debian unstable. I am not sure what the appropriate methode it is here to add content/directory to mediatomb.

When install "mediatomb" package in Debian unstable a mediatomb instance is running after next reboot. It is a service I think. How can I ask that instance which config and log files it uses?
I think it uses /etc/mediatomb/config.xml.

I added a <directory...> in it. But after a "sudo systemctl restart mediatomb" and even after a reboot nothing changed. I can see the mediatomb server from a DLNA-client but it offers no content.

When I do a "mediatomb --add directory" it uses ~/.mediatomb . But that is not used by the mediatomb service running in debian.

Sidequestion: When I add this to config.xml

    <autoscan use-inotify="auto">
      <directory location="/home/user/Musik/_skate_or_die" mode="inotify" recursive="yes" hidden-files="no" />
    </autoscan>

does the server scan that directory automaticly even if it is the first time?
Or is there realy a need to do that with "--add" option?