Merge pull request #3302 from Holzhaus/fix-3301

beetsplug/importadded: Add missing path kwarg to update_after_write_time()
This commit is contained in:
Adrian Sampson
2019-06-11 11:50:36 -04:00
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -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.
"""
+3
View File
@@ -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: