From bc0a93d8b777f4b4bb1ad7ad158a87b429a17d07 Mon Sep 17 00:00:00 2001 From: Guilherme Danno Date: Sun, 22 Aug 2021 03:33:11 -0300 Subject: [PATCH] fix: use try_sync --- beetsplug/series.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/beetsplug/series.py b/beetsplug/series.py index 0b22c4c52..e6a90ef47 100644 --- a/beetsplug/series.py +++ b/beetsplug/series.py @@ -56,13 +56,7 @@ def apply_item_changes(lib, item, move, pretend, write): """Store, move and write the item according to the arguments. """ if not pretend: - # Move the item if it's in the library. - if move and lib.directory in util.ancestry(item.path): - item.move(with_album=False) - - if write: - item.try_write() - item.store() + item.try_sync(write, move) def get_series_type(name):