mirror of
https://github.com/beetbox/beets.git
synced 2025-12-27 11:02:43 +01:00
Merge pull request #3302 from Holzhaus/fix-3301
beetsplug/importadded: Add missing path kwarg to update_after_write_time()
This commit is contained in:
commit
7dd0ed77f9
2 changed files with 4 additions and 1 deletions
|
|
@ -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.
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue