diff --git a/lib/services/rdio.js b/lib/services/rdio.js index c024eb1..4da6503 100644 --- a/lib/services/rdio.js +++ b/lib/services/rdio.js @@ -121,7 +121,7 @@ module.exports.search = function(data) { }).shift(); if (!result) { - var matches = album.match(/^[^\(\[]+/); + var matches = albumClean.match(/^[^\(\[]+/); if (matches[0]) { var cleanedData = JSON.parse(JSON.stringify(data)); if (type == "album") {