This commit is contained in:
Peter Schnebel 2013-10-26 09:06:47 +02:00
parent c4445df8af
commit 1324498f29

View file

@ -271,7 +271,10 @@ class EchonestMetadataPlugin(plugins.BeetsPlugin):
buckets=['id:musicbrainz', 'audio_summary'])
if not songs:
raise Exception(u'could not get songs from track ID')
return self._pick_song(songs, item)
# It seems like _pick_song fails even if we have a good match. So
# just return the first song.
# return self._pick_song(songs, item)
return songs[0]
except Exception as exc:
log.debug(u'echonest: profile failed: {0}'.format(str(exc)))
return None