Commit graph

30 commits

Author SHA1 Message Date
Adrian Sampson
b7518038be fingerprinting track distance based on MB track IDs 2010-09-14 11:08:16 -07:00
Adrian Sampson
27a4107627 grammar and style in NEWS! 2010-08-06 11:53:04 -07:00
Adrian Sampson
90c4b550fb make track index weight positive
(I'm not sure why, but the weight for track index mismatches was set to 0.0.
This way, the tagger will be slightly more reluctant to frivolously reorder.)
2010-08-06 11:49:31 -07:00
Adrian Sampson
c3988f7300 safely interpret integers in packed values 2010-08-06 11:17:57 -07:00
Adrian Sampson
633b97b302 decode unicode art paths from legacy databases 2010-08-06 10:44:00 -07:00
Adrian Sampson
d1c6448da8 album art paths now stored in blobs in database 2010-08-06 09:55:21 -07:00
Adrian Sampson
0c87e2470a deal with invalid pathname encodings
So. Apparently, os.listdir() will *try* to give you Unicode when you give it
Unicode, but will occasionally give you bytestrings when it can't decode a
filename. Also, I've now had two separate reports from users whose filesystems
report a UTF-8 filesystem encoding but whose files contain latin1 characters.
The choices were to (a) switch over to bytestrings entirely for filenames or
(b) just deal with the badly-encoded filenames. Option (a) is very unattractive
because it requires me to store bytestrings in sqlite (which is not only
complicated but would require more code to deal with legacy databases) and
complicates the construction of pathnames from (Unicode) metadata. Therefore,
I've implemented a static fallback to latin1 if the default pathname decode
fails. Furthermore, if that also fails, the _sorted_walk function just ignores
the badly-encoded file (and logs an error).
2010-08-04 11:06:28 -07:00
Adrian Sampson
959c6e55c3 fixed adding tags where they already existed (but were empty) 2010-08-03 17:33:04 -07:00
Adrian Sampson
7dadbc6734 use a console_script instead of a script for Windows compat 2010-08-03 14:52:25 -07:00
Adrian Sampson
59063e4494 NEWS about pause & resume 2010-08-02 19:49:44 -07:00
Adrian Sampson
1b5a2afd35 initial autotagger output coloring (of titles and tracks only) 2010-08-01 15:35:11 -07:00
Adrian Sampson
957b414f97 code cleanup and NEWS for parallel tagger 2010-07-31 19:23:14 -07:00
Adrian Sampson
0746fca7d7 bump version to b4 2010-07-29 11:12:38 -07:00
Adrian Sampson
e591063e82 "pluginpath" config value 2010-07-22 17:09:47 -07:00
Adrian Sampson
5b2653bb53 albumify plugin for upgrading old databases 2010-07-22 10:52:43 -07:00
Adrian Sampson
adcaaf3a13 news about $format 2010-07-21 23:04:48 -07:00
Adrian Sampson
2d54e0cb56 NEWS note about "improved" ls -a &c. 2010-07-21 16:21:17 -07:00
Adrian Sampson
602f896bd1 import -A now tags albums
Previously, importing without autotagging just imported a bunch of Items. Now,
like the autotagging version, "import -A" creates albums based on the directory
hierarchy. The effect is exactly as if the user chose "use as-is" every time in
the interactive procedure. One side effect is that "import -A" can now only take
directories, where previously it could take single items on the command line. We
need a new solution for this kind of import in the future.
2010-07-15 13:58:16 -07:00
Adrian Sampson
a69fd39cb5 NEWS note about album art and albums table 2010-07-14 23:38:15 -07:00
Adrian Sampson
30669fd7ac replace :s with -s instead of _s in path names 2010-07-11 19:12:50 -07:00
Adrian Sampson
2871660ab7 NEWS note about MB IDs 2010-07-10 23:35:25 -07:00
Adrian Sampson
56adb7ed65 NEWS note about plugins 2010-07-08 17:23:28 -07:00
Adrian Sampson
69b702690d add note on CLI code reorganization 2010-07-05 17:58:52 -07:00
Adrian Sampson
e50a26e8a4 correctly handle directories passed to import
When autotagging, die with an error if given a non-directory. When not
autotagging, just import the single file.
2010-07-04 00:04:28 -07:00
Adrian Sampson
4dcbb38d78 log a warning instead of silently ignoring corrupt files 2010-07-03 23:55:27 -07:00
Adrian Sampson
37da0f4d49 note about fixed -A switch; bumped version to 1.0b2 2010-07-03 23:05:12 -07:00
Adrian Sampson
9c3db1e0b9 encode all terminal output, silently replacing unsupported characters
On terminals where the LANG environment variable didn't list UTF-8 as the
terminal's character encoding, the Python print statement throws an error when
it encounters a character that can't be encoded. So now we manually use the
"replace" policy for all output to the terminal.
2010-06-27 20:32:00 -07:00
Adrian Sampson
76f52f9ea6 add a note about import log option 2010-06-27 01:38:44 -07:00
Adrian Sampson
ae3c42af05 note about new formats in NEWS 2010-06-26 02:27:58 -07:00
Adrian Sampson
d1b4a867f2 add readme and news files
--HG--
rename : LICENSE.txt => LICENSE
2010-06-09 12:37:26 -07:00