Skip to content
This repository
Browse code

Fix headphones images after headphones api change

  • Loading branch information...
commit 9f0af9b277f40aff980c4cf13a0746471c8e8a96 1 parent 2625332
David Gray N3MIS15 authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 modules/headphones.py
4 modules/headphones.py
@@ -80,9 +80,9 @@ def hp_albumart(id):
80 80 @requires_auth
81 81 def xhr_headphones_image(type, id):
82 82 if type == 'artist':
83   - cache_url = headphones_api('getArtistThumb&id=' + id)
  83 + cache_url = headphones_api('getArtistThumb&id=' + id, use_json=False)
84 84 else:
85   - cache_url = headphones_api('getAlbumThumb&id=' + id)
  85 + cache_url = headphones_api('getAlbumThumb&id=' + id, use_json=False)
86 86
87 87 if cache_url:
88 88 url = '%s/%s' % (headphones_url(), cache_url)

0 comments on commit 9f0af9b

Please sign in to comment.
Something went wrong with that request. Please try again.