Commit graph

6487 commits

Author SHA1 Message Date
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
Dave Hayes
a55ba1a7a0 Merge remote-tracking branch 'upstream/master' 2013-02-18 13:19:48 -06: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
5a74c27325 Merge remote-tracking branch 'upstream/master' 2013-02-13 10:13:06 -06:00
Dave Hayes
7a1a7d035f Fixes suffix removal for fields that use them 2013-02-13 10:07:09 -06:00
Dave Hayes
55c68536c2 Fix removal of suffixes for values that have them 2013-02-13 09:59:58 -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
Adrian Sampson
151177ab95 recommendation is now a "real" enumeration 2013-02-07 17:26:58 -08:00
Adrian Sampson
ebcd944bd5 rename Sound Check conversion functions
Now that the Sound Check functions are freed from having to deal with string
encoding (and now exclusively accept/return floats for use by the rest of
beets), I'm renaming them to reflect this.
2013-02-07 16:17:08 -08:00
Adrian Sampson
ba83db506d mediafile: get rid of FloatValueField
At the risk of increasing line noise, I've replaced the specialized
FloatValueField (for ReplayGain tag encoding) with two more generalized options
on StorageStyle (float_places and suffix). This allows us to avoid an
unnecessary encode/decode round-trip when encoding for Sound Check.
2013-02-07 16:14:40 -08:00
Adrian Sampson
55770ae212 changelog & style tweaks for Sound Check (#97) 2013-02-07 15:12:10 -08:00
Adrian Sampson
91759d0226 Merge pull request #97 from daveisadork/soundcheck
Adds support for SoundCheck
2013-02-07 14:56:57 -08:00
Dave Hayes
93d1b646f4 Deal with unexpected or missing SoundCheck values
* Deals with gain values of 0 in SoundCheck files by interpreting them
  as 0.0dB rather than causing an exception
* Return default values if SoundCheck tag is malformed in some way
* Other misc changes for compactness
2013-02-07 08:46:27 -06:00
Dave Hayes
8a3221abd2 Adds support for SoundCheck
* Adds 2 functions to convert between SoundCheck and ReplayGain
 * Adds relevant StorageStyle to rg_track_* for SoundCheck
 * Adds a new packing type for SoundCheck
 * Modifies StorageStyle to accept a lang argument
 * Modifies StorageStyle to allow specifying Packed out_type
 * Modifies MediaField to write COMM frames with a lang attribute
2013-02-06 13:57:20 -06:00
Adrian Sampson
f7f2454134 docs & style for #92
We already have a nice plurality() function in beets.util to calculate the most
popular value of something, so I reused that.
2013-02-06 10:55:48 -08:00
Adrian Sampson
19cdd4e907 Merge pull request #96 from pscn/master
Addition to pull request #92 (lastgenre) regarding track level genres and Various Artists compilations
2013-02-06 10:45:46 -08:00
Peter Schnebel
e5e3eda676 Fixed error message for invalid config option. 2013-02-06 09:37:07 +01:00
Peter Schnebel
7193f4e863 Do not write track-level genres if source is not 'track'. 2013-02-06 08:41:20 +01:00
Peter Schnebel
9f1e9031b6 Try to guess 'Various Artists' genre based on track genres if source is 'track'. 2013-02-06 08:15:29 +01:00
Peter Schnebel
d667fca02e Do not write track-level genres if source is not 'track'.
For 'Various Artist' compilations without a usefull 'album' genre, pick the most used track / track-artist genre.
2013-02-06 08:04:58 +01:00
Adrian Sampson
6a7034d31e Merge pull request #95 from mrmachine/require-overrides-default
Override implicit OR explicit default if `require=True` for `input_optio...
2013-02-05 20:15:30 -08:00