Menu

Rescan interval

glompert
2009-05-30
2013-05-29
  • glompert

    glompert - 2009-05-30

    Hi,

    Was wondering if minidlna has a feature to set an automatic rescan interval of the media library? Reason for asking is that my NAS does not support inotify. :(

    If the feature exists, how do I enable it? And if not, could it be implemented?

    Best regards

     
    • Justin Maggard

      Justin Maggard - 2009-06-03

      It could be implemented eventually, but it's not high on the priority list.  For you NAS, you could set up a cron job to stop minidlna, delete the database, then start minidlna again... say every night at 3AM or something.

       
    • Kasper Behrmann

      Kasper Behrmann - 2009-06-07

      How do I delete the database?

      Regards

       
      • Justin Maggard

        Justin Maggard - 2009-06-08

        rm -rf /tmp/minidlna

         
  • Will

    Will - 2010-02-14

    I'm a newbie when it comes to cron job.

    How do I do just that jmaggard, but delete the datebase and restart at 8am instead of 3am ?

     
  • Michalis Giannakidis

    edit your crontab:
    $ crontab -e

    and put a line similar to this (you may need to edit the paths to the init script and the minidlna database):
    0 8 * * * /etc/init.d/minidlna stop; rm -rf /tmp/minidlna; /etc/init.d/minidlna start

     
  • Will

    Will - 2010-03-17

    Nice 1, thanks!

     
  • Ric

    Ric - 2010-11-18

    I have the same problem. Could I run minidlna with rescan option instead of deleting database ?

     

Log in to post a comment.