Commit graph

56 commits

Author SHA1 Message Date
Adrian Sampson
323d90db17 Tiny ReST markup tweaks (#2814) 2018-02-22 15:51:15 -05:00
Michal Koutenský
305f9f2dfb Document 'early_import_stages' in the docs 2018-02-21 16:01:26 +01:00
Jacob Gillespie
b4efecb709 Add option to hardlink when importing 2017-02-19 15:56:13 -06:00
Adrian Sampson
8937eec50a Refactor built-in stnadard choices 2016-12-28 14:15:40 -05:00
Adrian Sampson
2f6538aee2 Refactor search options to ordinary choices
`PromptChoice`s can now return `Proposal` values, which makes these two
options just "normal" actions that could be provided by plugins.
2016-12-28 14:08:09 -05:00
Diego Moreda
b7a2a42d9c Fix docs on plugin prompt choices conflict solving
* Fix docstring and `plugins.rst` regarding how the PromptChoices that
use the same short letter are handled (they are discarded instead of
raising an Exception).
2016-01-28 13:01:44 +01:00
Adrian Sampson
5369a60a2a More details on log levels (fix #1781) 2015-12-30 21:21:30 -08:00
Diego Moreda
6f8a1aa40a Prompt event documentation and mbsubmit fixes
* Fixes for documentation of the prompt event (missing reserved letter, typos).
* Update sample mbsubmit plugin to conform to the new PromptChoice structure.
2015-12-16 19:26:39 +01:00
Diego Moreda
c94679e143 Add prompt event documentation
* Add documentation for the before_choose_candidate event (add event to the
event list and add section with example usage).
2015-12-15 20:13:34 +01:00
Adrian Sampson
cb6edb46ef Use ` instead of * for plugin event names 2015-11-07 12:12:48 -08:00
Adrian Sampson
4e20ddcef9 Doc refinements for #1499 2015-11-07 12:11:05 -08:00
Manfred Urban
17b38a6be8 Minor layout fixes to documentation 2015-11-05 16:43:28 +01:00
Manfred Urban
5e4c41ffe8 Clarified documentation 2015-11-05 16:37:35 +01:00
Manfred Urban
ae0babb17e Less duplicated text in documentation 2015-11-05 16:17:19 +01:00
Manfred Urban
1708939f99 - Added hooks to manipulate fetched album and track info
- Integrated support for plugins
- Added documentation
- Updated changelog
2015-11-05 15:17:58 +01:00
Adrian Sampson
079822b893 Importer: no separate stage for applying metadata
It's cheaper and easier to just apply metadata in the UI thread. The
advantage, then, is that we no longer need to keep track of anything in-memory
to enumerate data that has been seen by the user but not added to the database
yet!

In the next step, I'll remove `seen_idents` altogether.
2015-10-24 13:03:26 -07:00
multikatt
b8fdd163b9 Fix capitalization of examples and add a comma
Fixes syntax highlighting
2015-07-05 14:29:37 -04:00
David
c3745ce6c2 typo: exapnds -> expands 2015-04-09 12:30:38 -04:00
David
09100c4a55 Update plugins.rst
The class is called CommonOptionsParser, Option*s*.
2015-04-05 22:44:08 -04:00
Bruno Cauet
c6f6e3164a Merge branch 'thread-safe-logging2' 2015-04-01 10:45:12 +02:00
Adrian Sampson
b477f4a53f Merge pull request #1376 from tomjaspers/config-redacted-fields
Config: new option -r redacts sensitive fields

Conflicts:
	beets/util/confit.py
2015-03-27 22:11:24 -04:00
Tom Jaspers
ce78be3eb6 Config: add docs & tests for --redacted option 2015-03-26 12:49:54 +01:00
Adrian Sampson
127b92598c Clarify plugin verbosity docs (taken from sampsyo/thread-safe-logging) 2015-03-25 12:55:39 +01:00
Bruno Cauet
191ff61c53 Document the database_change parameter update 2015-03-16 18:44:52 +01:00
Bruno Cauet
58b39f1000 Merge branch 'master' into subcommand-auto-format-path 2015-03-05 17:53:31 +01:00
Bruno Cauet
6fda0e23fc Update docs & changelog 2015-03-05 17:40:32 +01:00
Taeyeon Mori
ddf86af3a0 DOCS The plugin stages now receive the ImportSession as first argument 2015-03-01 19:52:11 +01:00
Bruno Cauet
a014750e2d Update docs: mention multi-level logging
If you think what I wrote suck, it's because it does.
2015-02-10 17:29:02 +01:00
Malte Ried
e681449785 Added documentation
FileFilterPlugin uses the new return value feature
Some tweaks to get the code more readable
2015-02-01 17:01:06 +01:00
Adrian Sampson
dc5a79e35c New import_task_created event
Part of #1186.
2015-01-18 15:37:48 -08:00
Adrian Sampson
34c9caae67 Changelog for logging changes (#1208) 2015-01-11 15:44:38 -08:00
Adrian Sampson
e83b6ae297 Logging (#1208): prefix plugin names, expand docs
We now add the plugin name to messages in verbose mode. This may not be the
best final policy, but it does help make the output more readable when many
plugins are talking at once.
2015-01-11 15:39:54 -08:00
Bruno Cauet
2a527598bf Add logging usage recommendations to docs 2015-01-09 15:07:02 +01:00
Adrian Sampson
fe655e4610 discogs: Only authenticate on import (#1123)
No need to authenticate for other commands.
2014-11-30 11:18:32 -08:00
Adrian Sampson
c6af552703 docs: item_linked event (#710) 2014-11-15 12:21:14 -08:00
Thomas Scholtes
0bf7c06f7d Media file tags can be customized with the `write` event 2014-09-17 12:05:17 +02:00
Adrian Sampson
5ba3d98631 More docs/changelog for flex types (#951) 2014-09-14 12:10:47 -07:00
Thomas Scholtes
80f3ec1ed7 Document flexible field types in plugins 2014-09-14 13:15:47 +02:00
Robert Speicher
a7c996d3af Add before_item_moved event
This event gets called just before `util.move` with the same arguments
as the `item_moved` event.
2014-05-01 20:38:07 -04:00
Thomas Scholtes
eb4c323bcb Plugins can now extend MediaField 2014-04-04 00:48:29 +02:00
Thomas Scholtes
574903e986 Add FileOperationError and handling in item.write() 2014-03-24 14:22:27 +01:00
Thomas Scholtes
a399f294e8 Handle exceptions in item.write and use plugin abort 2014-03-22 13:25:25 +01:00
Thomas Scholtes
92061099fe Add BeforeWriteError for plugins
The idea is that plugins may want to prevent beets from writing a file (for
example if an integrity check failed).
2014-03-22 13:25:25 +01:00
Thomas Scholtes
4205d1a7b9 Plugins can change task.choice_flag in import_task_choice handler 2014-03-11 19:18:19 +01:00
Thomas Scholtes
ff9e4f4dcb Add after_write plugin event 2014-03-10 16:34:12 +01:00
Adrian Sampson
d6e1bc547f docs: fix reference to Transaction 2014-01-28 09:50:38 -08:00
Adrian Sampson
9ee4adc5e1 move remaining generic Query types to dbcore.query
NumericQuery is still broken. This, of course, is the whole reason for the
change.
2014-01-20 16:40:50 -08:00
Stig Inge Lea Bjørnsen
6ed430d730 Send a plugin event when a file is copied.
I use this event in a plugin that needs to know which file outside the
library an item was copied from during import.
2014-01-14 21:53:12 +01:00
Adrian Sampson
3d5d071fe7 fix docs to refer to dbcore module 2014-01-13 17:25:07 -08:00
Romuald Conty
f0483ccd85 doc: add documentation about 'item_removed' event 2014-01-10 01:23:47 +00:00