Added search-endpoint for fetching by category

This commit is contained in:
Kasper Rynning-Tønnesen
2019-02-24 23:59:00 +01:00
parent c66d6efa76
commit 6c0c110b68
3 changed files with 89 additions and 3 deletions

View File

@@ -1248,7 +1248,7 @@ var List = {
var video_title = _song_info.title;
var video_votes = _song_info.votes;
var tags = "";
if(_song_info.tags != undefined) _song_info.tags.toLowerCase();
if(_song_info.tags != undefined) _song_info.tags.join(",").toLowerCase();
var video_thumb_url = "//img.youtube.com/vi/"+video_id+"/mqdefault.jpg";
if(_song_info.source == "soundcloud") {
video_thumb_url = _song_info.thumbnail;