From 3aa6faab510248a1debe04e7be3482cb0eb30781 Mon Sep 17 00:00:00 2001 From: Hellow2 Date: Fri, 31 Mar 2023 10:46:56 +0200 Subject: [PATCH] finished makeshift downloader --- src/music_kraken/objects/song.py | 4 ++-- src/music_kraken/pages/musify.py | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/music_kraken/objects/song.py b/src/music_kraken/objects/song.py index 8c94b3b..c6d6807 100644 --- a/src/music_kraken/objects/song.py +++ b/src/music_kraken/objects/song.py @@ -192,7 +192,7 @@ class Song(MainObject): if len(self.album_collection) == 0: return f"{self.tracksort}" - return f"{self.tracksort}/{len(self.album_collection[0].tracklist) or 1}" + return f"{self.tracksort}/{len(self.album_collection[0].song_collection) or 1}" """ @@ -298,7 +298,7 @@ class Album(MainObject): return Metadata({ id3Mapping.ALBUM: [self.title], id3Mapping.COPYRIGHT: [self.copyright], - id3Mapping.LANGUAGE: [self.iso_639_2_language], + id3Mapping.LANGUAGE: [self.iso_639_2_lang], id3Mapping.ALBUM_ARTIST: [a.name for a in self.artist_collection], id3Mapping.DATE: [self.date.timestamp] }) diff --git a/src/music_kraken/pages/musify.py b/src/music_kraken/pages/musify.py index d3520ac..0f8d71a 100644 --- a/src/music_kraken/pages/musify.py +++ b/src/music_kraken/pages/musify.py @@ -845,7 +845,8 @@ class Musify(Page): return Song( title=song_name, tracksort=tracksort, - main_artist_list=artist_list + main_artist_list=artist_list, + source_list=source_list ) @classmethod