Commit graph

6487 commits

Author SHA1 Message Date
Adrian Sampson
34e85171a5 fix stupid bug with MB ID based matches 2010-09-28 20:04:10 -07:00
Adrian Sampson
d7c8a02fad finalize NEWS for 1.0b5 2010-09-28 19:50:28 -07:00
Adrian Sampson
c885b7b2b5 use logging a bit more instead of print_ 2010-09-28 10:40:44 -07:00
Adrian Sampson
4de44590d0 progress display for non-autotagged imports 2010-09-28 10:29:07 -07:00
Adrian Sampson
7cf10d13e5 fix escaping of / in paths on Windows 2010-09-27 16:56:40 -07:00
Adrian Sampson
d453f5911d merge 2010-09-27 15:32:06 -07:00
Adrian Sampson
9437f85b25 allow plugin searches even when ordinary search fails
This allows matching of albums with no metadata whatsoever.
2010-09-22 22:10:05 -07:00
Adrian Sampson
0b0db17743 normalize relative paths as they opened 2010-09-22 21:40:12 -07:00
Adrian Sampson
ea26e6660e fix a bug where string heuristics could penalize 2010-09-22 20:23:36 -07:00
Adrian Sampson
75cd929cda fix "featuring" string heuristic, tweak thresholds 2010-09-22 20:16:45 -07:00
Adrian Sampson
6352d055ae fix unavailability of 'aBort' at one prompt 2010-09-22 20:06:00 -07:00
Adrian Sampson
86d9d75db4 outdated reference to _ie_dist 2010-09-22 19:59:08 -07:00
Adrian Sampson
a43624e1e4 config option to delete original files after import 2010-09-21 15:51:55 -07:00
Adrian Sampson
a3b5fcba8a bump required python-musicbrainz2 version to 0.7.2 2010-09-21 15:13:05 -07:00
Adrian Sampson
742ebdf698 "smart" string distance detects common artifacts and reweights them
I've essentially loaded up the string distance function with heuristics that
apply different weights to different kinds of string cruft that one encounters
in music tags. For example, tracks ending with "feat. Somebody" shouldn't be
penalized for all those extra characters. Now the weight of that part of the
string is significantly reduced.
2010-09-21 15:12:20 -07:00
Adrian Sampson
93aa98eee1 kill old, broken branch 2010-09-21 14:27:09 -07:00
Adrian Sampson
a5cc58e228 merge 2010-09-21 10:41:48 -07:00
Adrian Sampson
ed89394368 mpdupdate plugin (and config system for plugins) 2010-09-21 10:40:39 -07:00
Adrian Sampson
751a46c716 more efficiently limit the number of results returned from MB 2010-09-18 11:01:20 -07:00
Adrian Sampson
b565a3afd4 fix autotagging of artist !!! via special-casing it 2010-09-18 10:51:16 -07:00
Adrian Sampson
8c159fa2f0 remove BPD from default plugins, no more dependency on eventlet 2010-09-16 23:19:22 -07:00
Adrian Sampson
4adb76bb65 fix parsing of escaped characters in MPD commands 2010-09-16 23:06:33 -07:00
Adrian Sampson
ff3b1f095f fix import logger (was logging parent directories, stupidly) 2010-09-16 14:29:23 -07:00
Adrian Sampson
fc6f6750f7 more tag_album refactoring; typo fixed in lastid 2010-09-16 12:56:53 -07:00
Adrian Sampson
8b02dd176c lastid plugin can now generate its own candidates
That is, in addition to contributing to the distance function, the plugin can
also influence the initial search into MusicBrainz. This will allow albums to be
tagged even when they're missing metadata entirely. This change required a
significant bit of refactoring to the "mb" module -- it's much nicer now.
2010-09-16 12:27:04 -07:00
Adrian Sampson
22b4dd44f9 refactor tag_album a little (still needs more decomposition) 2010-09-16 11:08:50 -07:00
Adrian Sampson
4d978f3541 album-level distance function in lastid plugin
This involves yet another new plugin method: album_distance. This leaves as the
last major puzzle piece for lastid the ability to augment the initial search
into MB (i.e., can start a search using fingerprinted metadata).
2010-09-14 14:42:51 -07:00
Adrian Sampson
99cd36e34f weighting for fingerprinted metadata 2010-09-14 11:16:13 -07:00
Adrian Sampson
b7518038be fingerprinting track distance based on MB track IDs 2010-09-14 11:08:16 -07:00
Adrian Sampson
30c37ce1b3 ignore build products 2010-09-14 10:29:29 -07:00
Adrian Sampson
ac35ef14df clean up MusicBrainz IDs at the MB layer (rather than exposing them) 2010-09-13 22:42:22 -07:00
Adrian Sampson
d9383aceb1 merge with events branch 2010-09-13 21:46:03 -07:00
Adrian Sampson
fba874932c beginnings of last.fm fingerprinting plugin for autotagger
This required the introduction of a track_distance method on plugins. We'll also
need to add an album_distance method as well as a mechanism for extending the
search routine (so we can search for albums in MusicBrainz even when they have
no tags). This commit also adds the '-v' flag for printing debug logs (something
we should do more of).
2010-09-13 21:14:49 -07:00
Adrian Sampson
a384aa948b add a couple more events: "library saved" and "import finished" 2010-08-30 12:59:51 -07:00
Adrian Sampson
00300cdf81 move event-handling logic into plugin system 2010-08-30 12:50:17 -07:00
Jeffrey Aylesworth
5bf2d86221 Send event after plugins have been loaded 2010-08-29 10:30:02 -04:00
Jeffrey Aylesworth
22be9ea2fb send event method and decorator for listening 2010-08-29 09:47:07 -04:00
Jeffrey Aylesworth
0b9265d815 add an event listener 2010-08-29 09:38:20 -04:00
Jeffrey Aylesworth
c797e48690 python library for the event system 2010-08-29 09:21:57 -04:00
Adrian Sampson
a4a6f0a667 fix silly outdated assumption for "imp -A" 2010-08-22 12:18:51 -07:00
Adrian Sampson
a995c52c5a Added tag 1.0b4 for changeset 127b1ca77a2b 2010-08-09 22:17:07 -07:00
Adrian Sampson
514d1bc706 fixed silly error when listing tracks in BPD 2010-08-09 21:57:06 -07:00
Adrian Sampson
e0809bfaf7 give README an extension (for Github display)
--HG--
rename : README => README.rst
2010-08-09 16:48:20 -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
898b4bd24e destination now uses album values when available
When computing track destination paths, we now look for album-level values when
they're available. This has the effect of making albums go into a single
directory even when their tracks have heterogeneous metadata. We will need to
revisit this once we start explicitly supporting non-album tracks.
2010-08-06 10:36:17 -07:00
Adrian Sampson
181949d1a3 _sanitize_path now uses a non-unicode regex 2010-08-06 10:01:49 -07:00
Adrian Sampson
d1c6448da8 album art paths now stored in blobs in database 2010-08-06 09:55:21 -07:00