Fix double lookup rdio bug

This commit is contained in:
Jonathan Cremin 2014-12-05 21:14:03 +00:00
parent 740b125a45
commit ee69decc46

View file

@ -121,7 +121,7 @@ module.exports.search = function(data) {
}).shift(); }).shift();
if (!result) { if (!result) {
var matches = album.match(/^[^\(\[]+/); var matches = albumClean.match(/^[^\(\[]+/);
if (matches[0]) { if (matches[0]) {
var cleanedData = JSON.parse(JSON.stringify(data)); var cleanedData = JSON.parse(JSON.stringify(data));
if (type == "album") { if (type == "album") {