mirror of
https://github.com/gabehf/Koito.git
synced 2026-03-16 10:55:55 -07:00
feat: listenbrainz import
This commit is contained in:
parent
63517c0a03
commit
d0d7bd9a4a
9 changed files with 248 additions and 6 deletions
|
|
@ -22,6 +22,8 @@ func finishImport(ctx context.Context, filename string, numImported int) error {
|
|||
if err != nil {
|
||||
l.Err(err).Msg("Failed to move file to import_complete dir! Import files must be removed from the import directory manually, or else the importer will run on every app start")
|
||||
}
|
||||
l.Info().Msgf("Finished importing %s; imported %d items", filename, numImported)
|
||||
if numImported != 0 {
|
||||
l.Info().Msgf("Finished importing %s; imported %d items", filename, numImported)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue