mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-05 13:03:02 +00:00
rename album title in track object after extract feat from album title
This commit is contained in:
+2
-2
@@ -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 =====================
|
||||
|
||||
Reference in New Issue
Block a user