diff options
| author | Franck Cuny <franck@fcuny.net> | 2021-10-10 13:01:21 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2022-06-11 14:32:08 -0700 |
| commit | 1a29e26ab8223bdeea6544785a0539d64976f4ab (patch) | |
| tree | 7817cc9deae9468cbe55d3fb0e848e01a5562e2a /tools/mpd-stats/internal/scrobbler/record.go | |
| parent | scrobbler: add timestamp to the record (diff) | |
| download | infra-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
