diff --git a/beets/library.py b/beets/library.py index 1f6a59ca8..f4bfc467f 100644 --- a/beets/library.py +++ b/beets/library.py @@ -979,7 +979,7 @@ class Transaction(object): the row ID of the last affected row. """ cursor = self.lib._connection().execute(statement, subvals) - plugins.send('database_change') + plugins.send('database_change', lib=self.lib) return cursor.lastrowid def script(self, statements):