Commits

Adrian Sampson committed 0033823

docs for new plugin events (#79)

Comments (0)

Files changed (2)

docs/changelog.rst

 1.1b2 (in development)
 ----------------------
 
+* Two new plugin events were added: *database_change* and *cli_exit*. Thanks to
+  Dang Mai Hai.
+
 1.1b1 (January 29, 2013)
 ------------------------
 

docs/plugins/writing.rst

 * *library_opened*: called after beets starts up and initializes the main
   Library object. Parameter: ``lib``.
 
+* *database_change*: a modification has been made to the library database. The
+  change might not be committed yet. Parameter: ``lib``.
+
+* *cli_exit*: called just before the ``beet`` command-line program exits. No
+  parameters.
+
 The included ``mpdupdate`` plugin provides an example use case for event listeners.
 
 Extend the Autotagger