Commit graph

7351 commits

Author SHA1 Message Date
Susanna Maria Hepp
00371de0bb Changes suggested by @sampsyo 2016-12-27 21:56:39 +01:00
Susanna Maria Hepp
c632949b64 Changes suggested by @Kraymer 2016-12-27 21:48:06 +01:00
nath@home
8e29a3ffcb Zero: Last minute unimportant fixes:
*Remove the artifact of a debug log.
*Remove meaningless version number.
*Rephrase some docstrings.
*Remove tautological comments.
2016-12-27 19:13:29 +01:00
Adrian Sampson
a4e2538324 Merge pull request #2348 from benpetty/patch-1
typo in docs
2016-12-27 08:41:21 -05:00
Susanna Maria Hepp
bbaad2f17d Introduce force option in acousticbrainz 2016-12-27 13:22:16 +01:00
Ben Petty
767798ca07 typo in docs 2016-12-26 20:27:35 -08:00
Susanna Maria Hepp
f93ee3accc First hack of ignoring already tagged items 2016-12-26 23:54:24 +01:00
Adrian Sampson
8408264142 Update test file for new set of tags
The new MediaFile tags in #2333 mean that the `test_unicode_path` test will
write new tags to this test fixture file.
2016-12-26 17:41:44 -05:00
Adrian Sampson
a9fd3df681 Docs fixes for #2329 2016-12-26 17:33:23 -05:00
Adrian Sampson
a92323945e Merge pull request #2329 from SJoshBrown/master
Add manually triggered mode for zero plugin
2016-12-26 17:29:17 -05:00
Adrian Sampson
641e62f2e0 Vastly simplify main random function
This is the payoff from the earlier refactorings: the control flow is now
consistent and clear, and the two factors (time vs. number, equal-chance or
not) are orthogonal. See also #2322.
2016-12-26 17:04:21 -05:00
Adrian Sampson
33eb4ff91b Refactor time-based selection (#2322) 2016-12-26 17:01:02 -05:00
inytar
d0dd0b2a05 Add absubmit plugins dependencies to the extras_require field 2016-12-26 16:51:14 -05:00
inytar
90ea8425cf Add documentation for the absubmit plugin 2016-12-26 16:50:51 -05:00
Adrian Sampson
d053f98e81 random: Refactor equal chance logic 2016-12-26 16:43:47 -05:00
Adrian Sampson
5bbf16c2b1 Refactor length calculation (#2322)
Also, avoid setting an unnecessary field on the album objects. :/
2016-12-26 16:32:03 -05:00
Adrian Sampson
4c2457d6ce Refactor random plugin a bit
Separate the callback function from the random selection logic.
2016-12-26 16:27:31 -05:00
inytar
146516704f Update comments for clarification 2016-12-26 16:11:48 -05:00
Adrian Sampson
3a650a151e Docs fixes for #2322 2016-12-26 16:10:46 -05:00
Adrian Sampson
c86b309762 Changelog for #2322 (fix #2305) 2016-12-26 16:09:43 -05:00
Adrian Sampson
9adfcbddd1 Merge pull request #2322 from diomekes/random-timelimit
random: add --time option, update docs
2016-12-26 16:08:14 -05:00
inytar
b86187089b Update errors and logging of ABSubmit plugin
A UserError is now raised if the plugin can be started.
If an item fails to be analyzed or be submited an error is logged and
the next item is tried.
2016-12-26 16:05:10 -05:00
Josh Brown
b6577b4226 refactor long line for PEP8 2016-12-26 14:42:10 -06:00
Josh Brown
431ec5ee7a Merge remote-tracking branch 'origin/master' 2016-12-26 14:21:19 -06:00
Josh Brown
7833469261 add confirmation for empty query 2016-12-26 14:13:01 -06:00
Josh Brown
2903925e2f Rewrite zero plugin manual mode 2016-12-26 13:34:34 -06:00
Josh Brown
30ae211e66 update changelog 2016-12-26 12:10:19 -06:00
Josh Brown
ef80229350 additional zero tests 2016-12-26 12:10:19 -06:00
Josh Brown
5b8b61f0c0 added documentation for zero subcommand 2016-12-26 12:10:19 -06:00
Josh Brown
4cc4fe1290 added zero subcommand 2016-12-26 12:10:18 -06:00
Adrian Sampson
22937698e2 Merge pull request #2345 from beetbox/clean-zero
Cleanup zero plugin
2016-12-25 12:35:07 -05:00
nathdwek@laptop
7de97df209 Zero: rewrite tests.
Rely on plugin interface only.
Unregister listeners by hand for the moment.
2016-12-25 17:10:16 +01:00
nathdwek@laptop
96d331ace0 Zero: cleanup plugin 2016-12-24 19:13:10 +01:00
Johnny Robeson
57338f803f Use released version of Python 3.6 for travis (#2341) 2016-12-24 04:39:30 -05:00
Adrian Sampson
10f0d03d79 Test "true" FLAC bitrate from Mutagen 1.35
Fix #2343.
2016-12-23 20:23:23 -05:00
inytar
f61aa7a016 Move extractor sha calculation to pluging init. 2016-12-23 17:48:29 -05:00
inytar
fd3ff917d2 Implement the basic AcousticBrainz Submit plugin 2016-12-23 17:27:46 -05:00
Adrian Sampson
8cc2ac5b39 Remove stray prints (#2333) 2016-12-21 21:11:16 -05:00
Adrian Sampson
3528a675fa Changelog for #2333 2016-12-21 11:17:26 -05:00
Adrian Sampson
85119f77d5 Merge pull request #2333 from ibmibmibm/master
Add Composer, Lyricist and Arranger tags
2016-12-21 11:06:54 -05:00
Shen-Ta Hsieh
97e558185a add compatibility to old version of musicbrainzngs
Signed-off-by: Shen-Ta Hsieh <ibmibmibm.tw@gmail.com>
2016-12-21 10:12:46 +08:00
Adrian Sampson
a063336446 Fix #2332: Unicode trouble in bpd 2016-12-20 15:16:46 -05:00
Shen-Ta Hsieh
7060b512b8 Add Composer, Lyricist and Arranger tags
MusicBrainz provids composer, lyricist and arranger infomations related
to individual recordings. This commit adds query parameters to fetch them, and
write down to media files.

Tagging mapping is implemented according MusicBrainz Picard's data:
https://picard.musicbrainz.org/docs/mappings/

Signed-off-by: Shen-Ta Hsieh <ibmibmibm.tw@gmail.com>
2016-12-21 01:52:42 +08:00
Josh Brown
69a58ca842 additional test coverage for zero plugin 2016-12-18 14:28:55 -06:00
Josh Brown
510fe6f146 refactor changes to zero plugin 2016-12-18 14:27:42 -06:00
Adrian Sampson
cba30163cd Merge pull request #2328 from jrobeson/add-python3-trove-classifiers
Add Python 3 trove classifiers
2016-12-17 20:08:13 -05:00
Johnny Robeson
88f59e64ea Add Python 3 trove classifiers 2016-12-17 18:55:59 -05:00
Josh Brown
c40a587e68 update changelog 2016-12-17 17:49:45 -06:00
Josh Brown
148354c5c4 additional zero tests 2016-12-17 17:30:07 -06:00
Josh Brown
fec7e30fe1 added documentation for zero subcommand 2016-12-17 17:17:55 -06:00