aboutsummaryrefslogtreecommitdiff
path: root/tools/mpd-stats/internal/scrobbler/db.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* scrobbler: add interface to the sqlite3 databaseFranck Cuny2022-06-111-0/+54
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).