Commit graph

3618 commits

Author SHA1 Message Date
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
david hamp-gonsalves
f67490c464 reworking messaging 2014-04-19 09:34:50 -03:00
david hamp-gonsalves
44e84e775a correcting sytles 2014-04-19 09:24:37 -03:00
david hamp-gonsalves
f8b6c1ea11 added default commands to use system file associations 2014-04-19 08:52:18 -03: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
david hamp-gonsalves
22f341eb97 added play plugin and docs 2014-04-18 10:33:53 -03:00
Adrian Sampson
309c5c1a58 fix #705: unicode in SoundCheck fields 2014-04-17 18:10:16 -07:00
Thomas Scholtes
bd047ec6c8 Add tests for resumed import 2014-04-17 21:56:15 +02:00
Adrian Sampson
0de340d516 changelog for #697 2014-04-17 12:04:48 -07:00
Yevgeny Bezman
e82147ce6d replaygain: added missing import 2014-04-17 21:32:12 +03:00
Yevgeny Bezman
bfac8cf84f replaygain: ignoring deprecation warning for threads_init in newer gi versions. Fixes #697 2014-04-17 20:06:03 +03:00
Yevgeny Bezman
bbb1f7a295 tests: made all tests pass on cygwin. Fixes #655 2014-04-17 19:50:59 +03:00
Adrian Sampson
9d6c6f76bb changelog for #699 2014-04-17 09:14:36 -07:00
Thomas Scholtes
8fc9f3463f Add more paths to search for bash completion 2014-04-17 13:39:06 +02:00
Thomas Scholtes
a6aed22ddd Flake8 fixes 2014-04-17 12:25:59 +02:00
Thomas Scholtes
ea04344560 Test and fix unicode issues in logs. Fixes #699
The helper functions for creating test fixtures now include unicode characters.
2014-04-17 12:12:49 +02:00
Adrian Sampson
115a0b06d3 changelog for #695 2014-04-16 15:19:29 -07:00
Thomas Scholtes
151b451c33 Add more paths to search for bash completion 2014-04-16 23:53:45 +02:00
Ayberk Yilmaz
f67ace610a Fixed #453 and added test cases 2014-04-16 23:16:04 +03:00
Adrian Sampson
8877d2a5c2 changelog entry for #693 2014-04-16 10:22:49 -07:00
Adrian Sampson
de1247c7bc query-based fix for #693
This is @geigerzaehler's fix from b868799, just with the typo fixed
(singletons -> singleton).

An alternate (more verbose) fix would have been:

    singletons_query.subqueries.append(
        dbcore.query.BooleanQuery('singleton', True, False)
    )

i.e., pass `False` for the `fast` parameter to indicate that this is not a
fixed-field query.
2014-04-16 10:18:38 -07:00
Thomas Scholtes
d02dec8364 Test albums and singletons simultaneously 2014-04-16 14:50:57 +02:00
Thomas Scholtes
0751c560e3 Check for singleton directly 2014-04-16 14:42:19 +02:00
Thomas Scholtes
b8687999e2 Query string for computed fields. Fixes #693 2014-04-16 14:18:07 +02:00
Thomas Scholtes
4e2828668c Refactor mbsync 2014-04-16 14:02:51 +02:00
Thomas Scholtes
8057830c01 Test mbsync plugin
Exposes bug from #693
2014-04-16 14:01:00 +02:00