diff --git a/beetsplug/importadded.py b/beetsplug/importadded.py index 36407b14c..29aeeab0f 100644 --- a/beetsplug/importadded.py +++ b/beetsplug/importadded.py @@ -124,7 +124,7 @@ class ImportAddedPlugin(BeetsPlugin): util.displayable_path(item.path), item.added) item.store() - def update_after_write_time(self, item): + def update_after_write_time(self, item, path): """Update the mtime of the item's file with the item.added value after each write of the item if `preserve_write_mtimes` is enabled. """ diff --git a/docs/changelog.rst b/docs/changelog.rst index 8f92f2140..9d5918a2d 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -45,6 +45,9 @@ Fixes: * :doc:`/plugins/replaygain`: Fix a Python 3 incompatibility in the Python Audio Tools backend. :bug:`3305` +* :doc:`/plugins/importadded`: Fixed a crash that occurred when the + ``after_write`` signal was emitted. + :bug:`3301` For plugin developers: