Issue Details (XML | Word | Printable)

Key: PICARD-31
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Normal Normal
Assignee: voiceinsideyou
Reporter: voiceinsideyou
Votes: 1
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Picard

Option to preserve file date and time

Created: 20/Aug/11 05:34 AM   Updated: 02/Jun/12 10:51 AM   Resolved: 02/Jun/12 10:51 AM
Component/s: File Move & Rename, Tags & Metadata
Affects Version/s: 0.9.0, 0.15.1
Fix Version/s: 1.0

File Attachments: 1. Text File picard-preserve_timestamp(1).patch (4 kB) 20/Aug/11 05:37 AM - voiceinsideyou



 Description  « Hide

Moved from http://bugs.musicbrainz.org/ticket/5260 and http://bugs.musicbrainz.org/ticket/70

"From: Charles Brisebois c.brisebois@rogers.com Sent: Saturday, December 31, 2005 5:18 PM To: support@musicbrainz.org Subject: edit file options

It would be nice if MusicBrainz allowed an option to edit/rename the files WITHOUT affecting the filedate & time. With very large collections, the dates (and years) associated with the files are important. MusicBrainz changes this by default to current date when renaming / editing tags. "

While some might believe this behavior (preserve file timestamp when changing metadata) incorrect, I agree with the original reporter - I believe it to be correct (or, at least, valid). It depends on what one wishes to be reflected by the file modification time - when "the data payload was last edited", or when "the data payload and/or metadata were last edited". Both are valid IMHO. For example, many(but not all) image library/metadata manipulation programs (Google Picasa, for example) do not change the file timestamps when adding/editing metadata for images.

There are merits to both methods - however, what this is asking for is not a change in default behavior, but rather just an option to support the preserve-timestamp method that many people use.

Attached patch by 'fuzz' moved from the other ticket (not verified)



Sort Order: Ascending order - Click to sort in descending order
voiceinsideyou added a comment - 20/Aug/11 05:37 AM

Patch by fuzz


DJ Marcus added a comment - 30/May/12 10:45 PM

Hello!

BTW - I'm the creator of one of the old tickets (5260), and the text above in quotes is from the original (from 2005) ticket by Charles. The rest of the text (not between the quotes, but quoted/indented) is mine. Mentioning that in case there were any questions from people on why some users would like this functionality.

Please let me know what I can do to help. As far as I know, fuzz's patch resolves it, and it just needs its turn to be included in an upcoming release...right?

Thanks!


voiceinsideyou added a comment - 31/May/12 01:45 PM

Unfortunately the codebase has moved on since this patch, so it will likely require some integration work to merge it. I will try and have a look at it in a week or so; but it might miss 1.0 depending on when luks and bitmap decide to release it.