Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: foo_converter vs. WATrack (Miranda IM plugin) (Read 2826 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

foo_converter vs. WATrack (Miranda IM plugin)

Hi,

I've recently stumbled upon a weird problem and it took me some time to figure out the cause.
I am using Foobar2000 as my main music converter utility (from FLAC to MP3/AAC). I am also using Miranda IM with WATrack plugin, which monitors media players and is able to provide information on the actual track being played via shortcuts.

The problem is that when I convert some music, song information is being "passed" to WATrack as if they are played. Sometimes (let's say... 70% of the cases) one of these tracks happens to stuck which results in two things:
1) The file is no longer accessible for write operation (it is locked by Miranda32.exe handle).
2) WATrack no longer updates played songs, it still returns the track that is stuck.

Because I don't know how Foobar2000's API works and how the WATrack reads it, I am trying my luck here first. My wild guess would be that Foobar2000 is using same "interface" to play music and same "interface" to "stream" music to stdin of the encoders.

Is there anything I can do to change this behavior (i.e. to stop tracks, that are being converted, from propagating themselves to WATrack)?

A little information:
Foobar2000 0.9.6.8
- Converter 1.2.1

Miranda IM 0.8.6
- WATrack 0.0.6.10

Windows Vista SP2 x64

Thank you for your response in advance

 

foo_converter vs. WATrack (Miranda IM plugin)

Reply #1
Quote
- Changed Foobar2000 main window search procedure
According to this excerpt from WATrack's changelog, it doesn't use any foobar2000 API at all. It just periodically watches what the title of some foobar2000 window and tries to guess the playing track information from it. And it appears to be broken, mismatching the converter window for the main one, therefore using currently converted tracks instead of the currently playing one.
Full-quoting makes you scroll past the same junk over and over.

foo_converter vs. WATrack (Miranda IM plugin)

Reply #2
...

Strange, my foobar's window title remains "foobar2000" all the time .
Anywho, not a problem on a foobar side, if I recollect?

Thank you for your reply

foo_converter vs. WATrack (Miranda IM plugin)

Reply #3
Well then that's probably why it has to resort to searching for the track information more deeply and what you see with converter is the result.
Full-quoting makes you scroll past the same junk over and over.