Adrian Sampson
2023344019
Windows: fix relative paths in normpath()
...
The changes introduced in rc1 caused paths to be syspath-ified before they were
passed to os.path.abspath. The magic prefix caused them to be interpreted as
absolute paths even if they were relative. The fix is, in this *isolated*
case, to use Unicode but prefix-free paths in calls to the os.path.* functions.
Those functions need to act on Unicode objects but seem to be purely syntactic
-- nothing is tripped up by using long filenames without the magic prefix.
2012-12-19 12:19:23 -08:00
Jakob Schnitzer
792b74f4a2
have setup.py install the default config
2012-12-19 18:29:14 +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
4a5594bec6
begin adding convenient plugin defaults
...
We need plugins to set their config values at run time instead of module import
time. That is, defaults should be put in the __init__ method. This is easy
enough, but to make it even more convenient, I added a BeetsPlugin.config
field, which is a Confit view into a subsection of the configuration named
after the plugin.
2012-12-18 20:42:42 -08:00
Adrian Sampson
2c45251db9
clean configuration for testing
...
This way, unit tests will never see a user's global beets configuration.
2012-12-18 20:27:36 -08:00
Adrian Sampson
f606827cb9
fix ordered dictionary methods on views
2012-12-18 20:10:42 -08:00
Adrian Sampson
55cac36d35
sync with latest confit
...
This includes Confit's shift to using OrderedDict, which needs some debugging.
2012-12-18 20:03:52 -08:00
Adrian Sampson
09c543ed0e
remove link to GitHub downloads page
...
https://github.com/blog/1302-goodbye-uploads
2012-12-17 23:32:55 -08:00
Adrian Sampson
0c49db0f11
fetchart: fix exception when source returns None
2012-12-17 23:22:45 -08:00
Adrian Sampson
5b50f235c6
Added tag 1.0rc1 for changeset c84744f4519b
2012-12-17 18:12:38 -08:00
Adrian Sampson
556a77a506
docs version: 1.0
2012-12-17 18:11:39 -08:00
Adrian Sampson
6082f0162f
changelog summary for 1.0rc1
2012-12-17 18:04:39 -08:00
Adrian Sampson
c0461c8847
improve some short plugin descriptions
2012-12-17 17:29:24 -08:00
Adrian Sampson
6a69c13132
exit without traceback on ^C
2012-12-17 17:13:11 -08:00
Adrian Sampson
3a0ac96cc5
zero: Unicode logging calls
2012-12-17 15:08:48 -08:00
Adrian Sampson
f6ff974255
fix non-boolean modifications to boolean MF fields
2012-12-16 13:03:33 -08:00
Adrian Sampson
85600df2be
remove outdated test
2012-12-15 13:22:18 -08:00
Adrian Sampson
cbd538de7b
combine TempConfigTestCase and ExtraAsserts
2012-12-15 13:21:09 -08:00
Adrian Sampson
39cd1f6c63
switch from context manager to base class
...
Replaced temp_config context manager with TempConfigTestCase base class. This
lets us clean up even when a test fails.
2012-12-15 13:15:10 -08:00
Adrian Sampson
3e5ef375c8
confit-ify remaining tests except for ConfigTest
2012-12-14 15:23:47 -08:00
Adrian Sampson
ed3a3d1937
confit-ify a bunch more tests
2012-12-14 14:21:06 -08:00
Adrian Sampson
6f19f466fc
tests: temporarily modify global configuration
2012-12-14 13:39:14 -08:00
Adrian Sampson
e84a41b550
start fixing up tests for confit overhaul
2012-12-14 13:18:06 -08:00
Adrian Sampson
582851a6fe
merge fix from master
2012-12-14 12:57:40 -08:00
Adrian Sampson
4222b37bc2
convert: fix processing singletons w/ "embed" on
2012-12-14 12:38:46 -08:00
Adrian Sampson
3ef9e006f4
finish confit-ifying all the plugins
2012-12-13 17:14:19 -08:00
Adrian Sampson
6c94358b13
begin Confit-ifying plugins in alphabetical order
2012-12-13 12:31:10 -08:00
Adrian Sampson
e17cd6beba
merge lots of work on the stable branch
2012-12-12 19:14:30 -08:00
Adrian Sampson
49ae56e455
embedart: changelog for GC-468
2012-12-11 13:53:02 -08:00
Adrian Sampson
909fb85a8e
use Mutagen's API for FLAC images (GC-468)
2012-12-11 13:47:26 -08:00
Daniele Sluijters
faa21390a5
mediafile: Handle FLAC albumart correctly.
...
FLAC's metadata_block_picture should just contain the image, not
base64'ed like ogg/vorbis wants it.
---
beets/mediafile.py | 23 ++++++++++++++++++++++-
1 file changed, 22 insertions(+), 1 deletion(-)
2012-12-11 13:36:45 -08:00
Adrian Sampson
2d4b91fa6d
replaygain: handle RG tool invocation errors (GC-469)
2012-12-11 13:09:10 -08:00
Adrian Sampson
531025f799
replaygain: restrict file formats (GC-469)
2012-12-11 13:06:57 -08:00
Adrian Sampson
98892945c2
don't crash when singleton-importing broken files
2012-12-08 12:10:06 -08:00
Adrian Sampson
ae7b29b698
log Mutagen exceptions in debug message
2012-12-08 12:03:42 -08:00
Adrian Sampson
3e9135ee7c
syspath-ify call to pyacoustid (GC-464)
2012-12-07 14:49:11 -08:00
Adrian Sampson
128a881bb4
GH-69/GC-450: docs, changelog, simplification
2012-12-05 09:10:07 -08:00
Adrian Sampson
c50289d34d
Merge pull request #69 from jizz/master
...
Fix for Issue 450: Expand templates in art_filename config option
2012-12-05 08:54:42 -08:00
jizz
fe1b40f7d2
minor tweak
2012-12-05 11:58:10 +11:00
jizz
12aaa2ee34
updated art_destination
...
art_filename now acceptable as a string or a Template
2012-12-05 11:05:12 +11:00
jizz
c56c52c5d5
updated comments
2012-12-05 11:02:34 +11:00
jizz
6b7b54062f
Update beets/library.py
...
Fix for Issue 450: Expand templates in art_filename config option
2012-12-04 16:25:18 +11:00
jizz
131b191885
Update beets/ui/__init__.py
...
Fix for Issue 450: Expand templates in art_filename config option
2012-12-04 16:24:15 +11:00
Adrian Sampson
22d17aaa30
handle non-Unicode exception strings correctly
2012-12-02 16:58:49 -08:00
Adrian Sampson
4f5c5d4e4f
echonest_tempo: docs wording fix
2012-12-02 16:34:05 -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
Adrian Sampson
269f2ced5d
Merge pull request #68 from davidbrenner/master
...
echonest_tempo plugin
2012-12-02 16:12:52 -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
Adrian Sampson
02fe85df89
Merge pull request #67 from mineo/patch-1
...
Some grammar corrections for docs/.../ihate.rst
2012-12-01 10:15:07 -08:00