Help - Search - Members - Calendar
Full Version: in_mpc.dll 0.99d, tag changes, modification date
Hydrogenaudio Forums > Lossy Audio Compression > MPC
TZOTZIOY
Hi there,

does anyone know why changing a tag (Winamp 5.02, in_mpc 0.99d) preserves the file modification time of the underlying mpc? I assume it's a matter of in_mpc and not WA since changing the tags of an MP3 file updates its modification time too.

I have made a custom program for organising my songs in a directory hierarchy, which, based on the file tags, updates a "UserFriendly" directory structure (the way I organise my files is quite alien to most others, so for amoose use, I present a structure that is most useful for other people) by linking the files (NTFS supports hard links) in the wanted directories.

However, I have a cache based on (filename, filesize, filemodtime) in order not to re-read the tags off the files everytime I make a minor change to a song and therefore I want it in the correct directory (-ies). This cache stays invalid for MPC's whose tag change did not alter the filesize, because the modification time is not updated.

Assuming this is by design, why not update the modification time on tag changes? This is the whole point of keeping the notion of "modification time", right? That is, the time when the file contents was last changed...
WaldoMonster
I have asked almost the same question here:
http://www.hydrogenaudio.org/forums/index....howtopic=17014&
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.