Preserve timestamps of imported files

Hi!

How can I configure beet to preserve the timestamps of the imported files?

I just found the ImportAdded Plugin but as I understand it, it just handles the timestamps of the library…

Thanks and regards!

Hi! Have you tried the preserve_mtimes option?
https://beets.readthedocs.io/en/stable/plugins/importadded.html#configuration

Yes, this option preserves the mtime of the file (and the field mtime), but it also uses the preserved mtime for the field added (to the library).

Is there a possibility to keep just the mtime of the file but to have the “correct” time in the field added?

No, I don’t believe that’s an option; sorry.

OK, thanks for the info.