mirror of
https://github.com/beetbox/beets.git
synced 2025-12-15 04:55:10 +01:00
bugfix
This commit is contained in:
parent
c4445df8af
commit
1324498f29
1 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue