From 348eb2beff7a756e292f5d863c471ec41c344be8 Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Wed, 7 Dec 2011 16:38:38 -0800 Subject: [PATCH] don't update mtime when moving This is incorrect when the file was out-of-sync when moved. A possible approach in the future could check whether the old mtime was up to date and, in that case only, keep it up to date with the new filename. --- beets/library.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/beets/library.py b/beets/library.py index 9ad78fd1e..7bbf08912 100644 --- a/beets/library.py +++ b/beets/library.py @@ -234,9 +234,6 @@ class Item(object): # Either copying or moving succeeded, so update the stored path. self.path = dest - # Update mtime to reflect the new file. - self.mtime = self.current_mtime() - def current_mtime(self): """Returns the current mtime of the file, rounded to the nearest integer.