Commit graph

3781 commits

Author SHA1 Message Date
Adrian Sampson
369533d46f Remove special_sorts
These are not extensible anyway; we'll need another mechanism for that.
2014-09-13 19:47:20 -07:00
Adrian Sampson
76c831a1cd Merge branch 'master' of github.com:sampsyo/beets 2014-09-13 17:19:04 -07:00
Adrian Sampson
4870d7e0fa Roll back fast flexible field sorts (#953)
Sad to see them go, but happy be rid of the SQL injection.
2014-09-13 17:16:12 -07:00
Thomas Scholtes
89c82dc63d fetchart: correctly handle path encoding
* Ensure that `config.as_str_seq()` returns a list of unicode objects.
* Map these to bytestring paths so we can compare them to other paths.

Fixes #887
2014-09-13 16:49:34 +02:00
Thomas Scholtes
0bb6348df3 fetchart: Add test that reproduces #887 2014-09-13 16:39:39 +02:00
Adrian Sampson
395be1a0f6 Fix missing super-constructor call 2014-09-12 21:40:00 -07:00
Adrian Sampson
cfb929223e Collapse some duplication in Confit templates 2014-09-12 21:28:32 -07:00
Adrian Sampson
f5b6431488 Flake8 fix 2014-09-12 21:12:44 -07:00
Adrian Sampson
db4e74fd57 Fix mistaken removals 2014-09-12 21:11:53 -07:00
Adrian Sampson
03d0f9dfb3 Fix namedtuple call 2014-09-12 20:59:19 -07:00
Adrian Sampson
bb4082fbfc Style cleanup in sorting 2014-09-12 20:58:25 -07:00
Adrian Sampson
d572bde13b Tiny docs typos
Conflicts:
	docs/plugins/index.rst
2014-09-12 20:58:24 -07:00
Adrian Sampson
ba93d6b176 Move flags back to _raw_main
SubcommandsOptionParser is supposed to be generic.
2014-09-12 20:57:48 -07:00
Thomas Scholtes
7328a09644 Align dispatch of 'version' command with other commands 2014-09-12 17:23:49 +02:00
Adrian Sampson
33da82cd12 Merge pull request #948 from KraYmer/lastgenre-doc
Add a link to whitelist raw file in lastgenre documentation
2014-09-11 23:28:04 -07:00
Fabrice L.
f11bbe6580 fix link 2014-09-12 08:16:01 +02:00
Fabrice L.
469b61689a Link to the internal whitelist raw file content 2014-09-12 07:50:50 +02:00
Thomas Scholtes
fc5f2126bb Add test helper for adding items 2014-09-11 22:47:55 +02:00
Adrian Sampson
4d72643b15 Merge pull request #945 from gwern/master
lastbeats: explain that the whitelist has been modified
2014-09-11 12:21:38 -07:00
Adrian Sampson
524f109339 Changelog for #944 2014-09-11 12:20:45 -07:00
Adrian Sampson
dc8654f4a0 Merge pull request #944 from gwern/patch-1
genres.txt: rm fake genres
2014-09-11 12:19:46 -07:00
gwern
971bff95fa lastbeats: explain that the whitelist has been modified
current description sounds like the whitelist is regularly synced and should not be/has not been edited
2014-09-11 14:38:33 -04:00
gwern
35efa7283f genres.txt: rm fake genres
see issue #943; deleted all suggestions except 'early music' which some people may want/find meaningful
2014-09-11 14:37:01 -04:00
Thomas Scholtes
5279016db4 config: Add suport for 'key in config' syntax
We can use this instead of the cumbersome `config[key].exists()`.
2014-09-11 16:09:26 +02:00
Thomas Scholtes
7958469b25 mediafile: Zero-padded date format
Tag files with '2000-08-01' instead of '2000-8-1'
2014-09-11 11:48:34 +02:00
Adrian Sampson
832f34c46c --version (fix #939) 2014-09-10 19:36:09 -07:00
Adrian Sampson
6dd6d4770e Skip zero-track matches (fix #942) 2014-09-10 19:08:39 -07:00
Adrian Sampson
3de66ccd65 Remove BitBucket references 2014-09-10 11:53:46 -07:00
Thomas Scholtes
9ee794beb7 Model.load() should remove flexible fields 2014-09-10 17:22:23 +02:00
Fabrice L.
5a799c7fbe Merge pull request #924 from nrgetik/patch-1
Update genres-tree.yaml using scraping script <https://github.com/nrgetik/genre-cannon>.
2014-09-10 10:23:56 +02:00
Thomas Scholtes
cfe82e9736 convert: Pipepline stage yields result 2014-09-09 23:41:47 +02:00
Thomas Scholtes
98ae8cbbc9 Make tests conform to PEP8 2014-09-09 22:31:46 +02:00
Thomas Scholtes
114d3f95bd Check conversion against custom format 2014-09-09 22:06:18 +02:00
Thomas Scholtes
8b73681cf3 Remove unused function 2014-09-09 20:23:32 +02:00
Thomas Scholtes
4ed568ba91 Remove duplicate OrderedEnum and use utils instead
This is a leftover cleanup from c4e6f389.
2014-09-08 17:29:34 +02:00
Thomas Gordon
f910ac6a63 Correct busted encoding hopefully 2014-09-06 14:14:15 -04:00
Thomas Gordon
c91c91c7da Merge remote-tracking branch 'origin/patch-2' into patch-1 2014-09-06 14:00:33 -04:00
Thomas Scholtes
3b017a6f1e Add ImportTaskFactory class
Removes duplication and makes code leaner. Also fixes #932.
2014-09-06 19:05:16 +02:00
Thomas Scholtes
3ce5dda0c9 Failing tests for empty import directories
Reproduces #932.
2014-09-06 18:52:57 +02:00
Thomas Gordon
98adb35e3f Change expected result for compatibility with updated genres-tree.yaml 2014-09-06 08:51:31 -04:00
Adrian Sampson
703ee410b4 Quieter Travis notifications in IRC 2014-09-05 11:46:27 -07:00
Thomas Scholtes
6b26a0e8bb Bump version in setup.py
see 787f0e25c5
2014-09-05 19:54:39 +02:00
Thomas Scholtes
429f1c1573 PEP8 Fixes 2014-09-05 19:53:46 +02:00
Thomas Scholtes
a0cf1f30e3 Refactor _load_plugins
Move configuration validation into `confit`. Get rid of dependency on
global configuration object.
2014-09-05 19:51:15 +02:00
Thomas Scholtes
68bc77362b Increase test speed by removing unnecessary file operations 2014-09-05 19:49:20 +02:00
Thomas Scholtes
273874f3a2 Refactor cli main function
The logic of setting up beets and running a command was scattered
across the `_raw_main` and `_configure` functions. This is an attempt
to bring more structure to the process and to diminish the dependency
on global state.
2014-09-05 19:05:06 +02:00
Thomas Gordon
4c622966e6 Update genres-tree.yaml 2014-09-05 11:13:29 -04:00
Thomas Scholtes
17549b873e info: Show data for each item, not only first one 2014-09-05 16:09:57 +02:00
Adrian Sampson
558c93f988 Changelog for #931 2014-09-04 10:45:34 -07:00
Adrian Sampson
88d7172c5e Merge pull request #931 from BrainDamage/playrelative
play plugin can generate relative paths
2014-09-04 10:44:15 -07:00