Commit graph

6487 commits

Author SHA1 Message Date
Adrian Sampson
494c0f4d0e handle KeyboardInterrupts in pipeline.py 2011-04-12 00:04:11 -07:00
Adrian Sampson
7600a8c0ad pipeline revamp: parallel stages, immediate exception abort
The pipeline module now support stages that have multiple threads working in
parallel; this can bring ordinary task parallelism to parts of a pipelined
workflow. This change also involves making the pipeline terminate immediately
when an exception is raised in a coroutine.
2011-04-11 23:52:51 -07:00
Adrian Sampson
5d22405e63 merge Lugoues' pipeline fix 2011-04-11 09:43:25 -07:00
Peter B
e7782cc369 fixed issue in pipeline when the first coro sends the BUBBLE message 2011-04-11 12:31:17 -04:00
Adrian Sampson
86c8b036f7 NEWS note about refactor 2011-04-11 08:25:35 -07:00
Adrian Sampson
584cc74a5c fix bug when "applying" sentinel 2011-04-11 08:21:36 -07:00
Adrian Sampson
7503c1174a more natural-looking queries for comp field
You can now use "comp:true" or "comp:yes" as well as "comp:1".
2011-04-10 22:55:25 -07:00
Adrian Sampson
7d21b27554 use similarity in the README 2011-04-10 22:42:30 -07:00
Adrian Sampson
97376c530b OMG, forgot to add util.__init__ 2011-04-10 22:24:41 -07:00
Adrian Sampson
88fd6c604c merge event fix from Lugoues 2011-04-10 22:22:16 -07:00
Adrian Sampson
a675988eb2 add and use fancy enumeration module 2011-04-10 22:10:33 -07:00
Adrian Sampson
6884fc230f don't use __slots__
Apparently, that's *just* for footprint optimization. Not to be used for
constraining the attribute set:
http://stackoverflow.com/questions/472000/python-slots
2011-04-10 21:57:04 -07:00
Adrian Sampson
e669868896 move a bunch of functions to util 2011-04-10 21:48:05 -07:00
Peter B
9df548c738 updated embedcoverart plugin for album_imported change 2011-04-11 00:23:54 -04:00
Adrian Sampson
2746f1ff3f move pipeline into new beets.util package
--HG--
rename : beets/ui/pipeline.py => beets/util/pipeline.py
2011-04-10 21:19:07 -07:00
Adrian Sampson
3222cc6213 move main importer driver logic to importer module 2011-04-10 19:15:24 -07:00
Adrian Sampson
dffdbce5f1 sanitize CLI-specific code from importer module 2011-04-10 19:10:22 -07:00
Adrian Sampson
c0467c3724 encapsulate importer configuration in an object 2011-04-10 18:56:42 -07:00
Adrian Sampson
23392525ec The Great Importer Refactoring
I'm shuffling around the feature-creeping importer code to keep it as
interface-agnostic as possible. The "importer" module now takes care of the
basic, increasingly complicated workflow while the ui.commands module is
relegated to containing actual user-interface stuff.
2011-04-10 18:12:47 -07:00
Adrian Sampson
aa76be367a invert sense of "if" for readability 2011-04-10 17:43:03 -07:00
Adrian Sampson
6ec349b384 move some logic into ImportTask with should_ methods 2011-04-10 17:40:28 -07:00
Peter B
e67bdd5fa6 added lib parameter to the album_imported event 2011-04-10 20:25:01 -04:00
Adrian Sampson
2aa9a17fb3 rename albumart_data to albumart; fix indentation 2011-04-10 12:11:22 -07:00
Adrian Sampson
5c480ccd24 customizable id3_frame_field to support album art and UFID 2011-04-10 12:09:25 -07:00
Adrian Sampson
bc84ba8f36 NEWS note and typo fixes 2011-04-10 11:55:13 -07:00
Adrian Sampson
b4b3fd308a merge in embedded album art changes from daenney 2011-04-10 11:52:08 -07:00
Adrian Sampson
11c5b15c8d fix copying destination for full-album imports 2011-04-10 10:57:13 -07:00
Daniele Sluijters
b67e24fa81 Specify the type of covr. 2011-04-10 16:26:39 +02:00
Daniele Sluijters
00c5a275a4 *facepalm* and fix some Engrish. 2011-04-10 16:12:21 +02:00
Daniele Sluijters
1859375593 Only try to add albumart if the MIME-type is correct, log if it's not. 2011-04-10 14:54:32 +02:00
Daniele Sluijters
0628d8df0e Add initial version of the embed coverart plugin.
This plugin allows users to embed the cover into the audio file.
Probaly still has a few bugs but it should work in most cases right
now.
2011-04-10 14:51:01 +02:00
Daniele Sluijters
322038550a Add support for albumart in MediaFile 2011-04-10 14:44:25 +02:00
Adrian Sampson
e478ae740d refactor importer to use a ImportTask class instead of a tuple 2011-04-09 19:53:52 -07:00
Adrian Sampson
f0adb4efd7 refactor tagger UI simplify choose_match function 2011-04-09 17:25:01 -07:00
Adrian Sampson
d63a9fd188 singleton: queries 2011-04-09 16:13:12 -07:00
Adrian Sampson
7f1e4c2407 "as Tracks" option during import to add singletons 2011-04-09 15:20:15 -07:00
Adrian Sampson
b28ef722a5 singleton path format 2011-04-09 14:50:48 -07:00
Adrian Sampson
633e878ee8 distance -> similarity (#114) 2011-04-09 14:07:14 -07:00
Adrian Sampson
1896f397a2 debug message on events 2011-04-09 13:18:44 -07:00
Adrian Sampson
565257988a docs/whitespace and change register_listener to a class method 2011-04-09 13:15:19 -07:00
Adrian Sampson
dae0d650f8 merge in Lugoues' plugin event changes 2011-04-09 12:52:26 -07:00
Adrian Sampson
61ef980797 $albumartist falls back to $artist (#166) 2011-04-09 12:36:52 -07:00
Adrian Sampson
bb8ebd24b0 fix adding tracks in BPD 2011-04-09 10:44:56 -07:00
Adrian Sampson
30577b0461 bump up version number 2011-04-09 10:41:53 -07:00
Peter B
4a30ad6bbc added register_listeners method to BeetsPlugin class 2011-04-09 12:34:44 -04:00
Peter B
f0cc11e8ff added 'album_imported' event. 2011-04-09 00:04:24 -04:00
Adrian Sampson
3c92da95c8 Added tag 1.0b7 for changeset 5986215a08c2 2011-04-05 18:52:07 -07:00
Adrian Sampson
2dfae9721d fix typo in dead code 2011-04-05 18:43:47 -07:00
mdecker
4eead8d846 fix divzero error in distance debug output in lastid plugin 2011-04-04 20:52:06 +02:00
mdecker
09eb0e9a35 Merge branch 'master' of git://github.com/sampsyo/beets 2011-04-04 11:25:52 +02:00