Opened 10 years ago

Last modified 8 years ago

#3454 new enhancement

mpd, mountwait

Reported by: michu-at-neophobdotcom Owned by: blogic
Priority: normal Milestone: Features Paradise
Component: packages Version: Kamikaze trunk
Keywords: Cc:


perhaps it would make sense, to wait until the mp3 directory is availabe before mpd create its db...

        # Check if Mountdirectory exist

        while [ 1 ]; do
                [ -d $MP3PATH ] && {

                if [ $COUNT -lt 3 ]; then
                     /usr/bin/logger -s MPD.init: [WARNING] mount path not ready yet, sleep 1s
                     let COUNT=COUNT+1
                /bin/sleep 1

Attachments (0)

Change History (2)

comment:1 Changed 10 years ago by blogic

  • Milestone set to Kamikaze Features Paradize

comment:2 Changed 8 years ago by spudz76

  • Owner changed from developers to blogic
  • Version set to Kamikaze trunk

[patchteam] This may be better implemented via UCI path setting and/or a "mountwait" boolean option, so the mp3 path is not hardcoded and the wait loop is not always enabled unless needed. Or, perhaps a patch done upstream as it would seem a good thing on other distributions as well (and then we wrap in our UCI options). Assigning ticket to the last person to touch it (you're it!).

Add Comment

Modify Ticket

as new .

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.