Thomas Scholtes
2a4c6d5bca
Fixed typo makes tests pass
2014-01-28 20:08:42 +01:00
Thomas Scholtes
69a40593a0
Remove duplicate tests
2014-01-28 20:08:42 +01:00
Thomas Scholtes
910dc6a647
Add ImportCompliationTest
2014-01-28 20:08:42 +01:00
Thomas Scholtes
39f1b8c3d8
Refactor MusicBrainz stubs into helper class
2014-01-28 20:08:42 +01:00
Thomas Scholtes
9f4e227f96
More ImportTest refactoring
2014-01-28 20:08:41 +01:00
Thomas Scholtes
5535eddfaa
Refactor Import Test
2014-01-28 20:08:41 +01:00
Thomas Scholtes
9b12d488e2
New Import test case
2014-01-28 20:07:20 +01:00
Thomas Scholtes
d302081cca
...and some refactoring again
2014-01-28 20:07:20 +01:00
Thomas Scholtes
bfaa56e5bd
Stupid typo
2014-01-28 20:07:20 +01:00
Thomas Scholtes
42f54e36bd
These tests are already in ImportNonAutotaggedTest
2014-01-28 20:07:20 +01:00
Thomas Scholtes
0cdb896003
Move prune and file tasks
2014-01-28 20:07:20 +01:00
Thomas Scholtes
33edb9a878
So this is how python works! ;)
2014-01-28 20:07:20 +01:00
Thomas Scholtes
c6654c5acf
Make test strings more verbose
2014-01-28 20:07:19 +01:00
Thomas Scholtes
03f1879980
Extract library file assertions
2014-01-28 20:07:19 +01:00
Thomas Scholtes
49693f715c
Use _setup_library() helper
2014-01-28 20:07:19 +01:00
Thomas Scholtes
e63ac27d1c
Extract _run_import and expose config in tests
2014-01-28 20:07:19 +01:00
Thomas Scholtes
d65595c70b
Extract ImportHelper for tests
2014-01-28 20:07:19 +01:00
Thomas Scholtes
f900f1e0c8
Refactor import test
2014-01-28 20:07:19 +01:00
Adrian Sampson
d674ca31e4
changelog/thanks for #512
2014-01-28 10:15:24 -08:00
Adrian Sampson
cfaaecf37f
Merge pull request #512 from geigerzaehler/infer_albumartist
...
Infer album artist from album artist tag
2014-01-28 10:14:35 -08:00
Adrian Sampson
d6e1bc547f
docs: fix reference to Transaction
2014-01-28 09:50:38 -08:00
Adrian Sampson
069ccde3e6
changelog/thanks for #511
2014-01-28 09:49:33 -08:00
Adrian Sampson
8ca997bd36
avoid repeating diff check, use changed set ( #511 )
...
This way, _showdiff returns the information that _different used to provide
(since _showdiff needs to calculate it anyway). Using a `changed` set also
makes it easier to avoid unnecessary work.
2014-01-28 09:46:53 -08:00
Thomas Scholtes
87d8aa7a86
Implement 117a331091
2014-01-28 15:45:32 +01:00
Thomas Scholtes
117a331091
Should infer *album artist* for albums from tag
2014-01-28 15:42:50 +01:00
Bruno Tournay
68bb0ca5ee
Removed duplicated code: modified showdiff() so it uses also different()
2014-01-28 14:21:45 +01:00
Bruno Tournay
e7c8b16480
Removed dont_write_if_unchanged config option: now files tags are never updated unless db tags are changed (with beet modify)
2014-01-28 14:00:51 +01:00
Bruno Tournay
3a8250930f
Synchronize with upstream beets modifications.
2014-01-28 13:51:44 +01:00
Adrian Sampson
620f0f8727
fetchart colors ( #508 ): simplify, new colors
...
Also a changelog entry.
2014-01-27 22:51:58 -08:00
Adrian Sampson
33c40f111c
merge colorization part of #509
...
Conflicts:
beetsplug/fetchart.py
2014-01-27 22:46:58 -08:00
Adrian Sampson
06b3ee179c
comments, naming, and docs for part of #509
2014-01-27 22:38:23 -08:00
Bruno Tournay
0889052831
Added option for not writing tags to file, when tags in db are not modified when running beet modify
2014-01-27 22:05:55 +01:00
Bruno Tournay
1a4b15c4a5
Colorized output of beet fetchart, for easier detection of albums with no cover
2014-01-27 22:03:42 +01:00
Bruno Tournay
0466df6215
Search again locally in album folder when running beet fetchart without -f
2014-01-27 22:02:29 +01:00
Adrian Sampson
0458d16e71
avoid NotImplementedError for the time being
2014-01-26 21:43:29 -08:00
Adrian Sampson
fbed9552ea
less code to specify sql and query for Type
...
Declarative class members instead of super calls. Wins every time.
2014-01-26 21:17:55 -08:00
Adrian Sampson
f29fbe47da
DBCore types: no functional-style Type constructor
...
This was getting more and more awkward. Also added a `parse` method (in
progress).
2014-01-26 21:12:48 -08:00
Adrian Sampson
83f981762c
fix #508 : crash when parsing empty query part
...
This is a regression created by my endeavor to have parse_query_part never
return None. Now the regular expression should really always match.
2014-01-26 10:51:58 -08:00
Adrian Sampson
bac1d661d2
"advanced" guide on manually choosing path formats
2014-01-25 23:56:04 -08:00
Adrian Sampson
d72f21d47b
catch OSError when checking for convert program
...
As reported by zeltak on IRC.
2014-01-24 20:33:41 -08:00
Adrian Sampson
def635a33b
rewrite: flatten Confit view to string
...
Previously, this would pass around a ConfigView object which would only lazily
get turned into a string. Bad!
2014-01-23 19:46:13 -08:00
Adrian Sampson
15510b6187
new dbcore.types module
...
Now Type is proper, full-on class so we don't have to fit everything in a
lambda.
2014-01-23 19:36:18 -08:00
Adrian Sampson
720587e28e
tolerate implicit conversion of bytes formatters
2014-01-23 15:18:08 -08:00
Adrian Sampson
f1a4ba815d
fix #503 : format untyped fields with bytes values
2014-01-23 15:06:24 -08:00
Adrian Sampson
081593bcb9
changelog: web API change
2014-01-22 16:36:32 -08:00
Thomas Scholtes
00e0664a94
Merge branch 'embedded_items_generators'
2014-01-22 12:04:41 +01:00
Adrian Sampson
975f77e056
type-based formatting: u'None' -> empty string
2014-01-21 21:21:51 -08:00
Adrian Sampson
7361e6b114
adjust tests to type-based formatting
2014-01-21 21:16:32 -08:00
Adrian Sampson
83c6fed6c8
type-based formatting: tolerate null values in DB
2014-01-21 21:09:53 -08:00
Adrian Sampson
7aa4d1e5ba
begin type-based formatting
2014-01-21 21:02:40 -08:00