do one transaction per folder only

This commit is contained in:
sentriz
2019-07-03 15:56:26 +01:00
parent dbe7f1fb62
commit a24b5bfb44
3 changed files with 66 additions and 41 deletions

View File

@@ -32,6 +32,7 @@ func main() {
if err != nil {
log.Fatalf("error opening database: %v\n", err)
}
defer db.Close()
s := scanner.New(
db,
*musicPath,