Add startup delay for minidlna server

Issue #29 new
Александр Голофеев created an issue

What: Add option to 'Media Server' page, which will allow configuring a delay for startup of minidlna server, similar to Transmission's 'Delay at startup' option.

Why: To avoid situations, when minidlna starts earlier than USB HDD is mounted (with DB files for dlna server, if they are stored on external storage), and because of this starts to re-scan entire HDD when it is finally mounted.

I think there is a second, and maybe a better option of solving this issue. Add some sort of option, which will allow to start minidlna server only after expected partition is mounted. However, I'm not sure how to implement this feature, while sleep solution can(?) be copy-pasted from Transmission's implementation.

Comments (0)

  1. Log in to comment