Help - Search - Members - Calendar
Full Version: foo_text
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
brandan
i'm using foo_text for a web project, and i'm curious if anybody can tell me why the timer may not be working. i have it set for 30000ms (which should be 30 seconds), with 'write only if contents will be changed' checked, but it still always writes to the file every 30 seconds. i've also noticed that it doesn't wait 30 seconds, but instead writes immediately, then continues to do so every 30 seconds.

Timer: You do NOT need to use this option for the plugin to work. If you tick the write only if contents change option, the file will only actually be written, if the data that willl be written is different from what was written last time. It is recommended to use the timer if your you need the file to be updated at times other than the events (e.g. for %_time_elapsed%) If using the timer with setting under 2000ms, and you are reading the text file with Samurize, tick samurize's option 'Force update everytime' to make it read the text file if it is modified at intervals less than 2 seconds and the file size doesn't change. The lower limit for the timer is 100ms, upper limit is 999999999ms.

that is taken from the help file. perhaps this feature isn't exactly what i'm looking for? i only want it to write once to the file after 30 seconds of play. if this isn't the correct feature, is there any way of getting ahold of the author to possibly request that it be added?
Mr_Rabid_Teddybear
musicmusic are pretty active on these forums, so you'll probably get an answer quite soon.............

musicmusic
No, the timer is not syncronised with playback in any way. Its kind of a deprecated feature now, and that help is somewhat outdated/wrong so I wouldn't pay too much attention to it.

You could use the write on every second of song option, and then if necessary use TAGZ to check whether you are 30 seconds into the track, or somthing like that, depending on what exactly it is you need to do.
brandan
what i need to do is basically have a timer that has the component wait 30 seconds before writing the song information to the text file. this will ensure that the file has actually been listened to for a moment, rather than just accidentally opened, or something along those lines.

this is what i'm using your plugin for.
musicmusic
Ok, well unfortunately this is not possible with the current version. I will consider it for a future release.
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.