Commit graph

1482 commits

Author SHA1 Message Date
Adrian Sampson
c418e6d379 configurable MusicBrainz host/rate limit (GC-408) 2013-01-11 13:33:14 -08:00
Adrian Sampson
974929541f terminal_encoding config option (GC-472) 2013-01-11 13:07:57 -08:00
Adrian Sampson
d6c7cfa4e3 lyrics: replace apostrophes with ' (GC-498) 2013-01-11 10:51:22 -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
b9a6f4d617 remove outdated "art" config in docs 2013-01-06 16:21:20 -08:00
Adrian Sampson
f7bef39769 GH-72: use function bodies instead of special var 2013-01-05 17:48:00 -08:00
Adrian Sampson
14b5170aec GH-72: some cleanup and changelog note 2013-01-05 17:20:39 -08:00
Adrian Sampson
ef8b95b05b Merge pull request #72 from flz/master
Add support for code blocks to inline plugin
2013-01-05 17:12:55 -08:00
Florent Thoumie
da0642a026 inline: Add support for code blocks.
This should be backwards compatible. In case the the path field
isn't a statement, beets will assume it's a block of code that
stores the value in a special '_' variable.
2013-01-05 23:00:10 +00:00
Adrian Sampson
9e2e8e5ca7 fix coroutine init for "as Tracks" (GC-486) 2013-01-02 16:16:26 -08:00
Adrian Sampson
f127d8e18a merge scrub fix from master 2012-12-31 18:25:51 -08:00
Adrian Sampson
287d00179a scrub: fix Py27-style format string (GC-484) 2012-12-31 18:11:31 -08:00
Adrian Sampson
628f4816cd merge changelog note and tag from master release 2012-12-31 16:53:20 -08:00
Adrian Sampson
46508fec48 Added tag 1.0rc2 for changeset f3cd4c138c6f 2012-12-31 16:34:51 -08:00
Adrian Sampson
71fd8d5030 version numbers for 1.0rc2 release 2012-12-31 16:31:48 -08:00
Adrian Sampson
b1fe4b263c migration: drop empty sections 2012-12-31 16:13:46 -08:00
Adrian Sampson
3e2aca82b8 correctly parse and migrate "pluginpath"
This used to be a colon-separated list. Now we use a real YAML list (or a
single string).
2012-12-31 16:09:16 -08:00
Adrian Sampson
cf3860257f inline: fix defaults (dict, not list) 2012-12-31 15:54:26 -08:00
Adrian Sampson
e4d008dec4 slightly nicer-looking migration output
I'm using a silly little regular expression to insert some newlines that make
the config file easier to read. There's also a comment at the top of the file
saying that the config was migrated.
2012-12-31 15:50:56 -08:00
Adrian Sampson
bd586c694e merge fix from master 2012-12-30 17:20:32 -08:00
Adrian Sampson
e6e7e93657 disable auto-migration for unit tests 2012-12-30 17:20:18 -08:00
Adrian Sampson
0fdda2fe0b implicit colorization conditional
This simplifies many points in the code where the "color" option had to be
checked by centralizing these checks.
2012-12-30 17:18:14 -08:00
Adrian Sampson
3b56bf4b8b python version classifiers in setup.py 2012-12-30 16:23:37 -08:00
Adrian Sampson
9b4c7f77f4 on OS X, prioritize ~/.config for migration 2012-12-30 16:01:15 -08:00
Adrian Sampson
e893926aae automatic migration on program startup 2012-12-30 14:51:08 -08:00
Adrian Sampson
16bb655d87 migrate database and state file 2012-12-30 11:36:13 -08:00
Adrian Sampson
56c379f36d migrate path formats and replacements 2012-12-29 22:16:30 -08:00
Adrian Sampson
3535305aec migrate import_*, auto*, and plugin names 2012-12-29 21:55:44 -08:00
Adrian Sampson
64f1f7eb3c "migrate" command writes to config.yaml
The command now moves any existing config.yaml file aside and writes the
translated data in its place.
2012-12-29 21:44:27 -08:00
Adrian Sampson
f6cb877cde primitive legacy-config migration command 2012-12-29 17:54:13 -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
392f9861e0 allow the import log path to be None 2012-12-23 18:06:55 -08:00
Adrian Sampson
123189b393 default file locations
Due mostly to some improvements in Confit, we now have a reasonable way to
define the default filenames of auxiliary data files. These are relative to the
beets config directory (i.e., alongside config.yaml).
2012-12-23 18:01:21 -08:00
Adrian Sampson
51e9c519d4 plugin renames: fuzzy and random
Renamed fuzzy_search to fuzzy and rdm to random. These names should be easier
to remember since they are the same as the commands they provide.

--HG--
rename : beetsplug/fuzzy_search.py => beetsplug/fuzzy.py
rename : beetsplug/rdm.py => beetsplug/random.py
rename : docs/plugins/fuzzy_search.rst => docs/plugins/fuzzy.rst
rename : docs/plugins/rdm.rst => docs/plugins/random.rst
2012-12-23 14:46:20 -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
Adrian Sampson
85b62081e4 Merge pull request #71 from zacharydenton/master
echonest_tempo plugin: Don't crash when Echo Nest API rate limit is exceeded.
2012-12-21 22:55:01 -08:00
Zach Denton
e332940247 Wait when Echo Nest API rate limit is exceeded. 2012-12-22 06:31:23 +01:00
Adrian Sampson
11e1fd1bd8 document new Confit-based configuration 2012-12-20 21:56:47 -08:00
Adrian Sampson
3c511b9e27 rename Confit's add_args to set_args 2012-12-20 17:14:04 -08:00
Adrian Sampson
2f5165d4e1 avoid loading a "phantom" plugin
I'm not sure when this was introduced, but "beet version" could list a plugin
called "plugins" because the load_plugins function would pick up the
BeetsPlugin class itself. This was benign but confusing.
2012-12-20 17:08:05 -08:00
Adrian Sampson
a23b685747 use Confit's as_str_seq() instead of get(list)
This validator lets the user write either a real list, like [a, b, c], or just
a whitespace-separated string, like a b c. This is a little nicer for some
settings like "plugins" where the brackets and commas just look like line
noise.
2012-12-20 17:03:51 -08:00
Adrian Sampson
2451571dbe version bump to "1.1b1" 2012-12-19 12:25:48 -08:00
Adrian Sampson
fbcd1d1c18 merge fixes from master 2012-12-19 12:22:23 -08:00
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