Files are processed in Order

This commit is contained in:
matthias@arch 2021-10-03 20:31:50 +02:00
parent 7c2061f932
commit 6fc54858de
2 changed files with 5 additions and 1 deletions

View File

@ -58,6 +58,7 @@ After installing, you can use it like this: `nicole -ior -d ~/music/artist --rm_
### 1.1 ### 1.1
- Lyrics are now properly encoded. - Lyrics are now properly encoded.
- If a title contains paranthesis or umlaute, multiple possible urls will be checked. - If a title contains paranthesis or umlaute, multiple possible urls will be checked.
- Files are now processed in order
## Importand Notice ## Importand Notice
This software comes with no warranty! This software comes with no warranty!

View File

@ -205,7 +205,10 @@ class Nicole:
print("\nProcessing directory: " + directory) print("\nProcessing directory: " + directory)
for entry in listdir(directory): entries = listdir(directory)
entries.sort()
for entry in entries:
entry = path.normpath(directory + "/" + entry) entry = path.normpath(directory + "/" + entry)
if path.isfile(entry): if path.isfile(entry):