Adrian Sampson
b81ac1d6e0
fix crash when stdin comes from pipe w/o encoding
...
This allows, for example, "yes | beet convert".
2012-10-15 14:58:59 -07:00
Adrian Sampson
f2ab26d6a4
mbcollection: change chunk size to 200 releases
2012-10-14 20:35:03 -07:00
Adrian Sampson
244ffd71e2
fix "beet modify" for date fields (GC-449)
...
This is fixed by allowing MediaFiles to convert strings to integers on
assignment. An eventual complete fix will perform these type conversions in the
Item interface.
2012-10-14 20:27:13 -07:00
Adrian Sampson
526e82feaf
move cpu_count to util module; credit @storrgie
2012-10-14 14:09:03 -07:00
Adrian Sampson
b9e2beddec
replaygain: changelog & doc enhancements for GH-55
2012-10-12 22:42:08 -07:00
Adrian Sampson
d8433f977c
convert: changelog thanks & doc enhancements
2012-10-12 22:11:07 -07:00
Adrian Sampson
71a5a5b02f
only load plugins from specified modules
...
Eliminate the __subclasses__ trick for finding all plugins. Now we explicitly
look in each plugin module for a plugin class. This allows us to import plugin
modules with unintentionally loading them. This lets us reuse the image
embedding machinery without copypasta.
2012-10-12 21:55:54 -07:00
Jakob Schnitzer
e316d0ea30
convert: PEP8, changelog note and license
2012-10-11 17:10:28 +02:00
Adrian Sampson
cb93900888
changelog & docs for "beet stats --exact"
2012-10-07 15:13:49 -07:00
Adrian Sampson
114cea0da6
changelog: ihate plugin
2012-10-06 18:42:38 -07:00
Adrian Sampson
56958d175b
docs + changelog for GH-50 (lastgenre command)
2012-10-04 09:47:59 -07:00
Adrian Sampson
5f7d280987
changelog note about @KraYmer's lastgenre feature
2012-09-30 14:06:21 -07:00
Adrian Sampson
4aac7f5324
zero: changelog note & doc improvements
2012-09-25 14:15:33 -07:00
Adrian Sampson
e092af2b2f
changelog note: fuzzy_search plugin
2012-09-18 10:33:58 -07:00
Adrian Sampson
201571bf93
changelog note &c. for "the" plugin (GH-47)
2012-09-17 11:11:22 -07:00
Adrian Sampson
c056467c5d
friendly error message in Item.write (GC-437)
2012-09-17 10:36:48 -07:00
Adrian Sampson
ef248576f0
bpd: fix crash w/ unicode extensions (GC-439)
2012-09-17 10:24:34 -07:00
Adrian Sampson
a9fc483a36
importfeed: fix "link" mode w/ unicode paths
2012-09-11 17:32:43 -07:00
Adrian Sampson
dc054907d5
fix non-string value matching in SubstringQuery
2012-09-09 12:17:13 -07:00
Adrian Sampson
90b3dba085
fix match() on RegexpQuery for non-string values
2012-09-08 16:24:39 -07:00
Adrian Sampson
931a6b636b
fix for plugins not modifying files' tags
2012-09-02 16:00:18 -07:00
Adrian Sampson
08d8e6c55b
changelog about web "attachment" change (GH-46)
2012-08-27 12:01:42 -07:00
Adrian Sampson
473fe04f91
web: add size to item JSON in API
...
This is to be used by the Tomahawk resolver, which wants file sizes.
2012-08-24 19:20:27 -07:00
Adrian Sampson
6200f0a4c8
scrub: remove all types of tags
2012-08-24 15:39:13 -07:00
Adrian Sampson
420c78ff1b
lyrics: fix UnicodeDecodeError with non-ASCII text
2012-08-19 13:42:43 -07:00
Adrian Sampson
07d00da825
album-only field queries; ^$ match empty string
2012-08-17 10:54:30 -07:00
Adrian Sampson
30ac59f3d2
allow $path in "beet list -f" templates
2012-08-16 09:00:55 -07:00
Adrian Sampson
22836be22e
fix search/DB server disagreement crash (GC-418)
2012-08-12 22:37:10 -07:00
Adrian Sampson
96de3ee400
add track mapping to album_distance plugin method
2012-08-03 18:12:58 -07:00
Adrian Sampson
701d8cf204
fetchart: fix extension-less files from CAA
2012-08-02 09:46:57 -07:00
Adrian Sampson
15ead780d3
1.0b15 release date
2012-07-26 09:35:12 -07:00
Adrian Sampson
1f5ae6600b
warning when using unrecognized fields in queries
2012-07-25 15:41:22 -07:00
Adrian Sampson
24491051d1
clean up changelog for b15 release
2012-07-24 14:40:01 -07:00
Adrian Sampson
b20367dd41
import: allow relative paths on Windows
2012-07-17 12:00:27 -07:00
Adrian Sampson
44459f88d0
Windows: represent paths as UTF-8 internally
...
When we store paths in the database, we always use bytestrings for consistency.
But on Windows, these paths are converted back to Unicode before they reach the
FS API. This means that the codec used internally is immaterial.
However, we were naively using sys.getfilesystemencoding() for this internal
representation. On Windows, this is MBCS, a broken encoding that can't represent
all of Unicode. This change replaces that with UTF-8, a "real" codec.
The decoding bit now tries UTF-8 and falls back to MBCS for compatibility with
existing databases. The reality, however, is that existing databases may not
work with this change -- a byte string may represent something different in
UTF-8 from what it represents in MBCS. So users should recreated their DBs if
anything goes wrong.
2012-07-17 10:54:47 -07:00
Adrian Sampson
ba80e1578a
revise changelog/docs mention of cover art source
2012-07-09 14:16:40 -07:00
Adrian Sampson
52aec35bf8
changelog note about unicode replacement fix
2012-07-09 10:00:20 -07:00
Adrian Sampson
883977d2e9
merge
2012-07-03 17:12:34 -07:00
Adrian Sampson
45b146ed2b
changelog typos
2012-07-03 09:31:20 -07:00
Adrian Sampson
525376b4b9
docs for unmatched-tracks matches
2012-07-01 16:56:21 -07:00
Adrian Sampson
6503e85a57
fetchart: autofetch option
...
This necessitated a slight refactoring in the plugin event handling mechanism.
Rather than loading all handlers up front and storing them in a module-scope
structure, we now scan for event handlers at every send(). This is probably
very slightly less efficient but allows for more flexible logic.
2012-06-24 19:01:19 -07:00
Adrian Sampson
fbb5823541
fetchart: command to manually download art
2012-06-24 18:27:00 -07:00
Adrian Sampson
77cbb19564
fetchart: get local art for as-is imports (GC-339)
2012-06-24 17:41:37 -07:00
Adrian Sampson
d807b3fbf1
Cover Art Archive support (GC-71)
2012-06-24 16:57:04 -07:00
Adrian Sampson
11d4fb1abb
move album art fetching to a plugin (fetchart)
2012-06-24 00:34:50 -07:00
Adrian Sampson
f5962f45d8
merge
2012-06-23 17:20:02 -07:00
Adrian Sampson
073ee14e56
fix broken matching of path format queries ( #405 )
...
A bug in the shlex module with Unicode strings made these queries unparseable
and thus match every track.
2012-06-23 17:18:28 -07:00
Adrian Sampson
7e6e5e5dca
nicer error message when stdin is EOF'd
2012-06-21 17:37:45 -07:00
Adrian Sampson
ad4b7f8ff5
new plugin event: import_task_files
2012-06-14 12:41:39 -07:00
Adrian Sampson
c5424dce05
lastgenre and lyrics: use new pluggable import stages
...
This solves a problem where files were copied before the genre field was
updated, resulting in problems when $genre was used in a path (GC-357).
2012-06-08 15:17:49 -07:00