quodlibet / mutagen

Python module for handling audio metadata
https://mutagen.readthedocs.io
GNU General Public License v2.0
1.48k stars 158 forks source link

Option to preserve file mtime on save #645

Open kjc1 opened 3 months ago

kjc1 commented 3 months ago

Provides support to all file formats to preserve the original file mtime on save. I'm aware some users already implement this functionality outside of Mutagen (e.g. Picard) so this has been implemented as an optional flag on the save method where the default (false) maintains the current behaviour.

I have a separate PR incoming to utilise this in Quod Libet.

lazka commented 5 days ago

What's the use case for this? Any why does it have to be part of mutagen?

phw commented 5 days ago

I also think this should be part of an application using mutagen, not mutagen itself. Mutagen should stick to the low level functionality.

I see several issues here