mirror of
https://github.com/beetbox/beets.git
synced 2025-12-09 18:12:19 +01:00
bugfix
This commit is contained in:
parent
2d1788e595
commit
c4445df8af
1 changed files with 3 additions and 1 deletions
|
|
@ -196,7 +196,9 @@ class EchonestMetadataPlugin(plugins.BeetsPlugin):
|
|||
buckets=['audio_summary'])
|
||||
if songs is None:
|
||||
raise Exception(u'failed to retrieve info from upload')
|
||||
return self._pick_song(songs, item)
|
||||
# No need to _pick_song, match is match
|
||||
# return self._pick_song(songs, item)
|
||||
return songs[0]
|
||||
except Exception as exc:
|
||||
log.error(u'echonest: analysis failed: {0}'.format(str(exc)))
|
||||
return None
|
||||
|
|
|
|||
Loading…
Reference in a new issue