Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Desire to add automatic scanning to MiniDLNA

2012-10-24
2013-05-29
  • Mark Thompson
    Mark Thompson
    2012-10-24

    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