Hydrogenaudio Forums

Hosted Forums => foobar2000 => Development - (fb2k) => Topic started by: wary on 2003-08-30 13:33:33

Title: Get currently playing Song?
Post by: wary on 2003-08-30 13:33:33
I want to echo the currently played song of Foobar in a chat-Window.
I already have this function for WInamp.
What is the easyst way to find out the Song Foobar is playing? 
I think i can get it from the Window Title?
Bat what is the Name of the Foobar window?
How can i find it?

Thx for your answers,
Wary
Title: Get currently playing Song?
Post by: R1CH on 2003-08-30 14:14:38
My foo_winamp_spam component does exactly what you want - provides winamp style API and fake window for mirc chat spam or whatever . I'm currently trying to update it to the 0.7 API but not knowing C++ is really starting to hurt . I'm also not sure if the SDK is compatible with VS.NET yet so I may have to wait until I get back to England (Sept 14th) before I can provide an update. You can try it with version 0.6 to see if it does what you want. URL is http://www.r1ch.net/stuff/r1dll/ (http://www.r1ch.net/stuff/r1dll/) where you will also find mirc DLL for use alongside it. Oops, fixed link.
Title: Get currently playing Song?
Post by: wary on 2003-08-30 17:49:22
Is it not Possible to simply read the Title of the foobar Window and Filter all before the " [foobar2000" out?
Title: Get currently playing Song?
Post by: foosion on 2003-08-31 19:51:35
Quote
Is it not Possible to simply read the Title of the foobar Window and Filter all before the " [foobar2000" out?

AFAIK, the window title of the foobar window (more precisely: of the default ui window) is not updated when it is minimized.
Title: Get currently playing Song?
Post by: Gul on 2003-08-31 22:42:22
Add a global hotkey for "playback/copy now playing" and format the resulting string in title formatting/copy command. couldn't be simpler, if u ask me.
Title: Get currently playing Song?
Post by: diskreet on 2003-09-01 05:27:09
Wary perhaps you should take a look into the formatting ability in foobar, the [foobar... in the window title is complely configurable. Take a look in the preferences  Everything is configurable
Title: Get currently playing Song?
Post by: steel_space on 2003-09-25 07:13:08
you can use my foo_remote.dll component. It is easy to use and it has a lot of rich functions to control or retrieve data from foobar.
you can contact me to help you.
SimplePortal 1.0.0 RC1 © 2008-2019