HydrogenAudio

Hosted Forums => foobar2000 => 3rd Party Plugins - (fb2k) => Topic started by: T.P Wang on 2007-09-08 15:44:47

Title: foo_filedate
Post by: T.P Wang on 2007-09-08 15:44:47
The origin source is writen by Wizard (http://www.hydrogenaudio.org/forums/index.php?showuser=102) and the origin topic is here (http://www.hydrogenaudio.org/forums/index.php?showtopic=29050)

Modified source is included in the archive.
For those they are NOT interested in the source, just put the .dll file to foobar_path/componets

Chages
[blockquote]v1.0.4
CHANGED: Move update processing to a thread. This should help updating many files at once(tested on 20000+ files, and very fast on querying file date on a common SATA HDD)
FIXED: "prompt user before updating option" doen't work.

v1.0.3
FIXED: filedate will not delay UI now.
ADD: add an option "prompt user before updating" in configuration.
[/blockquote]

Download
v1.0.4 (Source included in the archive)
[attachment=3766:attachment]
Title: foo_filedate
Post by: nawhead on 2007-09-08 22:51:54
The origin source is writen by Wizard (http://www.hydrogenaudio.org/forums/index.php?showuser=102) and the origin topic is here (http://www.hydrogenaudio.org/forums/index.php?showtopic=29050)

Modified source is included in the archive.
For those they are NOT interested in the source, just put the .dll file to foobar_path/componets


Download[attachment=3702:attachment]


Thanks for porting it over!  But a suggestion and/or request:  Is there a way you could add a confirmation dialog before writing the tag?  The way it's implemented now is kind of abrupt and dangerous.  Someone could accidentally select this option from the context menu and alter a file when they didn't mean to.
Title: foo_filedate
Post by: langoustator on 2007-09-09 17:01:24
Thank you!
Title: foo_filedate
Post by: lhnz on 2007-09-09 19:50:38
Thanks. Is there any reason that foobar would lock up when you try and run the command on everything in your libary (or even just a couple of albums?). It's annoying me as there is no way that I have the time to run this on every single artist seperately!
Title: foo_filedate
Post by: T.P Wang on 2007-09-11 07:37:52
Thanks for porting it over!  But a suggestion and/or request:  Is there a way you could add a confirmation dialog before writing the tag?  The way it's implemented now is kind of abrupt and dangerous.  Someone could accidentally select this option from the context menu and alter a file when they didn't mean to.


I'll consider an option for prompting this operation first, thanks for your advice.


Thanks. Is there any reason that foobar would lock up when you try and run the command on everything in your libary (or even just a couple of albums?). It's annoying me as there is no way that I have the time to run this on every single artist seperately!


That's because I use "op_flag_delay_ui" during updating to prevent showing the progress, I'll swith to the traditional way in order to not delay UI again.
Title: foo_filedate
Post by: lhnz on 2007-09-15 13:53:26
I actually literally meant lock. My computer locked up and had to be restarted. The lock was so serious I actually had to do a cold boot as one of the times it stopped my computer from detecting the hard drive (or something really messed up like that).
Title: foo_filedate
Post by: T.P Wang on 2007-09-15 14:23:29
I actually literally meant lock. My computer locked up and had to be restarted. The lock was so serious I actually had to do a cold boot as one of the times it stopped my computer from detecting the hard drive (or something really messed up like that).


Now I understand, I'll find a another way to prevent eating up all the HDD I/O resources and locking fb2k.
Title: foo_filedate
Post by: Squeller on 2007-09-15 17:11:11
Huh, what is this about? I reckon it gets date information from somewhere and sets the file date to this?

I've seen some additional context menu items like "File date/added". A message box appears with "are you sure" but just an OK button ?!  That's rather strange.
Title: foo_filedate
Post by: T.P Wang on 2007-09-19 12:16:36
I actually literally meant lock. My computer locked up and had to be restarted. The lock was so serious I actually had to do a cold boot as one of the times it stopped my computer from detecting the hard drive (or something really messed up like that).

I've updated the new v1.0.4, just have a try.

Huh, what is this about? I reckon it gets date information from somewhere and sets the file date to this?

This component intends to add some of file date info into metadata, it's of use but not very important for every user.

Quote
I've seen some additional context menu items like "File date/added". A message box appears with "are you sure" but just an OK button ?!  That's rather strange.

Yes, it's strange because it's a bug
Title: foo_filedate
Post by: pnG on 2007-09-19 13:18:00
is this a foo_ wich adds a tag for last edit of file date?

i.e. the date this file was created (ripped from CD or downloaded)?

if no - is there such a component?
Title: foo_filedate
Post by: lhnz on 2007-10-18 23:31:29
Thanks for making this. It's really all my foobar needed, and I'd like to add that the problems I used to have, have all gone now.
Thanks again!
Title: foo_filedate
Post by: Melomane on 2007-10-23 00:59:57
T.P Wang

thank you!



small request, for clean apperance in preferences i think it is more logical to put properties for filedate in sub menu tools/tagging  (with freedb and quick tagger)

melomane
Title: foo_filedate
Post by: stellis11 on 2007-11-18 21:13:20
Two questions:

1. Is there any way to change the "modified" tag in the file to the Windows "modified" value?

For example, if I have foo.mp3 and it was modified yesterday, I want to use foo_filedate to change <MODIFIED> to yesterday. After that, the system's modified value would be today, and foobar's would be yesterday.

I hope that was clear enough.


2. Wizard's plugin thread talked about a way to update ONLY the database. Is there any way to do that with foo_filedate? I don't want to put so much wear and tear on my hard drive by reading/writing 6000 files.
Title: foo_filedate
Post by: ExUser on 2007-11-19 16:59:58
2. Wizard's plugin thread talked about a way to update ONLY the database. Is there any way to do that with foo_filedate? I don't want to put so much wear and tear on my hard drive by reading/writing 6000 files.
Database-only updates are not possible in 0.9, so it's not going to happen. Dunno about question 1.
Title: foo_filedate
Post by: herojoker on 2008-10-16 15:40:48
I primarily want to sort files by their creation date. Is it possible to use a tag like %created% without modifying the files (IDv3 tags) before? I just want the analogues of foobar2000's %last_modified%.
Title: foo_filedate
Post by: langoustator on 2009-11-22 18:50:41
T.P Wang

thank you!



small request, for clean apperance in preferences i think it is more logical to put properties for filedate in sub menu tools/tagging  (with freedb and quick tagger)

melomane


+1, and now that with fb2k v1.0 we can't move context menu items anymore, is it possible to add "File Date/Actions" into the tagging submenu?
Title: foo_filedate
Post by: devotron on 2010-12-22 00:01:46
Hello,
This doesnt appear to work with 1.1.1
Does anyone have a similar plugin that I'm having trouble finding?

Thanks