From 55c72f678e01a24dc1948c7053ec27d44f58f08a Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Fri, 23 Sep 2011 11:51:20 -0700 Subject: [PATCH] document item_imported plugin event --- beets/__init__.py | 2 +- docs/plugins/index.rst | 3 +++ setup.py | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/beets/__init__.py b/beets/__init__.py index 917dbfa6c..643309751 100644 --- a/beets/__init__.py +++ b/beets/__init__.py @@ -12,7 +12,7 @@ # The above copyright notice and this permission notice shall be # included in all copies or substantial portions of the Software. -__version__ = '1.0b10' +__version__ = '1.0b11' __author__ = 'Adrian Sampson ' import beets.library diff --git a/docs/plugins/index.rst b/docs/plugins/index.rst index 436973286..b46c5ccb2 100644 --- a/docs/plugins/index.rst +++ b/docs/plugins/index.rst @@ -198,6 +198,9 @@ currently available are: * *album_imported*: called with an ``Album`` object every time the ``import`` command finishes adding an album to the library +* *item_imported*: called with an ``Item`` object every time the importer adds a + singleton to the library (not called for full-album imports) + The included ``mpdupdate`` plugin provides an example use case for event listeners. Extend the Autotagger diff --git a/setup.py b/setup.py index b2ca52fbf..2f0ee1a79 100755 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ def _read(fn): return open(path).read() setup(name='beets', - version='1.0b10', + version='1.0b11', description='music tagger and library organizer', author='Adrian Sampson', author_email='adrian@radbox.org',