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: External Access (Read 2876 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

External Access

Hi. I'm making an aplication in VB (not .NET) and i wonder how can i access to the foobar's "current playing music", for showing at forums, IRC and stuff. Can you help me?

External Access

Reply #1
The player has a menu action built-in, [main] Playback/Copy now playing, which you can bind to a global hotkey from Preferences -> Core -> Keyboard shortcuts. Formatting is according to the script under Preferences -> Display -> Title formatting -> Copy command.

If you want a more automated solution, there are also several components, such as foo_winamp_spam, which simulates a Winamp window, satisfactory enough for various existing song info scripts and programs.

There's also foo_amip, a wrapper for AMIP. Although, AMIP does its own tag reading, so for formats which it doesn't support directly, you will have to configure a separate title formatting string within Foobar2000's preferences.

More specific to other tasks, there is also foo_text, which can write the current song info, based on another formatting script, to a text file on every track change.

External Access

Reply #2
How about getting the state of current settings, like playback mode, or replaygain mode?

Any way to do this?