Thomas Scholtes
d0e5b411cf
Documentation for configuration location
2014-02-18 18:24:49 +01:00
Thomas Scholtes
f1f6adcb0d
Implement new configuration behaviour
2014-02-18 16:48:35 +01:00
Thomas Scholtes
d900b594be
Specify configuration behaviour with tests
...
Beets stores all its data in the `BEETSDIR` directory. The default is
determined by the system:
* `%APPDATA%\beets` on Windows. If the `APPDATA` environment variable is
not set it falls back to `~\AppData\Roaming\beets`.
* `$XDG_CONFIG_DIR/beets` on UNIX. If the `XDG_CONFIG_DIR` environment
variable is not set it falls back to `~/.config/beets`
* `~/Library/Application Support/beets` on OSX
The default can be overwritten using the `BEETSDIR` environment variable.
The user configuration is read from `$BEETSDIR/config.yaml`. Additional
configuration files that overwrite options from the user configuration may
be specified using the `--config` command line options.
All relative paths in any configuration are resolved relative to `BEETSDIR`.
2014-02-18 16:48:35 +01:00
Adrian Sampson
661e82fdec
echonest: remove confusing length output ( #545 )
2014-02-17 22:57:37 -05:00
Adrian Sampson
c196f20dfc
fix numeric queries over empty string ( fix #547 )
2014-02-17 22:51:53 -05:00
Adrian Sampson
5d55312fdb
add TOCs to some documentation
2014-02-16 19:25:26 -08:00
Adrian Sampson
a8ee13f16e
add some failing tests for date queries
2014-02-14 23:02:51 -08:00
Adrian Sampson
4feccd4712
date queries: light style changes
2014-02-14 22:21:26 -08:00
Adrian Sampson
1d67201290
link to copyartifacts plugin
2014-02-13 21:38:55 -08:00
Adrian Sampson
a2075d31e5
modify: use formatted values in _showdiff()
...
Perhaps we should use this for other commands also. One outstanding issue is
strange highlighting (e.g., "True -> False" helpfully shows that the "e" did
not change).
2014-02-13 21:33:58 -08:00
Adrian Sampson
be31ac683a
Model._parse() class method
2014-02-13 21:29:17 -08:00
Adrian Sampson
b1d70eee39
modify: remove special parsing logic
...
This could be nicer, but at least we now use standard type-based parsing.
2014-02-13 21:22:23 -08:00
Adrian Sampson
e37d00c93c
changelog for config priorities ( #513 )
2014-02-13 13:58:47 -08:00
Adrian Sampson
4bb2622b9b
fix testability of main entry point
2014-02-13 13:56:26 -08:00
Adrian Sampson
276a09bad7
clean up --config handling
...
In reference to a363d9672f . This helps preserve
modularity/readability by avoiding contamination of the subcommand logic with
beets-specific logic.
2014-02-13 13:46:20 -08:00
Adrian Sampson
23fb5da1dc
Revert "Replace path separators from config"
...
This reverts commit c82b31e750 .
Conflicts:
docs/changelog.rst
2014-02-13 13:22:45 -08:00
Thomas Scholtes
a825f8465f
Remove feature for separate review
2014-02-13 15:31:08 +01:00
Thomas Scholtes
d8ea108ee2
Rename method to convention
2014-02-13 15:08:49 +01:00
Thomas Scholtes
5f54fbc04b
Remove unused code
2014-02-13 14:27:52 +01:00
Thomas Scholtes
9f59592a88
Basic test cases should come first
2014-02-13 14:24:49 +01:00
Thomas Scholtes
9e4181a2c7
Implement FLAC image storage style
2014-02-13 14:22:28 +01:00
Thomas Scholtes
45921cac9e
StorageStyle specifies which format it can handle
2014-02-13 14:15:36 +01:00
Thomas Scholtes
326ce54a2c
Add ASF image storage style
2014-02-13 13:28:39 +01:00
Thomas Scholtes
8e3c825f18
Rename property for consistency with conventions
2014-02-12 14:39:27 +01:00
Thomas Scholtes
c156f893d1
Remove unused code
2014-02-12 14:37:48 +01:00
Adrian Sampson
8df31453c0
setup.py: remove namespace_packages declaration
...
Looks like the Setuptools people are moving to make this an error. I don't
think it was doing anything anyway.
https://bitbucket.org/pypa/setuptools/issue/12/update-or-remove-warning-when-namespace
2014-02-11 12:06:25 -08:00
Adrian Sampson
c6d649eadf
changelog/thanks for #535
2014-02-11 09:53:41 -08:00
Adrian Sampson
007c26176e
Merge pull request #535 from kljohann/last_playing
...
mpdstats: update last_played
2014-02-11 09:51:46 -08:00
Adrian Sampson
3dd9e4622f
lastgenre: tolerate el.weight is None
2014-02-11 09:49:15 -08:00
Adrian Sampson
7190964e05
restore echonest fetch command ( fix #540 )
2014-02-11 09:44:02 -08:00
Thomas Scholtes
1f01997141
Only write mediafiles when tags have changed
2014-02-11 15:20:44 +01:00
Thomas Scholtes
52c0e93f07
JPG image data returns correctly
2014-02-11 14:54:33 +01:00
Thomas Scholtes
49bce6276e
Fix test run with setuptools
2014-02-11 13:24:47 +01:00
Adrian Sampson
4c5fc8fd76
echonest: use only one plugin class ( fix #536 )
2014-02-10 22:08:15 -08:00
Johann Klähn
73a43b56a0
mpdstats: update last_played
...
This fixes #529 and brings back the old behaviour of setting last_played
on every song change regardless of whether it is played to the end or skipped.
2014-02-10 20:55:42 +01:00
Thomas Scholtes
2755bcb5a2
Store images as string
2014-02-10 17:56:31 +01:00
Thomas Scholtes
ba226f566d
Update docs for fix a363d967
2014-02-10 17:29:23 +01:00
Thomas Scholtes
004e9a8144
Add query converter
2014-02-10 17:26:26 +01:00
Thomas Scholtes
dcbf7ecc36
Fix album retrieval
2014-02-10 17:26:26 +01:00
Thomas Scholtes
6663ed0c64
Use URL converters
2014-02-10 17:26:26 +01:00
Thomas Scholtes
a363d9672f
Load plugins from cli config
2014-02-10 17:26:26 +01:00
Thomas Scholtes
5f79c54cb3
Rewrite config test to be more transparent
2014-02-10 17:26:26 +01:00
Thomas Scholtes
0ada772cf9
Add storage style for vorbis images
2014-02-10 16:53:20 +01:00
Thomas Scholtes
cd10ee4696
MP4 only supports png and jpeg images
2014-02-10 16:35:59 +01:00
Thomas Scholtes
8691b834cc
Image storage style have bytearray type
2014-02-10 16:31:40 +01:00
Thomas Scholtes
a43af01b6b
Add storage style for MP4 images
2014-02-10 16:28:48 +01:00
Thomas Scholtes
3f988d4699
Add StorageStyle for mp3 images
2014-02-10 16:10:40 +01:00
Thomas Scholtes
581241006d
Add mediafile art test
2014-02-10 15:24:57 +01:00
Thomas Scholtes
5e61db4b88
Genre list tests for more formats
2014-02-10 15:07:10 +01:00
Thomas Scholtes
7872356060
Serialize converts None
2014-02-10 14:59:10 +01:00