feat: updating tracksort before downloading

This commit is contained in:
Hazel 2024-04-11 14:06:22 +02:00
parent 25eacfbe6e
commit 38f3b1da1d
2 changed files with 5 additions and 3 deletions

View File

@ -21,6 +21,7 @@
"dotenv",
"levenshtein",
"OKBLUE",
"Referer"
"Referer",
"tracksort"
]
}

View File

@ -378,8 +378,9 @@ class Page:
if not (isinstance(music_object, Song) and self.NO_ADDITIONAL_DATA_FROM_SONG):
self.fetch_details(music_object=music_object, stop_at_level=1)
if isinstance(music_object, Song):
trace(music_object.option_string)
if isinstance(music_object, Album):
music_object.update_tracksort()
naming_dict.add_object(music_object)