mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 20:43:04 +00:00
separate playFolder and playAlbum
This commit is contained in:
@@ -20,8 +20,6 @@ def populate():
|
||||
'''
|
||||
files = helpers.run_fast_scandir(helpers.home_dir, [".flac", ".mp3"])[1]
|
||||
|
||||
bar = Bar('Indexing files', max=len(files))
|
||||
|
||||
for file in files:
|
||||
file_in_db_obj = instances.songs_instance.find_song_by_path(file)
|
||||
|
||||
@@ -39,10 +37,6 @@ def populate():
|
||||
except MutagenError:
|
||||
pass
|
||||
|
||||
bar.next()
|
||||
|
||||
bar.finish()
|
||||
|
||||
return {'msg': 'updated everything'}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user