Compare commits
No commits in common. "1848ebdff4f5930c20da28b27680a02b325fa716" and "9f96393eaf1baf88968e80c78267d216d31d670a" have entirely different histories.
1848ebdff4
...
9f96393eaf
5
musik.py
5
musik.py
|
@ -171,11 +171,6 @@ 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')
|
||||||
|
|
|
@ -30,7 +30,6 @@ function select_artist(select) {
|
||||||
html_str += '<option value="' + nav_items[i] + '">' + nav_items[i] + '</option>';
|
html_str += '<option value="' + nav_items[i] + '">' + nav_items[i] + '</option>';
|
||||||
}
|
}
|
||||||
document.getElementById('albumList').innerHTML = html_str;
|
document.getElementById('albumList').innerHTML = html_str;
|
||||||
document.getElementById('trackList').innerHTML = '';
|
|
||||||
};
|
};
|
||||||
httpRequest.open('GET', api_uri + '?artist=' + select.value, true);
|
httpRequest.open('GET', api_uri + '?artist=' + select.value, true);
|
||||||
httpRequest.send();
|
httpRequest.send();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user