rename album title in track object after extract feat from album title

This commit is contained in:
geoffrey45
2023-04-16 18:05:52 +03:00
parent aa54a9bc0c
commit 994711b887
3 changed files with 8 additions and 4 deletions
+2 -2
View File
@@ -98,11 +98,11 @@ class TrackStore:
track.is_favorite = False
@classmethod
def append_track_artists(cls, albumhash: str, artists: list[str]):
def append_track_artists(cls, albumhash: str, artists: list[str], new_album_title:str):
tracks = cls.get_tracks_by_albumhash(albumhash)
for track in tracks:
track.add_artists(artists)
track.add_artists(artists, new_album_title)
# ================================================
# ================== GETTERS =====================