Permalink
Browse files

fixes #19

  • Loading branch information...
1 parent a1a618e commit 948921200952e62a568ff63e41199104e0e4214f Mac Angell committed Mar 5, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/LastFmAddOn.js
View
@@ -60,7 +60,7 @@ module.exports = function LastFmAddOn(bot) {
if (currentSong) {
lastfm.request('track.getSimilar', {
artist: currentSong.artist,
- track: currentSong.song,
+ track: currentSong.song.replace(/\(.*?\)/gi, ''),
handlers: {
success: function(data) {
var messages = _.map(_.first(_.shuffle(_.first(data.similartracks.track, 20)), 3), function(track) {

0 comments on commit 9489212

Please sign in to comment.