about summary refs log tree commit diff
path: root/tools/mpd-stats/systemd/mpd-scrobbler.service
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2021-10-11 19:34:59 -0700
committerFranck Cuny <franck@fcuny.net>2022-06-11 14:32:09 -0700
commit61c59871f4b0574d3a09379ce91f0bf37373f740 (patch)
treef7363b74e5e5fb784587004e7d0de595b8f28933 /tools/mpd-stats/systemd/mpd-scrobbler.service
parentscrobbler: record how long a song was played (diff)
downloadworld-61c59871f4b0574d3a09379ce91f0bf37373f740.tar.gz
scrobbler: read mpd status before processing song
If the status of the player is "stop", we don't have a new song to
handle. In this case, if there's a current song, let's update the status
and clear our state.

Closes #1.
Diffstat (limited to 'tools/mpd-stats/systemd/mpd-scrobbler.service')
0 files changed, 0 insertions, 0 deletions