Commit graph

12907 commits

Author SHA1 Message Date
Adrian Sampson
cd63be80ba fix malformed query with AND/OR operators (#327) 2012-01-31 15:37:30 -08:00
Adrian Sampson
5a0105b12c fall back to unittest2 (#275) 2012-01-31 15:25:09 -08:00
Adrian Sampson
bb4be3a303 lower case extensions in destination (#331) 2012-01-31 15:11:19 -08:00
Adrian Sampson
1330d6fb4f fix length calculation in input_options 2012-01-31 12:42:11 -08:00
Adrian Sampson
337e2556a6 sanitize path components from plugins (#315) 2012-01-30 16:53:05 -08:00
Adrian Sampson
23e30bf72a CLI error when log file can't be opened (#326) 2012-01-30 16:29:22 -08:00
Adrian Sampson
f4dc13161c document space replacement in .beetsconfig 2012-01-30 14:06:16 -08:00
Adrian Sampson
eb8b194508 handle acoustid response w/ no recording (#322) 2012-01-29 17:50:03 -08:00
Adrian Sampson
b7c9d2caf5 prevent divide-by-zero in bitrate property (#319) 2012-01-29 14:08:23 -08:00
Adrian Sampson
2ff4fe5ccd remove erroneous reference to -d flag (#314) 2012-01-29 13:44:06 -08:00
Adrian Sampson
7b265e353d print a better error for exceptions raised from inline snippets 2012-01-29 13:27:47 -08:00
Adrian Sampson
fe33926038 add new audio properties to library/DB
$samplerate now expands to "##kHz" in path formats.
2012-01-27 16:04:51 -08:00
Adrian Sampson
9987ab47fd fixes & tests for new audio properties
For the recently-added samplerate, bitdepth, and channels properties on
MediaFile, a few things were fixed:
- tests in test_mediafile_basic
- never return None (zero when unavailable)
- make channels work with MP3 files (by looking at the codec "mode")

Also added some docstrings on all of the properties.
2012-01-27 15:51:14 -08:00
Adrian Sampson
3c7cfe1820 merge 2012-01-27 15:32:02 -08:00
Andrew
4df4ce05ce Created a .gitignore for the group 2012-01-27 17:38:20 -05:00
Andrew
9c70b260a6 Added support for channels, changed samplerate so it doesn't return if
doesn't exist. Made bitdepth only return if exists, looks like only mp4,
flac and ape support bitdepth.
2012-01-27 17:31:10 -05:00
Andrew
24a0ab847a Added support for bit depth also 2012-01-27 17:05:12 -05:00
Andrew
cda7b4d9dc Added a property for sample rate, mutagen provides this as sample_rate 2012-01-27 15:55:37 -05:00
Adrian Sampson
6817c70592 document fpcalc installation of Chromaprint 2012-01-27 12:41:07 -08:00
Adrian Sampson
dfb0eff8e3 displayable_path() wrap for config path logging 2012-01-27 12:27:53 -08:00
Adrian Sampson
4a1e8fdd6e merge 2012-01-27 12:04:44 -08:00
Adrian Sampson
f685bdd89a unicode in str MediaFile fields (#311, closes #15) 2012-01-27 12:02:26 -08:00
Adrian Sampson
3b37433005 no penalty for "various artists" track artist (#251) 2012-01-25 20:41:59 -08:00
Adrian Sampson
47891b00f7 tolerate per-medium track numbering (#283) 2012-01-25 20:12:04 -08:00
Adrian Sampson
dbab290ba4 fix rewrite bug w/ multiple rules for a single field 2012-01-25 13:32:22 -08:00
Adrian Sampson
53e5bb05b7 merge 2012-01-23 03:06:51 -08:00
Adrian Sampson
402649af73 tolerate python-musicbrainz-ngs API changes 2012-01-19 21:55:52 -08:00
Adrian Sampson
a58253b79c "lyrics -p" prints out lyrics 2012-01-19 12:43:29 -08:00
Adrian Sampson
248a433d1d lyrics auto-fetch on import (#137) 2012-01-19 12:39:20 -08:00
Adrian Sampson
01a54e2e0e first stab at revamped lyrics plugin (#137) 2012-01-19 12:25:11 -08:00
Adrian Sampson
0275836293 warning about replaygain instability (#289) 2012-01-18 14:41:19 -08:00
Adrian Sampson
c987d68331 update install instructions 2012-01-18 14:36:26 -08:00
Adrian Sampson
837c900e5d version bump: b13 2012-01-18 14:11:39 -08:00
Adrian Sampson
0e81900675 mtime tests at integral second resolution (#298) 2012-01-18 14:08:15 -08:00
Adrian Sampson
9566d606e8 Added tag 1.0b12 for changeset 284b58a9f9ce 2012-01-16 22:44:57 -08:00
Adrian Sampson
b690418258 two more bullet points in readme 2012-01-16 22:36:22 -08:00
Adrian Sampson
7817d6e1c4 changelog summary 2012-01-16 21:24:16 -08:00
Adrian Sampson
347a29b0f6 rewrite plugin
--HG--
rename : docs/plugins/inline.rst => docs/plugins/rewrite.rst
2012-01-16 20:48:23 -08:00
Adrian Sampson
99d13c474f depend on released musicbrainzngs instead of embedding (#294) 2012-01-16 20:08:52 -08:00
Adrian Sampson
307560a6c9 ignore all .* files by default (#293) 2012-01-16 17:09:25 -08:00
Adrian Sampson
6a082234fb docs fixes regarding album types 2012-01-11 17:10:26 -08:00
Adrian Sampson
c40081808a fix double-removal when re-importing with deletion
With import_delete enabled and performing a re-import (which moves files), the
former location of the file would be "deleted". This would lead to a "file does
not exist" error.
2012-01-06 21:58:17 -08:00
Adrian Sampson
979c33a0b1 fix substring pattern match when value is None 2012-01-06 10:36:34 -08:00
Adrian Sampson
a998d36380 fix deletion in partial matches 2012-01-06 09:54:57 -08:00
Adrian Sampson
9920cc482c add "scrub" plugin (#280)
--HG--
rename : beetsplug/embedart.py => beetsplug/scrub.py
rename : docs/plugins/embedart.rst => docs/plugins/scrub.rst
2012-01-02 14:03:28 -08:00
Adrian Sampson
75d4e15e92 remove missing-length distance penalty
Previously, the thinking went that if the MB database didn't have a length, we
should penalize the track maximally in order to avoid prioritizing a bad match
just because its information was incomplete. As it turns out, though, missing
track lengths are pretty common and this was causing more problems than it was
solving; this way, mysteriously high distances won't appear.
2012-01-01 13:49:53 -08:00
Adrian Sampson
ca6df97ee9 explain shorthand query keys 2011-12-28 19:06:15 -08:00
Adrian Sampson
d73c133a53 query-conditioned path formats (#210)
Also, Library.path_formats is now a list of pairs instead of a dictionary. (I
would have used an OrderedDict, but that was added in 2.7.)
2011-12-28 19:01:13 -08:00
Adrian Sampson
a1b2b6c8a2 fix plugin hook in embedart 2011-12-28 15:56:07 -08:00
Adrian Sampson
890021008a inline plugin: define template fields in config (#169) 2011-12-27 14:43:58 -08:00