645a3142a1
Only updating when an mpd event occurred would cause issues when mpd was playing and the machine was put to sleep because the elapsed time was calculated by taking the time difference of the last update and now which would give you wrong numbers, if the machine was in standby in between. Since the update function on the module is only called once a second (or when an event happens), we can just update the data every time without a huge performance hit. Fixes #915 |
||
---|---|---|
.. | ||
alsa | ||
mpd.hpp | ||
net.hpp |