Add shuffleId, radioId to artist results [search, get_artist, get_library_artists, get_library_subscriptions, get_library_upload_artists] (closes #153)

This commit is contained in:
sigma67 2021-01-28 16:41:59 +01:00
commit 1c664b6799
No known key found for this signature in database
GPG key ID: 1545A01D4474BAF0
6 changed files with 28 additions and 25 deletions

View file

@ -9,6 +9,7 @@ def parse_artists(results, uploaded=False):
artist = {}
artist['browseId'] = nav(data, NAVIGATION_BROWSE_ID)
artist['artist'] = get_item_text(data, 0)
parse_menu_playlists(data, artist)
if uploaded:
artist['songs'] = get_item_text(data, 1).split(' ')[0]
else: