update supported audio files in settings.py

+ add win_replace_slash function to format win path strings
+ misc
This commit is contained in:
geoffrey45
2023-01-30 15:59:28 +03:00
parent 93a04ba041
commit 7e15680f26
15 changed files with 268 additions and 96 deletions
+5 -2
View File
@@ -43,7 +43,10 @@ class Populate:
if len(dirs_to_scan) == 0:
log.warning(
"The root directory is not configured. Open the app in your web browser to configure."
(
"The root directory is not configured. "
+ "Open the app in your webbrowser to configure."
)
)
return
@@ -85,7 +88,7 @@ class Populate:
for file in tqdm(untagged, desc="Reading files"):
if POPULATE_KEY != key:
raise PopulateCancelledError('Populate key changed')
raise PopulateCancelledError("Populate key changed")
tags = get_tags(file)