Adrian Sampson
85ddfa4381
relocatable test rsrc directory
2011-04-12 14:26:48 -07:00
Adrian Sampson
c03ec1ee1c
add a multithreaded import test case
2011-04-12 14:11:43 -07:00
Adrian Sampson
89f33466e0
move non-autotagged import test (wasn't testing UI)
2011-04-12 14:09:17 -07:00
Adrian Sampson
fcee8b2ab6
remove special-cased non-autotagged import function (simple_import)
2011-04-12 13:57:05 -07:00
Adrian Sampson
584cc74a5c
fix bug when "applying" sentinel
2011-04-11 08:21:36 -07:00
Adrian Sampson
7503c1174a
more natural-looking queries for comp field
...
You can now use "comp:true" or "comp:yes" as well as "comp:1".
2011-04-10 22:55:25 -07:00
Adrian Sampson
a675988eb2
add and use fancy enumeration module
2011-04-10 22:10:33 -07:00
Adrian Sampson
e669868896
move a bunch of functions to util
2011-04-10 21:48:05 -07:00
Adrian Sampson
3222cc6213
move main importer driver logic to importer module
2011-04-10 19:15:24 -07:00
Adrian Sampson
dffdbce5f1
sanitize CLI-specific code from importer module
2011-04-10 19:10:22 -07:00
Adrian Sampson
c0467c3724
encapsulate importer configuration in an object
2011-04-10 18:56:42 -07:00
Adrian Sampson
23392525ec
The Great Importer Refactoring
...
I'm shuffling around the feature-creeping importer code to keep it as
interface-agnostic as possible. The "importer" module now takes care of the
basic, increasingly complicated workflow while the ui.commands module is
relegated to containing actual user-interface stuff.
2011-04-10 18:12:47 -07:00
Adrian Sampson
11c5b15c8d
fix copying destination for full-album imports
2011-04-10 10:57:13 -07:00
Adrian Sampson
e478ae740d
refactor importer to use a ImportTask class instead of a tuple
2011-04-09 19:53:52 -07:00
Adrian Sampson
d63a9fd188
singleton: queries
2011-04-09 16:13:12 -07:00
Adrian Sampson
b28ef722a5
singleton path format
2011-04-09 14:50:48 -07:00
Adrian Sampson
61ef980797
$albumartist falls back to $artist ( #166 )
2011-04-09 12:36:52 -07:00
Adrian Sampson
4ce8d3b249
duplicate detection is (belatedly) album-based instead of track-based
2011-04-03 16:12:09 -07:00
Adrian Sampson
966572c0d3
test missing track artist in compilation
2011-04-03 12:20:47 -07:00
Adrian Sampson
e9d790a2b3
tests for deletion during import
2011-04-03 12:11:08 -07:00
Adrian Sampson
f256726917
explicit searching for VA releases when it seems likely
2011-04-02 20:29:01 -07:00
Adrian Sampson
c051df6d91
fix broken symlink crash ( #157 )
2011-04-02 18:03:42 -07:00
Adrian Sampson
d4d74dd68b
fix crasher w/ old APE files ( #159 )
2011-04-02 17:48:54 -07:00
Adrian Sampson
cd8ca9f473
make -p/-P and import_resume config option symmetric
...
The import_resume option (nee import_progress) now exactly reflects the behavior
of -p and -P on the command line, which I think is way less confusing. That
option now has three settings: yes, no, and "ask" (the default). The "ask"
behavior cannot be specified on the command line, but I think that's OK. It's
also important to note that "no" means that progress is disabled entirely
(including saving progress for later resumes). The -q flag still overrides the
config option.
2011-03-30 20:05:42 -07:00
Adrian Sampson
436f635b55
import_quiet_fallback option to customize in quiet mode ( #149 )
2011-03-29 21:27:03 -07:00
Adrian Sampson
5b13094789
-p and -P flags to force resume or skip resume
2011-03-29 20:02:47 -07:00
Adrian Sampson
1b6910ac6a
move directory-pruning to item's remove() method
2011-03-23 17:03:21 -07:00
Adrian Sampson
7f7c45b252
refactoring, tests, NEWS note on wlof's directory-pruning patch
2011-03-23 16:53:24 -07:00
Adrian Sampson
43a5e913a7
move some reused testing stuff to _common module
2011-03-23 16:15:18 -07:00
Adrian Sampson
b5c38970cc
add test for wlof's albumartist searching fix
2011-03-23 16:01:35 -07:00
Adrian Sampson
f69f69cecf
merge in some fixes from wlof's repository
2011-03-23 15:50:11 -07:00
Adrian Sampson
bc807c6547
distance metric now sensitive to various-artist matches
2011-03-23 15:38:46 -07:00
Adrian Sampson
ecdcd1e1bf
use timecop for MusicBrainz error-catching tests
2011-03-23 14:42:29 -07:00
Adrian Sampson
c698868bf0
catch Ogg header error ( #133 )
2011-03-23 11:51:27 -07:00
Adrian Sampson
096816cba7
path formats can now be specified by album type
2011-03-22 20:09:27 -07:00
wlof
c09f6a75ff
updated db to new format
2011-03-19 01:47:24 +01:00
wlof
7be77a99d9
.. is now inserted at the beginning of sys.path so that local beets
...
files are used instead of installed ones
2011-03-19 01:45:35 +01:00
wlof
2db7699ed3
.. is now inserted at the beginning of sys.path so that local beets
...
files are used instead of installed ones
2011-03-19 00:08:19 +01:00
Adrian Sampson
2360c5744a
retry on MusicBrainz error 504 (gateway timeout)
2011-03-03 15:25:16 -08:00
Adrian Sampson
5437b30688
strip null characters from MB queries ( #142 )
2011-02-28 10:08:09 -08:00
Adrian Sampson
4ab74d9a69
don't log output during testing
2011-02-18 12:41:23 -08:00
Adrian Sampson
993519c004
split import tests, suppress progress checks for testing
2011-02-18 12:38:46 -08:00
Adrian Sampson
0d869340ec
fixes for album artist inference
...
- Inference must be enabled explicitly with the "infer_aa" flag. It does not
happen transparently.
- Infer both artist and artist ID.
- Fixed a bug where only the database row was using the inferred data, not the
returned data structure.
- Added tests.
2011-02-18 12:17:22 -08:00
Adrian Sampson
ce5f9f9936
move BaseAlbum tests to test_db (with other album tests)
2011-02-18 11:36:52 -08:00
Ozzi Lee
9d20fd7151
Add ImportTest, testing import_files in commands.py.
...
Only tests "as-is" metadata imports, making sure that tracks are
copied to the library and named properly.
2011-02-18 06:31:46 -06:00
Ozzi Lee
d9554746cd
Added a very basic test_library.py
...
test_library.py so far just documents existing behavior of album
objects, especially the fact that trying to access unset fields causes
an AttributeError.
2011-02-02 22:22:23 -06:00
Adrian Sampson
0822fa2f82
test that autotagger sets track artist to match album artist
2011-01-24 20:22:13 -08:00
Adrian Sampson
9d3eaa5b05
remove albumify plugin (it's been a while since beta 3)
2011-01-24 19:43:27 -08:00
Adrian Sampson
eb1a6c8ae3
tests for multiple paths feature; legacy path_format overrides
2011-01-24 19:40:09 -08:00
Adrian Sampson
d16e972088
fix count queries over empty results
2011-01-24 15:41:38 -08:00