Commit graph

12907 commits

Author SHA1 Message Date
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
ecf2da1b6f always show album directory in tagger output 2011-03-23 14:06:14 -07:00
Adrian Sampson
c698868bf0 catch Ogg header error (#133) 2011-03-23 11:51:27 -07:00
Adrian Sampson
7baf41827d log duplicate albums during import (#141) 2011-03-22 20:21:48 -07:00
Adrian Sampson
096816cba7 path formats can now be specified by album type 2011-03-22 20:09:27 -07:00
wlof
c2d2914178 fix for issue 73 (http://code.google.com/p/beets/issues/detail?id=73) 2011-03-19 19:48:55 +01:00
wlof
1a3769a326 corrected a bug where artist was being used instead of albumartist in
albums default queries
2011-03-19 01:48:33 +01: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
d59c66af6a turn on infer_aa in appropriate situations 2011-02-18 12:42:41 -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
Adrian Sampson
adefff10dd use super() instead of hard-coding superclass name 2011-02-18 11:30:01 -08:00
Adrian Sampson
56964c7faa documentation and NEWS note about deletion fix (#134) 2011-02-18 11:25:57 -08:00
Ozzi Lee
2dd4c0a970 Merge remote branch 'upstream/master' 2011-02-18 06:48:01 -06: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
82e5f0cfa2 Make sure album.albumartist is set when adding items to a Library.
If the track.albumartist isn't set on the first track, then the
album.albumartist is set to the track.artist.
2011-02-18 06:17:35 -06:00
Adrian Sampson
945e253c2f fix artist field in BPD file browser 2011-02-07 19:47:23 -08: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
Ozzi Lee
95a456acfc Use object.setattr in BaseAlbum __init__ method.
BaseAlbum needs to use object.setattr in its __init__ method, because
it overrides __setattr__.
2011-02-02 13:09:06 -06:00
Ozzi Lee
c15c3ee9ec Log album.albumartist instead of album.artist after import. 2011-02-02 13:08:51 -06:00
Ozzi Lee
6baf9f5351 Fixed a bug where tracks could be deleted on re-import.
Tracks could be deleted when re-importing tracks that are already in
the library directory and import_delete is set to yes.
2011-02-02 13:08:18 -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
0e7679c1b9 NEWS notes about recent upheaval 2011-01-24 19:48:46 -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
20fe707a09 change BPD browser to use albumartist instead of artist 2011-01-24 16:08:04 -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
506ba87263 Added tag 1.0b6 for changeset fad79b29263e 2011-01-20 20:02:37 -08:00
Adrian Sampson
0b0d7e0b67 fixes for tests' cross-platformness by jonathan.buchanan 2011-01-20 09:29:09 -08:00
Adrian Sampson
bff9f2e808 "beet version" command 2011-01-20 09:23:39 -08:00
Adrian Sampson
93594bac5a convert import paths to absolute; more _syspath calls
Again, patch mainly due to jonathan.buchanan.
2011-01-20 00:13:00 -08:00
Adrian Sampson
5d79d3e537 add another test to justify mock IO setup 2011-01-19 15:16:31 -08:00
Adrian Sampson
1ee401678e a real system for mocking IO for UI functions 2011-01-19 14:53:03 -08:00
Adrian Sampson
96c2484b02 remove incompletely-isolated test cases; use mock timing functions 2011-01-19 14:19:41 -08:00