Fix rdio album name matching
This commit is contained in:
parent
88ae9b401c
commit
6decb7e8e3
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ module.exports.search = function(data) {
|
|||
var result = results.filter(function(result) {
|
||||
if (type == "album" && result.name.match(/([^\(\[]+)/)[0] == albumClean) {
|
||||
return result;
|
||||
} else if (type == "track" && result.album.name.match(/([^\(\[]+)/)[0] == albumClean) {
|
||||
} else if (type == "track" && result.album.match(/([^\(\[]+)/)[0] == albumClean) {
|
||||
return result;
|
||||
}
|
||||
}).shift();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue