separate playFolder and playAlbum

This commit is contained in:
geoffrey45
2022-01-15 10:58:32 +03:00
parent 42acaba87c
commit 1b9e6821d6
13 changed files with 138 additions and 74 deletions
-6
View File
@@ -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'}