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
Adrian Sampson
66b3e5675c
update default path formats; make $artist fall back on $albumartist
...
The default path formats now include both a "default", which is the same as
before but now uses $albumartist instead of $artist, and a "comp" path, which
uses a Compilations directory. Old paths are supported as-is by letting $artist
refer to either a track artist (when present, as it is in all old library
tracks) or album artist (when the track artist isn't present, as is the case
with most albums imported now).
2011-01-24 10:14:19 -08:00
Adrian Sampson
5cfc7db7b1
move "various artists" detection from autotag module to mb
2011-01-24 08:57:49 -08:00
Adrian Sampson
0c24376e6a
migration of album table's artist field to albumartist; fix ls -a
2011-01-23 22:49:52 -08:00
Adrian Sampson
75e0924832
move _sanitize_for_path to module namespace
2011-01-23 19:59:41 -08:00
Adrian Sampson
6ade5635e1
light refactoring and renaming for patch
...
Changed mb_albumtype to albumtype.
Changed album_artist to albumartist.
Reinstated subset relationship between album fields and item fields.
2011-01-23 19:49:48 -08:00
Adrian Sampson
342c360285
apply jonathan.buchanan's compilation patch from issue #48
2011-01-23 18:41:35 -08:00
Adrian Sampson
3bfae3b78c
fix permissions on album art ( #130 )
2011-01-21 17:57:58 -08:00
Adrian Sampson
1b423f05db
fix bug where magic "ftyp" string would cause a Mutagen exception ( #129 )
2011-01-21 15:11:47 -08:00
Adrian Sampson
0b0d7e0b67
fixes for tests' cross-platformness by jonathan.buchanan
2011-01-20 09:29:09 -08:00