Flags:
- Use only
updatingflag from start to finish. - Resume on boot:
updatingflag for resumempc updatelistingflag for resume withoutmpc update
Pre:
- Flag
updating - Pushstream broadcast
updating_db passive.jsshow updating status
Start: mpc rescan or mpc update
End: mpdidle.sh
- Gets update event from MPD
- Verify with updating flag and mpc status not updating
Query: cmd.sh mpcupdatelist
- Flag
listing - Get all list modes into files:
- Album mode:
album^^artist^^file- Normal
mpc listall *.wav- MPD not read albumartist
- Normal
- Others:
name
- Album mode:
Files:
- Save each mode to files
- Count
Finish:
- Pushstream broadcast counts
passive.js- Hide updating status
- Update Library counts
- Remove flags