about summary refs log tree commit diff
path: root/tools/mpd-stats/cmd/mpd-scrobbler
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2021-10-10 11:44:47 -0700
committerFranck Cuny <franck@fcuny.net>2022-06-11 14:32:07 -0700
commit3dc1f1d4652aba2986c540bcc2a22c1b21e89e98 (patch)
tree5953d3362b85c580b744ffa92419534b664ca7a5 /tools/mpd-stats/cmd/mpd-scrobbler
parentmpd: export the type Player (diff)
downloadworld-3dc1f1d4652aba2986c540bcc2a22c1b21e89e98.tar.gz
scrobbler: add functions to create and run it
Add a new function to create a scrobbler. The function takes care of
creating the mpd client.

Add a function to run the scrobbler, which takes care of creating a new
record when needed.

This will simplify the interface for the caller, as all they really care
about is: create the scrobbler, close it when we're done, and collect
songs information while we listen to our music.
Diffstat (limited to 'tools/mpd-stats/cmd/mpd-scrobbler')
0 files changed, 0 insertions, 0 deletions