Commit graph

10772 commits

Author SHA1 Message Date
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
Tai Lee
8e38e5ae84 Override implicit OR explicit default if require=True for input_option(). 2013-02-06 12:55:57 +11:00
Adrian Sampson
976bc20900 collapse separate album and item paths (#92)
Should reduce copypasta overhead significantly.
2013-02-05 12:16:53 -08:00
Adrian Sampson
3860a5ac27 lastgenre: "auto" config option 2013-02-05 12:02:51 -08:00
Adrian Sampson
e50e28dc38 canonicalize original genre (#92) 2013-02-05 11:58:24 -08:00
Adrian Sampson
d1e752fdeb simplify configuration handling (#92) 2013-02-05 11:51:32 -08:00
Adrian Sampson
f38bed787e remove verbose option (#92)
The lastgenre command should always log what it's doing so the user can see
the progress being made. If you really don't want any output, just pipe to
/dev/null.
2013-02-05 11:40:04 -08:00
Adrian Sampson
0c29c52f8c changelog for #92 2013-02-05 11:36:27 -08:00
Adrian Sampson
1fe36057b0 Python style and legibility cleanup for #92 2013-02-05 11:34:17 -08:00
Adrian Sampson
cd2d4c9b8a Merge pull request #92 from pscn/master
lastgenre improvements
2013-02-05 10:31:46 -08:00
Adrian Sampson
5be50fbb38 echonest_tempo: skip when missing artist or title 2013-02-05 10:28:24 -08:00
Adrian Sampson
2b4a70227d correct changelog credits for @mrmachine 2013-02-05 10:15:39 -08:00
Adrian Sampson
07e1366fc6 changelog for #94 2013-02-05 09:57:13 -08:00
Adrian Sampson
5f2a8a21ac Merge pull request #94 from daveisadork/m4a-replaygain
Adds support for Replay Gain tags on MP4 files
2013-02-05 09:55:10 -08:00
Dave Hayes
585d0e9c73 Ugh, more typos. 2013-02-05 07:35:22 -06:00
Dave Hayes
ca653dafb8 Fixes a typo. Whoops. 2013-02-05 07:16:45 -06:00