aboutsummaryrefslogtreecommitdiff
path: root/tools/mpd-stats/internal/scrobbler/record.go
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2021-10-10 13:01:21 -0700
committerFranck Cuny <franck@fcuny.net>2022-06-11 14:32:08 -0700
commit1a29e26ab8223bdeea6544785a0539d64976f4ab (patch)
tree7817cc9deae9468cbe55d3fb0e848e01a5562e2a /tools/mpd-stats/internal/scrobbler/record.go
parentscrobbler: add timestamp to the record (diff)
downloadinfra-1a29e26ab8223bdeea6544785a0539d64976f4ab.tar.gz
mpd-stats: pass database path to the scrobbler
When creating a scrobbler, we provide the path to the database. The scrobbler then get a handler to the database. When a new record is created, we persist it to the database using the `save` function.
Diffstat (limited to 'tools/mpd-stats/internal/scrobbler/record.go')
0 files changed, 0 insertions, 0 deletions