I'm using the latest version of miniDLNA and I'm wondering if it is possible to rescan the mediathek without restarting miniDLNA.
Everytime miniDLNA is running and I use the minidlna command with "-r" I get a message in the logfile that miniDLNA is already running and I need to stop it.
Do you have any suggestions?
Regards,
Jens
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Maybe my last post was a little bit short.
miniDLNA is going be started automatically after reboot of my raspi. If new music has been added on the NAS I would like to rescan the mounted music directory like this way:
Hello,
I'm using the latest version of miniDLNA and I'm wondering if it is possible to rescan the mediathek without restarting miniDLNA.
Everytime miniDLNA is running and I use the minidlna command with "-r" I get a message in the logfile that miniDLNA is already running and I need to stop it.
Do you have any suggestions?
Regards,
Jens
Maybe my last post was a little bit short.
miniDLNA is going be started automatically after reboot of my raspi. If new music has been added on the NAS I would like to rescan the mounted music directory like this way:
sudo <DirectoryToMinidlna>/minidlna -P <directoryToPidFILE>/minidlna.pid -f <DirectoryToConfFile>/minidlna.conf -r
If miniDLNA is already running I get the following message in the logfile:
error: MiniDLNA is already running. EXITING.
I don't really know how to use the rescan paramater without stopping and starting miniDLNA. Did I misunderstand the meaning of this parameter?
Regards,
Jens
Last edit: Jens Backhaus 2017-11-25
Both (-r, -R) work on startup and cannot be used while minidlna is running.
This patch might be what you are looking for? https://sourceforge.net/p/minidlna/patches/172/ .