Fix track matching, upgrade GPM heuristics
This commit is contained in:
parent
03c50b550a
commit
d6352b6250
9 changed files with 68 additions and 29 deletions
|
@ -107,7 +107,7 @@ export function* search(data) {
|
|||
album = data.name;
|
||||
} else if (type == 'track') {
|
||||
query = cleanParam(data.artist.name.substring(0, data.artist.name.indexOf('&'))) + ' ' + cleanParam(data.name);
|
||||
album = data.album.name
|
||||
album = data.albumName
|
||||
}
|
||||
const path = '/music/search?q=' + encodeURIComponent(query) + '&filters=' + type + 's';
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue