aboutsummaryrefslogtreecommitdiff
path: root/internal/scrobbler/db.go
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2021-10-10 13:01:21 -0700
committerFranck Cuny <franck@fcuny.net>2021-10-10 13:01:21 -0700
commitc95f72a953e6a9068c1e7b89f530fa05f10c4bde (patch)
treee1ab6da25addb12e0555422857918caf53544595 /internal/scrobbler/db.go
parentscrobbler: add timestamp to the record (diff)
downloadx-c95f72a953e6a9068c1e7b89f530fa05f10c4bde.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 'internal/scrobbler/db.go')
0 files changed, 0 insertions, 0 deletions