diff options
| author | Franck Cuny <franck@fcuny.net> | 2021-10-10 11:44:47 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2021-10-10 11:44:47 -0700 |
| commit | 6440b7f28190eff567fa411ead2adbd80d2d870e (patch) | |
| tree | 3407d4f4cc6cddfa58f371ae428960446df4e4b7 /cmd/mpd-scrobbler/main.go | |
| parent | mpd: export the type Player (diff) | |
| download | x-6440b7f28190eff567fa411ead2adbd80d2d870e.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 '')
0 files changed, 0 insertions, 0 deletions
