feat: listenbrainz import

This commit is contained in:
Gabe Farrell 2025-06-12 23:35:17 -04:00
parent 63517c0a03
commit d0d7bd9a4a
9 changed files with 248 additions and 6 deletions

View file

@ -31,6 +31,7 @@ func ImportSpotifyFile(ctx context.Context, store db.DB, filename string) error
l.Err(err).Msgf("Failed to read import file: %s", filename)
return err
}
defer file.Close()
var throttleFunc = func() {}
if ms := cfg.ThrottleImportMs(); ms > 0 {
throttleFunc = func() {