IPB

Welcome Guest ( Log In | Register )

> foobar2000 Tech Support Forum Rules

Please read foobar2000 Tech Support Forum Rules before posting and comply with all the points.
Failure to provide all the information pointed out in the above document in your post is considered wasting other people's time and in extreme cases will lead to your topic getting locked without a reply.


See also: Hydrogenaudio Terms of Service.

Sync %last_modified% to %added%, After modifying file timestamps
TakuSkan
post Oct 7 2010, 01:10
Post #1





Group: Members
Posts: 324
Joined: 16-February 03
Member No.: 5017



I was going to tag this onto the message I posted earlier, but thought it better to start a new topic while I'm in the 'asking' mode here (I do try to knock my brains out before I ask)...

As I wrote in the other post, I've just started going through my media files and resetting their timestamps to the original rip date on the log file EAC made during the rip.

I mistakenly thought that would update FB2K's 'Added to library on' database. Now I see that didn't happen.

Is is possible to use %last_modified% somehow to mass update the dates set in %added%? I'm really lost when it comes to scripts and coding.
Go to the top of the page
+Quote Post
 
Start new topic
Replies
herojoker
post Oct 7 2010, 07:06
Post #2





Group: Members
Posts: 305
Joined: 12-September 07
Member No.: 46989



I guess it should work in the following way but I haven't tested it, so perhaps you want to try that on a single file first:

Add all files you want their added-date to be updated to one playlist in foobar2000. Mark them all, open their properties, right-click somewhere and choose the entry 'Automatically fill values...'.
Source: Other; pattern next to it: %last_modified%
Pattern (below): %added%
Check whether the dates are all good, press OK, notice a new custom tag has been introduced. Press OK again, that tag will now be written to the files.
Properties dialog is now closed and tags have been updated.
Now (shift+)right-click and choose the entry Playback Statistics > Import statistics from file tags.
After that you may remove the tag ADDED from your files again by going to their properties, clicking on <ADDED> and pressing the DEL key and confirming the changes with OK. DONE.

Notice that this probably destroys the value of %last_modified%, i.e. sets it to the current date (since you just modified the files by introducing a new tag). Its original value now sits in %added%.

This post has been edited by herojoker: Oct 7 2010, 07:09
Go to the top of the page
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 1st October 2014 - 05:43