What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

How to avoid a new scan of media server after reset?

Bosso52

New Around Here
I have a large collection of mp3 songs (approx 13.000) connected to an RT-AC96U via 128GB USB stick. The Asus is used in operation mode media-bridge and will be switched off over night. The problem is that the data base is erased on reset and "minidlna" starts scanning each time from the beginning, which lasts hours and therefore is unusable. Any hint to avoid this, e.g. manual synchronization only?
 
That's a technical limitation of minidlna, which lacks the ability of maintaining any pre-existing database.
 
The option appears to be there, but not sure if it works....via telnet/ssh try

nvram get dms_rescan (should return "1")
nvram set dms_rescan=0
nvram commit
 
Last edited:
If nvram commands suggested by john9527 won't work, disable stock minidlna and install entware version or debian version and db will not be recreated for sure.
 
Sorry, dms_rescan equals zero now but the rescan still occurs. RT-AC56U is not supported by Entware. So I think I will return to my Kodi media server on a Raspberry Pi. Thanks to all!
 
Sorry, dms_rescan equals zero now but the rescan still occurs. RT-AC56U is not supported by Entware. So I think I will return to my Kodi media server on a Raspberry Pi. Thanks to all!

I just tested on my fork code and it works there....can you post the output of the following command

ps | grep minidlna

Also, did you move the location of the mindlna db_dir? check with the following command

cat /etc/minidlna.conf | grep dir
 
Last edited:

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top