Adrian Sampson
8c2763ffdc
Collapse finalize stage into manipulate_files
2014-04-26 20:35:41 -07:00
Adrian Sampson
e9355f336b
Rename remove_duplicates and do_remove_duplicates
2014-04-26 20:21:20 -07:00
Adrian Sampson
38eba4af31
Remove obsolete null checks
...
Along with their tests. Background:
https://github.com/sampsyo/beets/pull/720/files#r12027386
2014-04-26 20:07:26 -07:00
Thomas Scholtes
1d787e0b38
Adapt FetchArt tests to new task api
2014-04-26 18:51:56 +02:00
Thomas Scholtes
ba60431319
Fix typo and return early from stage
2014-04-26 18:31:54 +02:00
Thomas Scholtes
cb3354bd6e
Resolve duplicates in user_query stage
2014-04-26 18:19:52 +02:00
Thomas Scholtes
7700f19135
Added comment on importer ui
2014-04-25 13:56:01 +02:00
Thomas Scholtes
e96753f96a
Plugins use import_task.album
2014-04-25 13:52:03 +02:00
Thomas Scholtes
ac9ee8ed66
Decouple session and import task methods
2014-04-25 13:36:17 +02:00
Thomas Scholtes
e38a33a569
Clarify comments in importer
2014-04-25 13:29:37 +02:00
Thomas Scholtes
07dbe042f5
Move set_candidate logic
2014-04-25 13:23:35 +02:00
Adrian Sampson
8b3227b149
restore a comment
2014-04-24 22:18:49 -07:00
Thomas Scholtes
a08ec5b537
Attach config to session
2014-04-20 13:17:07 +02:00
Thomas Scholtes
495c49703c
Add pipeline.mutator_stage
2014-04-19 19:04:49 +02:00
Thomas Scholtes
d8362fd03c
Add pipeline.stage decorator
2014-04-19 18:54:29 +02:00
Thomas Scholtes
48572aead8
Simplify pipeline emitter
2014-04-19 18:42:45 +02:00
Thomas Scholtes
35ac93728d
Unify singleton and album stages
2014-04-19 18:15:39 +02:00
Thomas Scholtes
5d7d2fe2c7
Merge item_query and user_query
2014-04-19 18:12:26 +02:00
Thomas Scholtes
07ace040fd
Clear IDs in query stage
2014-04-19 18:01:32 +02:00
Thomas Scholtes
4c0554a6c5
Add 'remove_replaced' method
2014-04-19 17:57:07 +02:00
Thomas Scholtes
30c9676ef3
Add 'add' method to tasks, remove album_id property
2014-04-19 17:43:12 +02:00
Thomas Scholtes
20c09bfe8d
Refactor logic for removing duplicate items
2014-04-19 17:36:30 +02:00
Thomas Scholtes
d78c99e7a1
Update library after changing item paths
2014-04-19 17:13:05 +02:00
Thomas Scholtes
a4b5297f4f
Add do_remove_method
2014-04-19 17:02:36 +02:00
Thomas Scholtes
21d749e64b
Rename methods to better convey their meaning
2014-04-19 17:02:36 +02:00
Thomas Scholtes
d617e8c786
Add manipulate_files method, store item during finalize
2014-04-19 17:02:36 +02:00
Thomas Scholtes
b9d92d44f3
Merge show progress and item progress tasks
2014-04-19 17:02:36 +02:00
Thomas Scholtes
09ef565cfc
Make _infer_album_fields a method
2014-04-19 17:02:36 +02:00
Thomas Scholtes
6f504f5537
Add resolve_duplicates stage
2014-04-19 17:02:36 +02:00
Thomas Scholtes
ec01590df6
Merge duplicate detection into find_duplicates method
2014-04-19 17:02:36 +02:00
Thomas Scholtes
19fdf069f9
Merge singleton and album lookup stages
2014-04-19 17:02:36 +02:00
Thomas Scholtes
f396244055
Refactor task.finalize()
2014-04-19 17:02:36 +02:00
Thomas Scholtes
1c68bbb854
Refactor finalize stage into Task class
2014-04-19 17:02:36 +02:00
Thomas Scholtes
4e1b33e125
Make _resume() session local and refactor resume in read stage
...
Functionaly, this should not change anything.
2014-04-19 17:02:36 +02:00
Thomas Scholtes
ce28c2a95b
Add SentinelImportTask and move code into it
2014-04-19 17:02:36 +02:00
Thomas Scholtes
8dd5e6a62d
Album tasks always record their progress
2014-04-19 17:02:36 +02:00
Thomas Scholtes
6284547d55
Add task.apply_metadata() method
2014-04-19 17:02:36 +02:00
Thomas Scholtes
ecb9ba97be
Add SingletonImportTask
...
The goal of this class is to eliminate all checks for `task.is_album`. This is
already accomplished for the methods. Next, we want to tackle the plugin
stages.
2014-04-19 17:02:36 +02:00
Thomas Scholtes
a09b2d4760
Test that duplicate files are removed
2014-04-19 17:02:20 +02:00
Thomas Scholtes
4677c55c4f
Remove DuplicateCheckTest
...
Superseded by `ImportDuplicate*Test`.
2014-04-19 15:50:49 +02:00
Thomas Scholtes
efee81cda7
Refactor ImportDuplicateAlbumTest
2014-04-19 15:49:39 +02:00
Thomas Scholtes
52e3413c5b
Test import singleton duplicates
2014-04-19 15:44:20 +02:00
Thomas Scholtes
0518d4e265
Add tests for duplicate album imports
2014-04-19 15:23:01 +02:00
Adrian Sampson
8fe8cee362
docs: add missing ReST :ref:
2014-04-18 16:06:21 -07:00
Adrian Sampson
337b1f8610
tests: use Windows config location on Windows
...
Only 10 test failures remain on my system!
2014-04-18 15:57:57 -07:00
Adrian Sampson
5f4a9c6446
fix Windows path manipulation in importfeeds
2014-04-18 15:52:23 -07:00
Adrian Sampson
81d04643bf
changelog for #696
2014-04-18 15:39:55 -07:00
Adrian Sampson
eee2213099
Merge pull request #696 from ayberk/master
...
Fixed #453 and added test cases
2014-04-18 15:38:27 -07:00
Ayberk Yilmaz
746befabac
Removed str2bool import
2014-04-19 00:08:31 +03:00
Ayberk Yilmaz
7e01a27124
Minor adjustments based on feedback
2014-04-19 00:07:17 +03:00