added market logic

This commit is contained in:
Xoconoch
2025-06-04 14:44:14 -06:00
parent 0ab091f492
commit 1f6ce13f27
11 changed files with 800 additions and 190 deletions

View File

@@ -13,7 +13,11 @@ class Track:
self.tags = tags
self.__set_tags()
self.song_name = f"{self.music} - {self.artist}"
music_display = getattr(self, 'music', getattr(self, 'name', "Unknown Track"))
artist_display = getattr(self, 'artist', "Unknown Artist")
self.song_name = f"{music_display} - {artist_display}"
self.song_path = song_path
self.file_format = file_format
self.quality = quality