Switch cover art to 640px image

Fixes recent API change that switched the order of cover art URLs, causing zotify to fetch 64px images.
This commit is contained in:
Zotify 2022-10-18 21:25:07 +00:00
parent 505a52f0ab
commit b416ca9853
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ def get_song_info(song_id) -> Tuple[List[str], List[Any], str, str, Any, Any, An
album_name = info[TRACKS][0][ALBUM][NAME] album_name = info[TRACKS][0][ALBUM][NAME]
name = info[TRACKS][0][NAME] name = info[TRACKS][0][NAME]
image_url = info[TRACKS][0][ALBUM][IMAGES][0][URL] image_url = info[TRACKS][0][ALBUM][IMAGES][2][URL]
release_year = info[TRACKS][0][ALBUM][RELEASE_DATE].split('-')[0] release_year = info[TRACKS][0][ALBUM][RELEASE_DATE].split('-')[0]
disc_number = info[TRACKS][0][DISC_NUMBER] disc_number = info[TRACKS][0][DISC_NUMBER]
track_number = info[TRACKS][0][TRACK_NUMBER] track_number = info[TRACKS][0][TRACK_NUMBER]