More > JRiver Media Center 24 for Windows

MC alters Windows system file creation date when changing/adding cover art?

<< < (2/4) > >>

JimH:
If you're adding cover art to the file, then it's a different file, so arguably, it's not wrong to change the date created.

Vocalpoint:

--- Quote from: JimH on September 23, 2018, 12:52:03 pm ---If you're adding cover art to the file, then it's a different file, so arguably, it's not wrong to change the date created.

--- End quote ---

I disagree - adding cover art = a modification (image tag) to an existing FLAC file.

When I open a Word doc and type a new paragraph into it (modification) - Word does not change the system file created date.  It updates the modified date (and perhaps the Accessed date).

VP

JimH:
It isn't like an edit of a tag.  It changes the file size.

Vocalpoint:

--- Quote from: JimH on September 23, 2018, 03:07:53 pm ---It isn't like an edit of a tag.  It changes the file size.
--- End quote ---

As does editing a Word doc. I could add 5 MB of material to a document - the file size will change dramatically - but the creation date remains static.

That said - it seems that adding cover art to FLAC is most ceratainly not like adding 5 MB worth of material to a Word doc. Seems this process (embedding cover art) almost requires the container to be unpacked and then repacked - which of course does create a new file. I tried a few other tools I have and observed the same behavior. Not much I can do if this is by design.

Thanks,

VP

wer:
To the file system, there's no difference between a Word file and a FLAC file, and no difference between a FLAC tag and any other bytes inside the file.

This is programmer's choice.  Any application can change or avoid changing the file modification or creation timestamps on Windows programmatically, regardless of whether it is changing 1 bit, or adding or deleting 5MB.

Best practice on writing is to only update the modification date, unless you delete and recreate the file (as might be the case with scratch files).

Regarding what MC does, I have FLAC files where MC has changed/updated various tags, and the modification timestamp is new but the creation timestamp is unchanged, which is consistent with the best practices I mentioned above.  Not sure why you're seeing something different, although I'm on Win7.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version