Keeping track of which tags have changed since the last DVD backup


#1

I wish to create a flac tag giving the date that a music file was backed up to DVD so that I can later determine whether I have modified the file’s tags since it was last archived. Suppose I call this tag ARCHIVE_DATE. My hope is to create a column in the right-hand side of the MP3Tag interface window that indicates whether ARCHIVE_DATE is less than or greater than the file modification date. My first attempt didn’t work. I simply created a flac tag and entered a date in the format mm/dd/yy 0:00:00 PM, and defined a report column as “$if(%ARCHIVE_DATE%>%_file_mod_datetime%,x,)” This statement creates an “x” in the column no matter if the inequality is < or >. I suspect ARCHIVE_DATE must be defined as numeric in some way (like YEAR and TRACK).

As you can surmise, I don’t know what I’m doing. I’m simply mimicking examples. (A forum posting enabled me to create a column indicating whether a track has lyrics [$if(%lyrics%,x,) does the trick] and the definition of the Modifed column that is part of the standard MP3Tag configuration is %_file_mod_datetime%.

Incidentally, is %_file_mod_datetime% written into the file like the flac tags?

Any help would be greatly appreciated.

Randy


#2

I don't think this is going to be easy to do because Mp3tag does not support date compare. You would have to convert the time to something like an unix timestamp. Maybe Florian can implement such a function that accepts the parameters day, month, year, hour, minute, second. With such a function, you can then use $ifgreater().


#3

I wish to create a flac tag giving the date that a music file was backed up to DVD
so that I can later determine whether I have modified the file’s tags since it was last archived
sorry, I may be off topic: but why the hell not using a simple backup program relying on the archive bit set of the files???

(if I have a hammer only everything looks like a nail :slight_smile: