More logging in the Importer
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
/sonic-server
|
/sonic-server
|
||||||
/iTunes*.xml
|
/iTunes*.xml
|
||||||
devDb
|
devDb*
|
||||||
/tmp
|
/tmp
|
||||||
vendor/*/
|
vendor/*/
|
||||||
wiki
|
wiki
|
||||||
|
|||||||
+5
-1
@@ -89,7 +89,7 @@ func (i *Importer) scan() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Debug("Found", "tracks", total,
|
log.Debug("Totals informed by the scanner", "tracks", total,
|
||||||
"songs", len(i.scanner.MediaFiles()),
|
"songs", len(i.scanner.MediaFiles()),
|
||||||
"albums", len(i.scanner.Albums()),
|
"albums", len(i.scanner.Albums()),
|
||||||
"artists", len(i.scanner.Artists()),
|
"artists", len(i.scanner.Artists()),
|
||||||
@@ -127,9 +127,13 @@ func (i *Importer) importLibrary() (err error) {
|
|||||||
|
|
||||||
log.Debug("Saving updated data")
|
log.Debug("Saving updated data")
|
||||||
mfs, mfu := i.importMediaFiles()
|
mfs, mfu := i.importMediaFiles()
|
||||||
|
log.Debug("Imported media files", "total", len(mfs), "updated", mfu)
|
||||||
als, alu := i.importAlbums()
|
als, alu := i.importAlbums()
|
||||||
|
log.Debug("Imported albums", "total", len(als), "updated", alu)
|
||||||
ars := i.importArtists()
|
ars := i.importArtists()
|
||||||
|
log.Debug("Imported artists", "total", len(ars))
|
||||||
pls := i.importPlaylists()
|
pls := i.importPlaylists()
|
||||||
|
log.Debug("Imported playlists", "total", len(pls))
|
||||||
i.importArtistIndex()
|
i.importArtistIndex()
|
||||||
|
|
||||||
log.Debug("Purging old data")
|
log.Debug("Purging old data")
|
||||||
|
|||||||
Reference in New Issue
Block a user