fixed coverart on random selection
This commit is contained in:
parent
8bbf33259d
commit
1848ebdff4
5
musik.py
5
musik.py
|
@ -171,6 +171,11 @@ class RandomSelection(Resource):
|
||||||
artist=track.artist,
|
artist=track.artist,
|
||||||
album=track.album,
|
album=track.album,
|
||||||
track=track.title)
|
track=track.title)
|
||||||
|
found['coverart'] = url_for(
|
||||||
|
'coverart',
|
||||||
|
artist=track.artist,
|
||||||
|
album=track.album,
|
||||||
|
track=track.title)
|
||||||
return found
|
return found
|
||||||
|
|
||||||
api.add_resource(Selection, '/select')
|
api.add_resource(Selection, '/select')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user