Commit graph

838 commits

Author SHA1 Message Date
Adrian Sampson
dd4ee6b2e4 document some template syntax details 2011-12-16 11:20:33 -08:00
Adrian Sampson
69845f2b24 documentation for function calls (#231) 2011-12-15 18:42:25 -08:00
Adrian Sampson
255fbf6c41 add a small set of default path functions (#231) 2011-12-15 14:27:59 -08:00
Adrian Sampson
9005420920 don't use character-by-character walk in expression parse 2011-12-15 13:56:42 -08:00
Adrian Sampson
3c99e54174 switch out string.Template with new template parser (#231) 2011-12-15 11:53:58 -08:00
Adrian Sampson
0252865f61 fix some discussion of path formatting 2011-12-15 11:49:22 -08:00
Adrian Sampson
ae2f0db540 escape sequences now use $ instead of doubling
This was causing a problem with situation where }} would have semantic meaning
other than escaping a }. Specifically, %func{%func{arg}} contains a }} but
should not escape the }. $} seems to cover this situation. However, ${ is not
permitted as an escape sequence because it looks like the beginning of a symbol
(variable reference) like ${foo}. This is OK because { can be used anywhere as a
literal.
2011-12-15 00:11:57 -08:00
Adrian Sampson
829bd14993 template evaluation (#231) 2011-12-14 19:06:42 -08:00
Adrian Sampson
aa6008dbbc more thorough tests for function call parsing (#231) 2011-12-14 18:46:56 -08:00
Adrian Sampson
b6e75dacb1 function parsing in template string parser (#231) 2011-12-14 18:40:54 -08:00
Adrian Sampson
b5a76e9d1e beginnings of a template string parser (#231) 2011-12-14 17:30:53 -08:00
Adrian Sampson
fed9e206c0 sync with latest bluelet version (824609773a85) 2011-12-14 14:11:49 -08:00
Adrian Sampson
59b4338f81 fix BPD lsinfo results for libmpc (#277) 2011-12-14 14:04:00 -08:00
Adrian Sampson
7372f72185 version bump: 1.0b12 2011-12-13 17:32:04 -08:00
Adrian Sampson
68840e4ec8 fix a silly ReST error in changelog 2011-12-12 18:45:20 -08:00
Adrian Sampson
e024720e43 Added tag 1.0b11 for changeset 4ca147582174 2011-12-12 18:34:16 -08:00
Adrian Sampson
76b90df4e1 fix man-page inclusion if directory already exists 2011-12-12 18:31:48 -08:00
Adrian Sampson
c34e7dfc22 clean up changelog 2011-12-12 18:25:38 -08:00
Adrian Sampson
9aef539e11 fix some ReplayGain fields (and tests) 2011-12-10 17:24:27 -08:00
Adrian Sampson
6eaf3f96ae don't include path queries when querying albums 2011-12-07 16:52:38 -08:00
Adrian Sampson
348eb2beff don't update mtime when moving
This is incorrect when the file was out-of-sync when moved. A possible approach
in the future could check whether the old mtime was up to date and, in that case
only, keep it up to date with the new filename.
2011-12-07 16:38:38 -08:00
Adrian Sampson
700c7cd9f8 albumart.org scraper art source (#272) 2011-12-07 11:11:35 -08:00
Adrian Sampson
00e7523374 fix searching when to tags are present 2011-12-06 19:05:53 -08:00
Adrian Sampson
def0f2c0e5 update lastid plugin for Album/TrackInfo objects
The plugin's deprecated, but there's no reason not to keep it in working order
with the recent changes to the autotagging workflow.
2011-12-06 18:32:27 -08:00
Adrian Sampson
8736d359c6 "timeout" config value (#261) 2011-12-04 18:46:35 -08:00
Adrian Sampson
b9d6928278 consistency policy for DB mtimes (#227) 2011-12-03 17:18:51 -08:00
Adrian Sampson
5111537cde handle EOFError when ~/.beetsstate is corrupted (#271) 2011-12-03 15:37:29 -08:00
Adrian Sampson
d1e43e9346 docs for partial album matches (#260) 2011-12-01 14:26:30 -08:00
Adrian Sampson
8554f66487 fix file ignoring when recursing in sorted_walk (#245) 2011-12-01 14:15:23 -08:00
Adrian Sampson
82367e9067 cleanup for partial match feature (#260)
- Plugins are sent the unadulterated, None-ridden ordered items lists. Changed
  the lastid plugin to accommodate this.
- Make colorization optional in partial album warnings.
- Fix some tests.
2011-12-01 14:03:32 -08:00
Adrian Sampson
0b5a47a745 Merge pull request #13 from laarmen/feature/incomplete_albums
Tag incomplete albums (#260 on Google Code)
2011-12-01 13:04:11 -08:00
Adrian Sampson
c03fb658c7 clean up genre canonicalization (#264)
- Canonicalization is disabled by default. (This prevents pyyaml from being a
  dependency if you don't use canonicalization.)
- Config value to set the tree file.
- Python style.
- Added YAML file to MANIFEST.in.
- Documentation.
2011-12-01 12:14:11 -08:00
Simon Chopin
7aaab602c0 ui.commands: Warn the user when the candidates are partial matches 2011-11-24 16:03:56 +01:00
Simon Chopin
9a7a551d92 Enable import of incomplete albums
This commit disables the autoreject for incomplete albums. There is
several one-liner fixes in autotag/__init__.py and importer.py, as well
as some UI additions to report to the user when a track seems missing.
2011-11-22 13:47:36 +01:00
Simon Chopin
bb964a7c47 autotag: Fill the blanks when ordering incomplete album
In the function order_items, instead of automatically reject the
canonical candidate if it has more tracks, the function still tries to
find matches for the tracks amongst the items, and otherwise uses None
to fill the void in order to keep the information about the track
numbers
2011-11-22 13:47:36 +01:00
Simon Chopin
4dc4025b5f autotag: Can now compute the distance for incomplete albums
If the user has some songs from a specific album, but not all of them,
the real solution is immediately discarded. This commit is the first of a
series that will implement support for these incomplete albums.

The point of this patch is to make sure missing commits are taken into
account when calculating the distance between an album and its canonical
data.

Note that in order not to break API compatibility, the album_distance
call for the plugins receives a purged version of both the items and the
album info, resulting in some potential accuracy if the plugin bases
itself on the index of a track in album_info.tracks.
2011-11-22 13:47:35 +01:00
Adrian Sampson
78dca315d4 slightly clean up mtime feature; changelog mention 2011-11-22 00:11:45 -08:00
Jos van der Til
f150d76b55 Handled the case where file_mtime was changed, but no metadata was changed
--HG--
extra : transplant_source : %D0%DB%B1r%1D%CAh%23%3D%0C%E0%90%21%CA%7B%97%CE%F0u%19
2011-11-21 20:41:43 +01:00
Jos van der Til
2c81ee736c Implemented file modified time tracking to beets.
Only files which were modified after beets checked them will be checked again.
Implements feature request #227

--HG--
extra : transplant_source : K%F1d%C5%B1%1F%CA%AB%95ck%8C%AC%25m%F0%26%E4%9DB
2011-11-21 19:51:16 +01:00
Adrian Sampson
e8924cc7bf check for label presence (actually fixes #254 this time) 2011-11-21 23:27:12 -08:00
Adrian Sampson
6cd157c15f fix duplicate log messages caused by py-mb-ngs 2011-11-19 18:41:50 -08:00
Adrian Sampson
2f4b64a768 check for label in label info from MB (fixes #254) 2011-11-19 18:05:03 -08:00
Adrian Sampson
55d7869adc remove subscripting of info objects in candidate menu (fixes #253) 2011-11-19 17:59:47 -08:00
Adrian Sampson
99bb4df94b check for releases in acoustid result (fixes #252) 2011-11-19 17:55:19 -08:00
Jos van der Til
25b67d7c27 Fixes KeyError ['type'] error 2011-11-20 00:41:13 +01:00
Adrian Sampson
31af2c498e request track artist credits from MusicBrainz (for VA releases) 2011-11-17 17:37:35 -08:00
Adrian Sampson
3f4c985f3d add python-musicbrainz-ngs package to setup.py 2011-11-14 10:53:05 -08:00
Adrian Sampson
5965b37f51 skip (configurable) clutter filenames when importing 2011-11-13 17:14:40 -08:00
Adrian Sampson
02402545e0 get original release date for MB release group (#65) 2011-11-13 16:30:49 -08:00
Adrian Sampson
1219c9c0fb remove some dead code from replaygain 2011-11-13 15:54:08 -08:00