aboutsummaryrefslogtreecommitdiff
path: root/internal/scrobbler/record.go
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2021-10-09 17:20:22 -0700
committerFranck Cuny <franck@fcuny.net>2021-10-09 18:21:28 -0700
commit28dd6b6ae32e0cccdaf6486fb76c6b7f98647f27 (patch)
tree705bcaa9b2a1df7bfc099b505cf3f9f13ccec230 /internal/scrobbler/record.go
parentREADME: add some information about logging (diff)
downloadx-28dd6b6ae32e0cccdaf6486fb76c6b7f98647f27.tar.gz
scrobbler: watch for events and print song details
We create a module "mpd" to interact with our MPD instance. For now we only have a single function to create a new client, which creates an actual client for mpd (and we ping the instance every 30 seconds), and a watcher to receive new events. The tool "scrobbler" then wait for new events and display songs information.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions