local: Print number of tracks in library
This commit is contained in:
parent
ce13e7ae9e
commit
209a6659f6
@ -49,8 +49,9 @@ class ScanCommand(command.Command):
|
||||
uris_update = set()
|
||||
uris_remove = set()
|
||||
|
||||
logger.info('Checking tracks from library.')
|
||||
for track in local_updater.load():
|
||||
tracks = local_updater.load()
|
||||
logger.info('Checking %d tracks from library.', len(tracks))
|
||||
for track in tracks:
|
||||
try:
|
||||
uri = translator.local_to_file_uri(track.uri, media_dir)
|
||||
stat = os.stat(path.uri_to_path(uri))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user