Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo


Desire to add automatic scanning to MiniDLNA

  • Mark Thompson
    Mark Thompson

    I have been working on a script which works to automatically perform a rescan after a file has been added/deleted/renamed.

    This was designed for the FreeNAS Plugin and is located in this thread…

    I'd like to find out how to add a new switch to the MiniDLNA code to automatically conduct a scan after a period of time.

    My quick example would be to define a few new switches:
    -S = Scan Sub-directories.
    -T = Time Delay in seconds before scanning starts after a triggering event.  (default value 300 seconds)

    wait_on is the command that I use in the script and is the code I'd like to incorporate into MiniDLNA somehow.

    Any pointers would be appreciated.

    Thanks, Mark