mirror of
https://github.com/beetbox/beets.git
synced 2026-01-08 17:08:12 +01:00
add echonest_id to debug output
This commit is contained in:
parent
5e0bac8ab5
commit
428302b45c
1 changed files with 2 additions and 0 deletions
|
|
@ -312,6 +312,8 @@ class EchonestMetadataPlugin(plugins.BeetsPlugin):
|
|||
if item.path in self._songs:
|
||||
# song can be a dict
|
||||
if isinstance(self._songs[item.path], pyechonest.song.Song):
|
||||
log.debug(u'echonest: metadata: echonest_id = {0}'
|
||||
.format(self._songs[item.path].id))
|
||||
item.echonest_id = self._songs[item.path].id
|
||||
values = self._songs[item.path].audio_summary
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue