Commits

Adrian Sampson  committed 4b2e174 Merge

merge new events (#79)

  • Participants
  • Parent commits 4f230a4, b11796c

Comments (0)

Files changed (2)

File beets/library.py

         the row ID of the last affected row.
         """
         cursor = self.lib._connection().execute(statement, subvals)
+        plugins.send('database_change', lib=self.lib)
         return cursor.lastrowid
 
     def script(self, statements):

File beets/ui/__init__.py

     """
     try:
         _raw_main(args)
+        plugins.send('cli_exit')
     except UserError as exc:
         message = exc.args[0] if exc.args else None
         log.error(u'error: {0}'.format(message))