Commit graph

39 commits

Author SHA1 Message Date
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
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
Romuald Conty
f0483ccd85 doc: add documentation about 'item_removed' event 2014-01-10 01:23:47 +00:00
Pedro Silva
7299ed24c6 Add vararg_callback utility function to beets.ui
Optparse doesn't support argparse nargs='+' style arguments.  This patch
adds a callback utility function that allows that idiom. The function is
taken from the page at
http://docs.python.org/2/library/optparse.html#callback-example-6-variable-arguments.

Here's an example of how to use it:

    from beets.ui import vararg_callback
    parser.add_option("-c", "--callback", dest="vararg_attr",
                      action="callback", callback=vararg_callback)
2013-10-22 18:11:24 +02:00
Peter Schnebel
c82cd29081 requires 'self' 2013-10-18 14:10:16 +02:00
Adrian Sampson
e6725b6973 docs: reorg plugins section; add dev section
--HG--
rename : docs/plugins/writing.rst => docs/dev/plugins.rst
2013-09-24 20:33:46 -07:00
Renamed from docs/plugins/writing.rst (Browse further)