mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-19 13:27:42 +03:00
More logging in the Importer
This commit is contained in:
parent
48b465f2fb
commit
28ee1f195c
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,6 +1,6 @@
|
||||
/sonic-server
|
||||
/iTunes*.xml
|
||||
devDb
|
||||
devDb*
|
||||
/tmp
|
||||
vendor/*/
|
||||
wiki
|
||||
|
@ -89,7 +89,7 @@ func (i *Importer) scan() {
|
||||
return
|
||||
}
|
||||
|
||||
log.Debug("Found", "tracks", total,
|
||||
log.Debug("Totals informed by the scanner", "tracks", total,
|
||||
"songs", len(i.scanner.MediaFiles()),
|
||||
"albums", len(i.scanner.Albums()),
|
||||
"artists", len(i.scanner.Artists()),
|
||||
@ -127,9 +127,13 @@ func (i *Importer) importLibrary() (err error) {
|
||||
|
||||
log.Debug("Saving updated data")
|
||||
mfs, mfu := i.importMediaFiles()
|
||||
log.Debug("Imported media files", "total", len(mfs), "updated", mfu)
|
||||
als, alu := i.importAlbums()
|
||||
log.Debug("Imported albums", "total", len(als), "updated", alu)
|
||||
ars := i.importArtists()
|
||||
log.Debug("Imported artists", "total", len(ars))
|
||||
pls := i.importPlaylists()
|
||||
log.Debug("Imported playlists", "total", len(pls))
|
||||
i.importArtistIndex()
|
||||
|
||||
log.Debug("Purging old data")
|
||||
|
Loading…
x
Reference in New Issue
Block a user