aboutsummaryrefslogtreecommitdiff
path: root/tools/mpd-stats/internal/scrobbler/record.go
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2021-10-10 12:58:56 -0700
committerFranck Cuny <franck@fcuny.net>2022-06-11 14:32:08 -0700
commit90ebf54e100fbfd85388b89756718cf71cb69795 (patch)
tree9fbe277d305c46c9807c098d9a8a81768398e863 /tools/mpd-stats/internal/scrobbler/record.go
parentmpd-stats: create and run the scrobbler (diff)
downloadinfra-90ebf54e100fbfd85388b89756718cf71cb69795.tar.gz
scrobbler: add interface to the sqlite3 database
We want to persist the records in a database, so we can extract statistics and an history. The module for the database is straightforward: it opens the database if it exists and return an handler to it. If the database does not exists, we create it and we create the only table we need (records).
Diffstat (limited to 'tools/mpd-stats/internal/scrobbler/record.go')
0 files changed, 0 insertions, 0 deletions