Commit graph

5348 commits

Author SHA1 Message Date
nath@home
b9bc06d9d8 play-raw: Rename the command target:
passed_to_command -> open_args
2015-09-01 23:42:43 +02:00
nath@home
7ed742b268 play-raw: Fix a docstring and add doc 2015-09-01 23:42:43 +02:00
nath@home
9c663432bd Refactor util/interactive_open: multiple targets
interactive_open should now be invoked with at least the list of
targets and optionally the command to open the targets with.
This allows beets-play to pass multiple file paths directly to
the configured command.

The changes to the existing invocations are pretty trivial in
order to comply to this refactor.
2015-09-01 23:42:42 +02:00
nath@home
4eb563a08c pep8: Correct camelCase to snake_case 2015-09-01 23:42:42 +02:00
nath@home
a23c5d4f67 play-raw: Call vlc with one file par arg 2015-09-01 23:42:42 +02:00
nath@home
18d5c3b0a0 play-raw: Add the option to play the raw queried pathes
I slightly rewrote the play plugin in order to improve
the readability and to introduce the "raw" play config
option which makes beet simply pass a list of pathes
to the play command rather than a playlist.
2015-09-01 23:42:42 +02:00
Adrian Sampson
e32744a66a Fix extra parameter introduced for #1581 2015-08-30 11:55:06 -07:00
Adrian Sampson
65e011215d Merge pull request #1585 from pkess/reduce_footprint
removed obsolet variable from PR #1582
2015-08-30 11:30:23 -07:00
Peter Kessen
760b2ac73f removed obsolet variable
removed variable _added_help from CommonOptionsParser
variable is not required since 3f49044
2015-08-30 16:32:44 +02:00
Adrian Sampson
9e83c76762 Changelog for #1582 2015-08-29 12:57:59 -07:00
Adrian Sampson
3f490440b6 Reduce footprint of #1582
No need for a separate function since we only use this once.
2015-08-29 12:56:39 -07:00
Adrian Sampson
83c55f9374 Merge pull request #1582 from pkess/master
Additional help text for commands
2015-08-29 12:54:49 -07:00
Adrian Sampson
9ce49b7ef0 fetchart: Do not emable Wikipedia by default
Because DBpedia seems to be down (it's responding very slowly with errors),
this seems like a good defensive action. It narrows the default sources to
those that resolve quickly, with only a couple of HTTP requests. We can
re-enable this again in the future if things seem to stabilize over at
DBpedia.
2015-08-29 12:52:57 -07:00
Adrian Sampson
e249fcb06f fetchart: Fix #1581, splitting in Wikipedia source 2015-08-29 12:45:10 -07:00
Adrian Sampson
b5cb4e4cc4 Slightly more efficient image streaming 2015-08-29 12:41:54 -07:00
Adrian Sampson
3d20f25f06 fetchart: Fix bungled Requests API 2015-08-29 12:27:37 -07:00
Adrian Sampson
75e810409b fetchart: Use a mixin for even more logging 2015-08-29 12:13:28 -07:00
Adrian Sampson
608e4ffbef fetchart: Lots more logging 2015-08-29 11:59:46 -07:00
Adrian Sampson
2113bf46a6 fetchart: Disable Google by default
Since it's less precise than the other sources.
2015-08-29 11:41:29 -07:00
Adrian Sampson
2b1d7fc3aa fetchart: Logging, naming, remove unused option 2015-08-29 11:31:59 -07:00
Peter Kessen
b857320105 fixed tox style suggestions
also following the "no contrived examples" rule by using
beatles as artist in example
2015-08-28 08:47:25 +02:00
Peter Kessen
eb68d4ddb5 Added extra output for help with subcommand list
An example including output format is given now
2015-08-26 18:38:04 +02:00
Peter Kessen
7a8765a631 Added support for extra help line on option parser
added method _add_help_text to class CommonOptionParser
2015-08-26 18:36:22 +02:00
Adrian Sampson
f899ed93ac lastimport: Log error responses
For debugging #1574.
2015-08-24 11:09:45 -07:00
Adrian Sampson
9749d9f134 Merge pull request #1565 from nathdwek/clearart-notify
Rewrite the clearart method in order to send write events to the plugins.
2015-08-23 23:42:11 -07:00
nath@home
8bf60ee8df clearart-notify: Added changelog entry 2015-08-23 00:04:02 +02:00
nath@home
8773d958c1 clearart-notify: Use default arguments when clearing art 2015-08-23 00:03:33 +02:00
nath@home
b53798aaf9 clearart-notify: Use item.try_write() to clear art
This method already groups reading the config, managing file I/O
and exceptions, as well as sending events to the plugins, so it's
really easier and cleaner to do it that way. Note that passing
'images':None as tags to update correctly triggers beets to delete
the images tag altogether.
2015-08-23 00:01:19 +02:00
nath@home
b6290e2895 clearart-notify: Send write events when clearing art
For example, this led beets-check to not recompute hashes when
doing beet clearart [query]. Further operations on the file(s)
would then trigger beets-check to issue integrity warnings.
2015-08-23 00:00:21 +02:00
Adrian Sampson
a000a15803 Changelog: bug link/thanks 2015-08-16 09:29:18 -07:00
Adrian Sampson
cde509a638 Merge pull request #1570 from fxthomas/badfiles
Badfiles: Easier default configuration, docs update and color output
2015-08-16 09:27:08 -07:00
Adrian Sampson
e708520349 Fix extra word 2015-08-16 09:25:56 -07:00
Adrian Sampson
759c79c426 play: Insert arguments anywhere (#1532) 2015-08-16 09:23:09 -07:00
François-Xavier Thomas
c54105d272 badfiles: Fix unicode error on some queries 2015-08-15 15:37:47 +02:00
François-Xavier Thomas
6095914d30 badfiles: Fixed typo in docs 2015-08-15 15:31:00 +02:00
François-Xavier Thomas
ded73354a9 badfiles: Added color output 2015-08-15 15:19:04 +02:00
François-Xavier Thomas
50b8d8dd6e badfiles: Update doc about checker commands 2015-08-15 14:53:35 +02:00
François-Xavier Thomas
8db75f075e badfiles: Update doc to remove unneeded defaults 2015-08-15 14:53:17 +02:00
François-Xavier Thomas
e8cb1241f5 badfiles: If not configured, use default checkers 2015-08-15 14:39:37 +02:00
François-Xavier Thomas
27075ea037 badfiles: Fixed weird use of sum 2015-08-15 14:39:35 +02:00
Adrian Sampson
ecf677ae41 Reorganize up some badfiles documentation 2015-08-14 20:50:29 -07:00
Adrian Sampson
c756b3eedb badfiles: Clean up for beets style
Use {} formatting, 80 character wrap, ___future__ imports.
2015-08-14 20:37:36 -07:00
Adrian Sampson
82484be232 Add badfiles plugin as-is 2015-08-14 20:32:19 -07:00
Adrian Sampson
315fe78f0c Example for play --args (#1532) 2015-08-14 19:57:05 -07:00
Adrian Sampson
ab7e9d4db2 Simplify #1532: CLI only, append to end 2015-08-14 19:52:49 -07:00
Adrian Sampson
7b6c773a3f Cleanup for #1532 2015-08-14 19:44:11 -07:00
Adrian Sampson
217a8126bc Merge pull request #1532 from pheerai/play_opt_arg
Added optional argument for play-plugin
2015-08-14 19:23:34 -07:00
Adrian Sampson
339ab55558 Link to beets-badfiles 2015-08-11 22:44:07 -07:00
Adrian Sampson
4038f191da Fix #1564 (regression from #1559) 2015-08-08 11:23:55 -07:00
Adrian Sampson
7621ae4280 aur4 is now aur
The transition is imminent (and the link already works):
https://wiki.archlinux.org/index.php/Arch_User_Repository#AUR_4
2015-08-07 09:52:43 -07:00