Thomas Scholtes
c4f0928bf5
Read custom fields into database
2014-04-03 14:01:56 +02:00
Thomas Scholtes
b262edd972
Migrate ITEM_KEYS_META
2014-04-03 14:01:56 +02:00
Thomas Scholtes
43ae730a6a
Use readable_fields() to replace ITEM_KEYS_META
2014-04-03 14:01:56 +02:00
Thomas Scholtes
9474686d68
Use indexed format with python26
2014-04-03 14:01:56 +02:00
Thomas Scholtes
863b9fb4af
MediaFile can be extended with custom fields
2014-04-03 14:01:55 +02:00
Thomas Scholtes
a2a8b244d7
Add LazySave tests for MediaFile
2014-04-03 14:01:55 +02:00
Thomas Scholtes
5b6305b610
Compute ITEM_KEYS_WRITABLE
...
See 65d64a7d50612df4ee6127ff05e591ae6fcceac0 why this is possible.
2014-04-03 14:01:55 +02:00
Thomas Scholtes
bedad53c27
Test that we can migrate ITEM_KEYS_WRITABLE
...
The test show that we can replace the hard-coded `ITEM_KEYS_WRITABLE` constant
with the computed value derived from `MediaField.fields()` and ITEM_KEYS. This
will be done in the next commit.
2014-04-03 14:01:55 +02:00
Thomas Scholtes
bcb72becf8
Add MediaFile.update() method to supersede save()
2014-04-03 14:01:55 +02:00
Thomas Scholtes
b026d60c31
Add MediaFile.fields() method
2014-04-03 14:01:55 +02:00
Adrian Sampson
d116e03bed
ensure lists of paths are passed to ImportTask
...
Also change the variable name from `path` to `paths` to reflect this.
2014-04-02 21:57:30 -07:00
Adrian Sampson
c6abfa57c7
docs: link to beets-check plugin
2014-04-02 21:20:03 -07:00
Adrian Sampson
b683f239f0
some style tweaks for #638
2014-04-02 21:18:41 -07:00
Adrian Sampson
0c049f2e5c
tox: restore pypy/py26 configs, sphinx -q ( #643 )
2014-04-02 20:47:04 -07:00
Adrian Sampson
c4be9c273f
Merge pull request #643 from geigerzaehler/tox-flake8-travis
...
Use tox to test on travis and add docs and flake8
2014-04-02 20:39:22 -07:00
Adrian Sampson
c9141a6adf
import single files and one-track albums
...
An alternate proposal for what's being discussed in #640 .
2014-04-02 17:14:48 -07:00
Thomas Scholtes
9fab6e7ca3
Use coverage only with py27
2014-04-03 01:52:21 +02:00
Thomas Scholtes
8488f665fc
Add sphinx dependency to tox virtual environment
2014-04-03 01:41:18 +02:00
Thomas Scholtes
7927146f12
We need sphinx before installing the tox environment
2014-04-03 00:58:57 +02:00
Kyle Konrad
142374925f
add util test file with tests for enumerations. fix super() bug
2014-04-02 15:31:28 -07:00
Thomas Scholtes
2ff7735f89
Sphinx is required to build the package
2014-04-02 23:49:35 +02:00
Thomas Scholtes
fdd2849fec
Ignore generated man pages
2014-04-02 22:56:24 +02:00
Thomas Scholtes
bee80c4c49
Use tox to test on travis and add docs and flake8
...
Travis CI now also confirm that the docs build correctly and the flake8 runs
succesfully. Tox also has the advantage that it tests that beets installs
correctly.
Currently flake8 does not run succesfully so it is configured to not fail the
build on Travis.
2014-04-02 22:48:53 +02:00
Thomas Scholtes
100b3d4d65
Make mediafile tests independent of image order
...
For MP3s mutagen stores image tags in a hash with the `APIC:...` key. The order
of the images is therefore not well defined. A similar issue occurs with WMAs.
2014-04-02 22:15:00 +02:00
Kyle Konrad
64da4985b0
add enum34 to install_requirments
2014-04-02 10:39:34 -07:00
Kyle Konrad
c4e6f38963
use the new python enum instead of hand-rolled version
2014-04-02 10:23:48 -07:00
brilnius
d02e02fe20
Merge pull request #638 from brilnius/ui_del_attr2
...
Modify command: ability to delete/reset an attribute (beet modify field!)
2014-04-01 22:47:03 +02:00
Bruno Tournay
cd70e92b7f
Modify command: ability to delete/reset an attribute (beet modify field!)
2014-04-01 22:38:33 +02:00
Adrian Sampson
0118ef336d
Merge pull request #636 from skeuomorf/notifications
...
Add irc notifications by travis
2014-04-01 11:01:01 -07:00
Adrian Sampson
1f5717ca97
Merge pull request #635 from skeuomorf/badges
...
Add badges of travis and coverage to README
2014-04-01 11:00:27 -07:00
Mohammed Attia
0ef5ce2847
Add irc notifications by travis
2014-04-01 08:18:05 +02:00
Mohammed Attia
975e010e18
Add badges of travis and coverage to README
2014-04-01 08:12:08 +02:00
Adrian Sampson
8d196a8c01
changelog for #632
2014-03-26 13:39:12 -07:00
Adrian Sampson
e628b8f3a7
Merge pull request #633 from sampsyo/issue-632
...
Only use primary artist aliases. Fixes #632 .
2014-03-26 13:22:24 -07:00
Filipe Fortes
ea90321226
Update tests given new alias behavior
2014-03-26 13:01:42 -07:00
Filipe Fortes
ebcd540e58
Only use primary artist aliases. Fixes #632 .
...
MusicBrainz will send down various artist aliases that may not be the primary
(e.g. the previous name for a group). Only use an alias for the artist if it is
the primary alias in one of the import locales.
2014-03-26 12:02:52 -07:00
Thomas Scholtes
b2cb87aa6d
Add completion script template to dist
2014-03-26 14:38:21 +01:00
Adrian Sampson
d778443ea0
don't wrap standard errors during Mutagen save()
2014-03-25 22:44:15 -07:00
Adrian Sampson
05ebd6d28e
FileOperationError: also include the file path
...
This makes the errors fully self-descriptive, which simplifies logging them as
errors (you just have to `log.error(exc)` to get a reasonable message). We
also now handle these at the top level in case someone forgets to add a
handler. But in this case, we also send the full traceback to the debug log.
2014-03-25 22:41:28 -07:00
Adrian Sampson
3a26845f5e
FileOperationError: include underlying exception
...
A primitive form of Python 3's "exception chaining", which is what we really
want here. Someday...
2014-03-25 22:14:50 -07:00
Adrian Sampson
3c8decc487
some reorg/docs for FileOperationError
2014-03-24 22:37:15 -07:00
Thomas Scholtes
4a6e3f12f1
Made config.yaml link to config page
...
Cherry picked from e9d7e9469f which was on wrong
branch. See #626
2014-03-24 17:59:22 +01:00
geigerzaehler
3ac2c7a1d7
Merge pull request #603 from geigerzaehler/write-exception-handling
...
Exception handling for item writes
2014-03-24 17:55:48 +01:00
Thomas Scholtes
86b2c215f2
Remove unused import
2014-03-24 17:55:36 +01:00
geigerzaehler
7cffaf4bb3
Merge pull request #625 from geigerzaehler/nose-capture-log
...
Use nose to capture logs during test
2014-03-24 17:43:16 +01:00
Thomas Scholtes
574903e986
Add FileOperationError and handling in item.write()
2014-03-24 14:22:27 +01:00
Thomas Scholtes
d21406dcb0
Use nose to capture logs during test
...
Set the loglevel of beets to `DEBUG` but capture all logging statements with
nose. The logs are only printed when a test fails. This gives us more
information when tests fail while being completely silent on success.
2014-03-23 21:12:08 +01:00
Adrian Sampson
553d5fb4ca
Merge pull request #624 from thomwiggers/patch-2
...
Removed gbeets
2014-03-23 07:46:44 -07:00
Thom Wiggers
a4c5c575b5
Removed gbeets
...
It's link only lead to a readme on GitHub, not to any code.
2014-03-23 13:13:35 +01:00
Adrian Sampson
99bbecf7f5
add a defensive assertion
2014-03-22 11:00:24 -07:00