fixed coverart on random selection

This commit is contained in:
iou1name 2019-02-07 15:02:54 -05:00
parent 8bbf33259d
commit 1848ebdff4

View File

@ -171,6 +171,11 @@ class RandomSelection(Resource):
artist=track.artist,
album=track.album,
track=track.title)
found['coverart'] = url_for(
'coverart',
artist=track.artist,
album=track.album,
track=track.title)
return found
api.add_resource(Selection, '/select')