Commit graph

12907 commits

Author SHA1 Message Date
Adrian Sampson
931a6b636b fix for plugins not modifying files' tags 2012-09-02 16:00:18 -07:00
Adrian Sampson
d645734195 replacements and path formats as ordered pairs 2012-08-31 19:28:37 -07:00
Adrian Sampson
9d2511546b eradicate config_val from most built-in commands 2012-08-31 18:37:31 -07:00
Adrian Sampson
8bc563fafc confit: fix unicode and numeric validation 2012-08-30 23:00:01 -07:00
Adrian Sampson
fe2a68722f add Confit and start config changeover
This adds a snapshot of the current Confit source (not a crime because Confit is
currently unreleased). It also changes around the bootstrapping mechanisms
enough to let "beet ls" run with the new Confit-based configuration. There's
much more to do.
2012-08-30 17:04:44 -07:00
Adrian Sampson
af2a329477 handle user-visible exceptions at top level
This makes error messages more friendly (i.e., traceback-free) when exceptions
occur during UI setup -- e.g., unopenable database.
2012-08-27 22:45:28 -07:00
Adrian Sampson
08d8e6c55b changelog about web "attachment" change (GH-46) 2012-08-27 12:01:42 -07:00
Adrian Sampson
71efb8e32a Merge pull request #46 from zacharydenton/master
Fix web plugin download filenames.
2012-08-27 11:52:39 -07:00
Zach Denton
6c6ae5a7c0 Send correct filename when downloading a file. 2012-08-26 15:19:03 -04:00
Adrian Sampson
9b8c56a646 remove Tomahawk resolver
The resolver is now maintained in the central Tomahawk resolver repository at:
https://github.com/tomahawk-player/tomahawk-resolvers
2012-08-24 20:39:55 -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
269a77c9e1 fix matching Unicode pathnames in queries 2012-08-23 18:08:31 -07:00
Adrian Sampson
1d0d2bfdf6 docs: note that fingerprinting often unnecessary 2012-08-22 17:36:24 -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
0cab7bd8de inline: fix example in docs (use albumartist)
Previously, the example used the track artist ($artist) for the initial
directory component.
2012-08-07 09:59:00 -07:00
Adrian Sampson
7aa88a762c add configuration UI to Tomahawk resolver 2012-08-03 19:22:57 -07:00
Adrian Sampson
afd3a817af add beets Tomahawk resolver to extra/ directory
I'm not sure why this was a separate repository to begin with. It's now
versioned with beets.
2012-08-03 18:32:15 -07:00
Adrian Sampson
96de3ee400 add track mapping to album_distance plugin method 2012-08-03 18:12:58 -07:00
Adrian Sampson
8a63a381b4 docs: for per_disc_numbering, change path formats 2012-08-03 17:37:14 -07:00
Adrian Sampson
c25fb4b544 link to OSSBuilds for Gstreamer on Windows
(Thanks to Darrin, who pointed this out via email!)
2012-08-03 09:38:56 -07:00
Adrian Sampson
701d8cf204 fetchart: fix extension-less files from CAA 2012-08-02 09:46:57 -07:00
Adrian Sampson
e1d11085ae Added tag 1.0b15 for changeset 618201431990 2012-07-26 09:35:28 -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
3661f261b6 tiny operator simplification 2012-07-24 16:29:23 -07:00
Adrian Sampson
174824c570 lyrics: suppress not-found message
(in Lyrics.com results)
2012-07-24 15:33:44 -07:00
Adrian Sampson
82bcd63f34 reasonable error message for "beet help <unknown>" 2012-07-24 15:23:27 -07:00
Adrian Sampson
ca1581996d fix early call to imported_items in chroma 2012-07-24 14:56:14 -07:00
Adrian Sampson
24491051d1 clean up changelog for b15 release 2012-07-24 14:40:01 -07:00
Adrian Sampson
26fa3bcac6 remove outdated call in BPD 2012-07-24 14:26:47 -07:00
kraymer
e9104b6775 plugin importfeeds: fix symlink creation when it already exists 2012-07-21 13:27:15 +02:00
Adrian Sampson
b20367dd41 import: allow relative paths on Windows 2012-07-17 12:00:27 -07:00
Adrian Sampson
70000ec4e4 move MBCS check to bytestring_path
This should be used in *every* filename conversion, not just the destination
generation. Also required a change to sorted_walk (erroneously didn't use
syspath).
2012-07-17 11:45:44 -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
5df7325937 Windows context menu item via .reg file
Contributed by "camz" on IRC.
2012-07-16 09:39:07 -07:00
Adrian Sampson
d04dfd905d Merge pull request #45 from mineo/doc-fix-web
Fix the reference to the ".beetsconfig" doc in plugins/web
2012-07-12 10:24:38 -07:00
Wieland Hoffmann
70910f5ac1 Fix the reference to the ".beetsconfig" doc in plugins/web 2012-07-12 11:19:49 +02: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
321ea2bfef Merge pull request #44 from calmh/unicode-replace
Handle unicode in replacement config
2012-07-08 09:43:02 -07:00
Jakob Borg
21cff66d08 Handle unicode in replacement config
The 'decode' call fails in what is already a unicode string. I'm not
sure under what circumstances the string is or isn't unicode (apparently
it varies), so I added a check. The test passes with the patch, at
least.
2012-07-05 23:12:36 +02:00
Adrian Sampson
ec849a3f88 chroma & lyrics: crash due to name change
I changed ImportTask.all_items to ImportTask.imported_items but forgot to change
the calls in the chroma and lyrics plugins.
2012-07-03 17:18:23 -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
c5f28ecdef don't import unmatched tracks 2012-07-01 16:48:52 -07:00