Commit graph

2751 commits

Author SHA1 Message Date
Sam Doshi
8394619b99 add unit tests for aliases (#102) 2013-02-27 09:17:42 +00:00
Sam Doshi
70b5b3ad44 go to next locale if no match in _preferred_alias
we should continue here rather than return so that we continue to search
for matches
2013-02-27 08:58:06 +00:00
Sam Doshi
e7b5275538 tag_album does not take timid as an argument
see SHA: 75d43270e8
2013-02-27 08:43:32 +00:00
Adrian Sampson
f268aae17f add --flat option to import command (GC-202) 2013-02-26 20:59:52 -08:00
Adrian Sampson
706c4fb7f6 import.detail config option (GC-263) 2013-02-26 20:36:29 -08:00
Adrian Sampson
6ab9b55845 link to GitHub Issues 2013-02-26 16:40:37 -08:00
Adrian Sampson
0045880f58 change option name to "languages"; docs (#102) 2013-02-26 14:38:34 -08:00
Adrian Sampson
9f5926a026 refactor alias discovery into function (#102) 2013-02-26 14:29:55 -08:00
Adrian Sampson
c12302547a Merge pull request #102 from samdoshi/aliases
Add support for artist aliases (fixes GC-354)
2013-02-26 14:12:16 -08:00
Adrian Sampson
0d762cd269 first half-attempt at a flexible attribute schema
This uses two tables, item_attributes and album_attributes, as key/value
tables for the respective entities. Plugins register fields, at which point
they are magically materialized as properties on Items (Albums are not done).
This currently supports adding and modifying these fields but not retrieving
them (which will need some sort of join).
2013-02-26 13:35:26 -08:00
Adrian Sampson
4a35be5724 fix crash when RG fields set to null
In general, we convert None values to type-based nulls in packed fields just
as we do for normal fields.
2013-02-24 16:10:18 -08:00
Adrian Sampson
fa9d326d39 ignore "System Volume Information" directory
This is a control directory on Windows whose permissions are always set very
restrictively:
http://blogs.msdn.com/b/oldnewthing/archive/2003/11/20/55764.aspx
2013-02-24 15:53:47 -08:00
Adrian Sampson
c19fd0e0e6 proceed past os.listdir errors in sorted_walk 2013-02-24 15:47:09 -08:00
Adrian Sampson
d3a00ec443 don't crash when config file is empty 2013-02-21 11:03:22 -08:00
Adrian Sampson
6c1b49aadb use gst-python from stock Homebrew 2013-02-21 11:03:08 -08:00
Adrian Sampson
d50fc378bb Sound Check parsing: fix odd-length strings 2013-02-20 22:56:12 -08:00
Adrian Sampson
c2a746562a fix Sound Check decode (GC-521)
Fixes the case when the gain number is negative.
2013-02-20 22:54:57 -08:00
Adrian Sampson
4f2bc970ea docs: link to FreeBSD port 2013-02-19 10:18:03 -08:00
Adrian Sampson
a1e89b879d echonest_tempo: warn on API error 2013-02-18 18:40:59 -08:00
Adrian Sampson
63564d84e7 echonest_tempo: sanitize newlines from input
The Echo Nest API confusingly says that the input is missing if it contains a
newline.
2013-02-18 18:34:31 -08:00
Adrian Sampson
a7f0ad70ae test: move DummyIO initialization to harness
This makes it much harder to accidentally leave this I/O isolator installed.
2013-02-18 18:29:10 -08:00
Adrian Sampson
6c931faf1a tests: remove ad-hoc temporary directories
Now that we have a temporary directory in the shared harness, we can dispense
with the error-prone process of creating them for each test.
2013-02-18 18:23:32 -08:00
Adrian Sampson
8b4dca99e3 towards filesystem sandboxing of tests
The generic test harness now uses a temporary directory for beets' various
files as well as $HOME. As one packager pointed out, there were various test
failures when $HOME did not exist. This is no longer the case.
2013-02-18 17:52:37 -08:00
Adrian Sampson
bb0c4f445b require mutagen >= 1.20
This release fixes several bugs, one of which influences the test cases of
beets (in particular, the MusePack bitrate calculation).
2013-02-18 17:36:10 -08:00
Adrian Sampson
eb32fa4c0e docs: may need to create directories 2013-02-17 15:08:53 -08:00
Adrian Sampson
bbeb04c34f mention GStreamer plugins in BPD docs 2013-02-17 15:04:19 -08:00
Adrian Sampson
6f2ec68ca8 version bump: 1.1b3 2013-02-17 15:02:32 -08:00
Adrian Sampson
872c601419 Added tag v1.1.0-beta.2 for changeset f28ea9e2ef8d 2013-02-16 16:40:42 -08:00
Adrian Sampson
0c487f479a remove AutotagError dead code
Another silly mistake identified by the RIT testing team.
2013-02-16 16:39:21 -08:00
Adrian Sampson
fc109e3a3d fix a couple of typos found by RIT students 2013-02-16 16:36:35 -08:00
Adrian Sampson
7a0bfff00a summary paragraph for 1.1b2 2013-02-16 16:34:13 -08:00
Adrian Sampson
e780ff27c2 update plugin API docs for 1.1 2013-02-16 15:04:07 -08:00
Adrian Sampson
0366dc8184 fix "import -l logpath" CLI option (GC-518) 2013-02-16 14:58:53 -08:00
Sam Doshi
781949fa01 Add support for artist aliases
Use MusicBrainz artist aliases to import files with artist names in an
appriorate locale
2013-02-16 17:11:15 +00:00
Dave Hayes
7a1a7d035f Fixes suffix removal for fields that use them 2013-02-13 10:07:09 -06:00
Dang Mai
3be24110d7 Sanitize template evaluation for smartplaylist 2013-02-11 21:37:14 -05:00
Adrian Sampson
d1e50da71f fetchart: remote_priority config option 2013-02-10 21:40:55 -08:00
Adrian Sampson
7529fe1f78 require python-musicbrainz-ngs 0.2 or newer
This came up because version 0.1 (which is available in some Debian repos)
apparently lack `set_hostname`.
2013-02-09 21:04:18 -08:00
Fabrice Laporte
6b2e409007 Merge branch 'master' of https://github.com/sampsyo/beets 2013-02-09 17:46:06 +01:00
Adrian Sampson
3e624ea884 original_date config option (GC-441) 2013-02-08 13:45:31 -08:00
Adrian Sampson
e0bb3b5cd0 original_{year,month,day,date} fields (GC-441) 2013-02-08 13:28:51 -08:00
Adrian Sampson
15a652ab73 docs/changelog: filename length detection (GC-461) 2013-02-08 12:57:31 -08:00
Adrian Sampson
d4ddfd1091 look up max filename length automatically 2013-02-08 11:02:29 -08:00
Adrian Sampson
f652662d5b configurable max filename length 2013-02-08 10:54:19 -08:00
Adrian Sampson
b9cb3980c2 path_sep_replace config option
I also took this opportunity to move and rename util.santize_for_path to
library.format_for_path, which was long overdue.
2013-02-08 10:51:33 -08:00
Adrian Sampson
09d6eedd6a max_rec (#98): fix bug w/ multiple track triggers
If both "tracklength" and "tracknumber" triggers occur for a certain album,
then the *lowest* recommendation max should be used. (With the `break`s in
there, it would just be the first trigger found.)
2013-02-07 23:41:34 -08:00
Adrian Sampson
fa4d8d96e7 max_rec (#98): more lenient defaults
These defaults more closely reflect the current behavior of beets, which I
think is desirable.
2013-02-07 23:39:13 -08:00
Adrian Sampson
7a4c228c79 style tweaks & doc expansion (#98) 2013-02-07 23:35:27 -08:00
Adrian Sampson
136f9a1aec Merge pull request #98 from mrmachine/low-rec-triggers
Add `low_rec_triggers` setting.
2013-02-07 23:22:43 -08:00
Tai Lee
baa5bc5a01 Add max_rec configuration options.
Allow users to apply a maximum recommendation to partial albums and albums
with differing track lengths/numbers.
2013-02-08 17:42:00 +11:00