mirror of
https://github.com/beetbox/beets.git
synced 2025-12-15 21:14:19 +01:00
echonest: Fix #896 (handle missing duration)
This commit is contained in:
parent
7c08830113
commit
5fb4003ebe
2 changed files with 3 additions and 1 deletions
|
|
@ -400,7 +400,7 @@ class EchonestMetadataPlugin(plugins.BeetsPlugin):
|
|||
method.__name__,
|
||||
item.artist,
|
||||
item.title,
|
||||
song['duration'],
|
||||
song.get('duration'),
|
||||
)
|
||||
)
|
||||
return song
|
||||
|
|
|
|||
|
|
@ -24,6 +24,8 @@ Fixed:
|
|||
:doc:`/plugins/echonest` instead.
|
||||
* :doc:`/plugins/echonest`: Fingerprint-based lookup has been removed in
|
||||
accordance with `API changes`_. :bug:`1121`
|
||||
* :doc:`/plugins/echonest`: Avoid a crash when the song has no duration
|
||||
information. :bug:`896`
|
||||
|
||||
.. _API changes: http://developer.echonest.com/forums/thread/3650
|
||||
.. _Plex: https://plex.tv/
|
||||
|
|
|
|||
Loading…
Reference in a new issue