Commit graph

5383 commits

Author SHA1 Message Date
Jack Wilsdon
88ece413f3 Add Hook plugin to run commands on events
This plugin allows users to execute scripts on
different events, as well as forward any
arguments from the events to the script.
2015-09-11 04:49:50 +01:00
Adrian Sampson
548dab5355 Merge pull request #1601 from jackwilsdon/add-embedart-remove-test
Add a test for EmbedArt removing art files
2015-09-10 18:11:06 -07:00
Jack Wilsdon
b1cef2606b Delete the artwork file if the test failed 2015-09-10 22:48:47 +01:00
Jack Wilsdon
2f333968c5 Add test for removing art files (remove_art_file property) (#1591) 2015-09-10 22:18:13 +01:00
Adrian Sampson
2f5bec2913 Merge pull request #1599 from jackwilsdon/add-plexupdate-library-test
Add a test for PlexUpdate custom library name
2015-09-09 21:50:58 -07:00
Jack Wilsdon
622c5d1e0f Fix unexpected spaces around keyword / parameter equals 2015-09-10 05:14:07 +01:00
Jack Wilsdon
7a70bd3b81 Add test for custom named music section (library_name property) (#1595) 2015-09-10 05:08:16 +01:00
Jack Wilsdon
4a225ee291 Allow a custom music section name to be provided when generating a response 2015-09-10 05:07:14 +01:00
Adrian Sampson
c7603fcbd5 Merge pull request #1595 from jackwilsdon/add-plex-library-config
Add `library_name` configuration property to PlexUpdate plugin (fixes #1572)
2015-09-09 19:41:34 -07:00
Jack Wilsdon
40f9f6593e Changelog for #1595 2015-09-09 22:31:23 +01:00
Adrian Sampson
225ba282cd Fix #1592 again: wrap title_gain in handler 2015-09-08 12:07:03 -07:00
Jack Wilsdon
2b37d8f775 Add library_name parameter to plexupdate tests 2015-09-08 14:50:49 +01:00
Jack Wilsdon
764fcc6b4c Add library_name configuration property 2015-09-08 12:48:24 +01:00
Adrian Sampson
11762885b4 Remove stray config options from main defaults
What were these doing here in the first place?
2015-09-07 21:39:05 -07:00
Adrian Sampson
7a306db752 Changelog for #1577 2015-09-07 14:39:44 -07:00
Adrian Sampson
b41259623d Merge pull request #1577 from nathdwek/play-warn-tresh
play: make the many files warning configurable
2015-09-07 14:39:05 -07:00
Adrian Sampson
2140bb27a3 Fix #1592: unhandled exception in PyAudioTools 2015-09-07 14:15:46 -07:00
Adrian Sampson
9a76a1e7eb Changelog for #1591 (fix #733) 2015-09-06 22:16:27 -07:00
Adrian Sampson
8963d88380 Merge pull request #1591 from jackwilsdon/embedart-remove-art-file
Add `remove_art_file` configuration property to EmbedArt plugin
2015-09-06 22:14:59 -07:00
Jack Wilsdon
64e33b2d9a Remove unused import 2015-09-07 01:55:44 +01:00
Jack Wilsdon
38926caebe Reset album art to None when removed 2015-09-07 01:52:03 +01:00
Jack Wilsdon
ea247936c2 Add purpose description to remove_art_file documentation 2015-09-07 01:21:47 +01:00
Adrian Sampson
f8d9019d1b Better explanation of threaded option
It was pointed out that the old wording was too worrisome.
2015-09-06 17:14:55 -07:00
Jack Wilsdon
110ab43db7 Add documentation for remove_art_file 2015-09-06 21:56:41 +01:00
Jack Wilsdon
9eb4fc530b Wrap line to ensure it is less than 80 characters 2015-09-06 21:53:34 +01:00
Jack Wilsdon
420b0724a0 Add remove_art_file configuration property 2015-09-06 21:45:15 +01:00
nath@home
940dc3c1a6 play: Add documentation for play-warn-tresh
Added documentation for the new warning_treshold config option for
beets-play

Also made the documentation for the use_folders option more
explicit.
2015-09-03 22:19:51 +02:00
nath@home
ff4fda1bb5 play: make the many files warning configurable
The warning_treshold key in the play configuration defines the
minimum number of file before a warning is issued (default 100).
A zero value means no warning is ever issued.

This is the first commit for this feature, and this should fully
implement it.
2015-09-03 22:19:51 +02:00
Adrian Sampson
bc137b174f Doc tweaks & changelog for #1589 2015-09-02 15:05:23 -07:00
Adrian Sampson
2547f174b8 Merge pull request #1589 from jdetrey/master
Fix #1303: process `DateItemField` tags in YMD order
2015-09-02 15:01:52 -07:00
Jérémie Detrey
8b58af8dba Follow style conventions. 2015-09-02 23:25:47 +02:00
Jérémie Detrey
dcbc2dafa1 Fix #1303: process DateItemField tags in YMD order 2015-09-02 22:48:55 +02:00
Adrian Sampson
854a4539cb Fix #1588: fetchart gets PNGs, not GIFs 2015-09-02 12:45:35 -07:00
Adrian Sampson
086b97173b Changelog for #1578 2015-09-02 12:33:04 -07:00
Adrian Sampson
7087f8cf00 Merge pull request #1578 from nathdwek/play-raw
beets-play: Add the option to pass the "raw" queried pathes to the player command
2015-09-02 12:31:43 -07:00
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