Adrian Sampson
e5a9db1cac
fix up some indentation warnings in plugins
2014-04-13 17:55:49 -07:00
Fabrice Laporte
3ead936fe5
flake8 cleaning beetsplug/*
...
Remaining warnings are related to visual indentation.
2014-04-13 23:24:57 +02:00
Thomas Scholtes
c3ea1ded30
Add item.try_write() to log errors
...
Many commands and plugins use `item.write()` to update tags. Since the success
of the call is not critical to the functionality of most consumers we want to
catch any exceptions, log an error and continue with our task. The new method
encapsulates this logic.
This fixes #675 .
2014-04-10 15:26:05 +02:00
Heinz Wiesinger
7158f7aefc
Make sure bpm values coming from echonest are stored as integers.
2014-01-05 20:21:04 +01:00
Adrian Sampson
b037f777da
echonest_tempo/#420: py26, line wrap, ...
2013-10-16 21:53:46 -07:00
Peter Schnebel
66c01adca1
use duration as another hint to find good matches
2013-10-16 12:40:27 +02:00
Peter Schnebel
fd0d8820bb
Fixed detection of the correct song in EchoNest.
2013-10-16 12:19:25 +02:00
Adrian Sampson
048880011f
echonest_tempo: ensure we have the right track
...
closes #361
2013-09-16 16:59:11 -07:00
Adrian Sampson
c7fe017752
remove Library.{move,store} methods
...
These methods are now provided by LibModel, which makes dealing with items and
albums symmetric.
2013-08-21 15:34:45 -07:00
Adrian Sampson
218f10a62d
echonest_tempo: catch socket.error
2013-03-09 11:33:55 -08:00
Adrian Sampson
a1e89b879d
echonest_tempo: warn on API error
2013-02-18 18:40:59 -08:00
Adrian Sampson
63564d84e7
echonest_tempo: sanitize newlines from input
...
The Echo Nest API confusingly says that the input is missing if it contains a
newline.
2013-02-18 18:34:31 -08:00
Adrian Sampson
5be50fbb38
echonest_tempo: skip when missing artist or title
2013-02-05 10:28:24 -08:00
Adrian Sampson
7a410f636b
happy new year ✨
...
For future reference, this command did the trick:
ack -l 'Copyright 201' | xargs perl -pi -E 's/Copyright 201./Copyright 2013/'
2013-01-11 10:43:41 -08:00
Adrian Sampson
5d210f755c
merge fix from master
2012-12-29 13:07:09 -08:00
Adrian Sampson
082932069f
echonest_tempo: catch IO errors (GC-482)
2012-12-26 17:16:59 -08:00
Adrian Sampson
6b000983c3
merge echonest_tempo fix from master
2012-12-23 14:34:08 -08:00
Adrian Sampson
1809de1500
GH-71: changelog note & retry limit
2012-12-21 23:10:30 -08:00
Zach Denton
e332940247
Wait when Echo Nest API rate limit is exceeded.
2012-12-22 06:31:23 +01:00
Adrian Sampson
6d68a4855e
per-plugin configuration defaults in __init__()
...
This uses the new BeetsPlugin.config convenience view heavily. Things are
slowly getting less verbose.
2012-12-18 22:35:44 -08:00
Adrian Sampson
6c94358b13
begin Confit-ifying plugins in alphabetical order
2012-12-13 12:31:10 -08:00
Adrian Sampson
f5628e03f6
include official beets Echo Nest API key
2012-12-02 16:32:19 -08:00
Adrian Sampson
a8cf42d05b
echonest_tempo: changelog + doc fixes + print fix
2012-12-02 16:25:45 -08:00
David Brenner
0fe2331842
Create echonest_tempo plugin - use EchoNest API to get tempo (bpm).
...
A simple plugin that connects to the EchoNest API to retrieve
tempo (bpm) metadata for tracks. Functions similarly to the lyrics
plugin.
Requires the pyechonest library.
2012-12-02 18:27:20 -05:00