Skip to main content

Topic: foo_filedate (Read 17207 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • T.P Wang
  • [*][*][*][*]
  • Developer
foo_filedate
The origin source is writen by Wizard and the origin topic is here

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)
[ Specified attachment is not available ]
  • Last Edit: 19 September, 2007, 09:12:26 PM by T.P Wang

  • nawhead
  • [*][*]
foo_filedate
Reply #1
The origin source is writen by Wizard and the origin topic is here

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 Link)


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.

foo_filedate
Reply #2
Thank you!

  • lhnz
  • [*]
foo_filedate
Reply #3
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!

  • T.P Wang
  • [*][*][*][*]
  • Developer
foo_filedate
Reply #4
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.

  • lhnz
  • [*]
foo_filedate
Reply #5
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).

  • T.P Wang
  • [*][*][*][*]
  • Developer
foo_filedate
Reply #6
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.

  • Squeller
  • [*][*][*][*][*]
foo_filedate
Reply #7
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.

  • T.P Wang
  • [*][*][*][*]
  • Developer
foo_filedate
Reply #8
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

  • pnG
  • [*]
foo_filedate
Reply #9
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?

  • lhnz
  • [*]
foo_filedate
Reply #10
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!

  • Melomane
  • [*][*][*][*][*]
foo_filedate
Reply #11
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
Music is my first love.

  • stellis11
  • [*]
foo_filedate
Reply #12
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.

  • ExUser
  • [*][*][*][*][*]
  • Read-only
foo_filedate
Reply #13
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.

  • herojoker
  • [*][*][*][*]
foo_filedate
Reply #14
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%.

foo_filedate
Reply #15
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?

  • devotron
  • [*]
foo_filedate
Reply #16
Hello,
This doesnt appear to work with 1.1.1
Does anyone have a similar plugin that I'm having trouble finding?

Thanks