~vesto/geemusic

a9c58298ca33ae7bedfa13a505fa018ce6d28789 — Billy Ferguson 4 years ago dc205ea + ed8d037
Merge pull request #291 from mikeage/fix_missing_art

Fix one more 'invalid response' when playing from a library
1 files changed, 4 insertions(+), 1 deletions(-)

M geemusic/intents/selection.py
M geemusic/intents/selection.py => geemusic/intents/selection.py +4 -1
@@ 37,7 37,10 @@ def play_artist(artist_name):
    # Get a streaming URL for the top song
    stream_url = api.get_stream_url(first_song_id)

    thumbnail = api.get_thumbnail(artist['artistArtRef'])
    if "artistArtRef" in artist:
        thumbnail = api.get_thumbnail(artist['albumArtRef'])
    else:
        thumbnail = None
    if api.use_store:
        speech_text = render_template("play_artist_text", artist=artist['name'])
    else: