Help - Search - Members - Calendar
Full Version: foo_winamp_spam 0.7
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
R1CH
I've just compiled foo_winamp_spam for 0.7 - I really like how the API is developing, made it much easier to work with after the initial transition.

foo_winamp_spam attemps to emulate the Winamp API by creating a "Winamp 1.x" window with winamp's classname. This allows programs designed to control winamp or read info like kbps/khz/channels/etc to be able to (hopefully) do the same thing in foobar2000. Such uses include my mIRC song reporting DLL, but I'm sure you can find more smile.gif. I've had reports of it working with certain internet keyboards designed to control winamp, some trillian plugins and other various software.

Version 0.7 includes many more API functions, a native config page (instead of foo_winamp_spam.cfg which can now be deleted) and ANSI/Unicode in the same DLL (assuming I used utf8api.dll correctly).

More info and download is available at: http://www.r1ch.net/stuff/foobar/
Gemini
Thanks a lot Rich. I've been patiently waiting for your updated version for awhile. smile.gif
ditto_n
works very well with your mirc dll, thank you
askoff
I have one big question. Why in hell you want to flood around the IRC that s*it what you are listen to? I have never get it and i think it's rude to flood that info in everywhere.
ditto_n
I chat in Irc to just chat, and when I do, music is a usuall subject, for fun we show off what songs we are listening to, so we can see what kind of music they are into.
Peter
I fail to understand the purpose of spammer components if you can copy name of currently played track (with whatever custom formatting you want) to clipboard by rightclicking on system tray icon (needs messing with menu setup to show up).
BlindSeer
Thanks for the update R1CH.. I love this plug-in for Litestep integration.
wrongo
R1CH....

Thanks for this component....Now I can use my favorite shell (LiteStep) with my favorite player (F2K).

A wonderful addition!

Wrongo
ReLiK
ahh nice...

good job! biggrin.gif
ReLiK
I was wondering if the developer of this plugin is working on a solution to the problem identified in this thread :

http://www.hydrogenaudio.org/forums/index....howtopic=12817&
URMEL
@zZzZzZz:
That's exactly what I've done without it.
But it's so incredidible exhaustin to move the mouse rolleyes.gif wink.gif
R1CH
Interesting, I've not seen the metadb warning myself. I do make one call to handle_duplicate but upon song change handle_release should be called...

Where does the error appear? Does the console popup or something? If you can give me exact steps to reproduce this I'll fix it, however I can't seem to get the error to occur here.
Peter
QUOTE(R1CH @ Sep 1 2003, 09:46 PM)
Interesting, I've not seen the metadb warning myself. I do make one call to handle_duplicate but upon song change handle_release should be called...

Where does the error appear? Does the console popup or something? If you can give me exact steps to reproduce this I'll fix it, however I can't seem to get the error to occur here.

If you leak metadb_handles, there is a MessageBox() on shutdown, displaying number of objects leaked (actually that message has been there for ages, but it was OutputDebugString() instead and a lot of people don't seem to have ever noticed it that way).
I have some doubts if ReLiK's "report" can be taken seriously though.
anza
The error should pop up when exiting foobar. I'm also getting this and I believe it is foo_winamp_spam's fault, as I've updated foo_history, foo_dbsearch and foo_tts that were supposed be the only ones giving this error. I'm not sure if it's some other plugin though.
ReLiK
I have only ever had one external plugin installed at a time.

First was AMIP. It had some stability issues but even when it was working as it should, when I quit Foobar, I got the metadb warning, in a separate small popup box.

I removed that plugin and the pop up errors stopped.

I then installed winamp_spam, which is perfectly stable, yet still gives those error reports on exiting Foobar.

This validates the theory that its the 3rd party plugins that are causing the problem.

I don't know how else to 'report' this error, maybe you can enlighten me. If you don't want to take me 'seriously' then thats up to you. I'm just a regular user who's trying to help. Obviously it's not wanted. mad.gif
Peter
QUOTE(ReLiK @ Sep 1 2003, 11:24 PM)
I have only ever had one external plugin installed at a time.

First was AMIP. It had some stability issues but even when it was working as it should, when I quit Foobar, I got the metadb warning, in a separate small popup box.

I removed that plugin and the pop up errors stopped.

I then installed winamp_spam, which is perfectly stable, yet still gives those error reports on exiting Foobar.

This validates the theory that its the 3rd party plugins that are causing the problem.

I don't know how else to 'report' this error, maybe you can enlighten me. If you don't want to take me 'seriously' then thats up to you. I'm just a regular user who's trying to help. Obviously it's not wanted. mad.gif

In order to be taken seriously, you should provide exact info how to reproduce the problem (what you just did), which definitely wasn't included in your previous post, hence my comment. I'm sorry if it insulted you.
ReLiK
The problem is I can't reproduce it every time.

If I start Foobar, play a few songs and spam in IRC and quit immediately, the error doesn't seem to pop up.

However if its been a running a while then it does. I don't really know what else to say. Sorry.

Edit: Okay, the error only seems to pop-up if a song has been played right the way through. Else, it doesn't. Hope this helps. sad.gif
CrazyCoder
BTW, the problem with metadb leaks is fixed in AMIP 2.43.
R1CH
metadb handle leak is fixed in foo_winamp_spam 0.71, error occurs now I'm back from vacation and installed latest RC smile.gif.

Get it from: http://www.r1ch.net/stuff/foobar/
anza
Wonderful! smile.gif
FAxenoff
hi R1CH!
I install foo_winamp_spam 0.71 and my Semagic (Livejournal Client ) can`t detect music. Music from Winamp and STP detected fine.

That normal or abnormal? 8-)

i know, you not say about FULL EMULATION, but... that feature will be GREAT FEATURE!
R1CH
QUOTE(FAxenoff @ Sep 23 2003, 03:07 AM)
hi R1CH!
I install foo_winamp_spam 0.71 and my Semagic (Livejournal Client ) can`t detect music. Music from Winamp and STP detected fine.

That normal or abnormal? 8-)

i know, you not say about FULL EMULATION, but...  that feature will be GREAT FEATURE!

That program wants me to make an account before I can run it, not much chance of that happening. I looked over the code briefly and it should work - it appears to use 'Winamp 1.x' classname so it should detect the 'fake' emulated window fine...
kode54
It would appear to be tripping on this little block of code:
CODE
if (which == 0)
{
// in WinAMP playing?
int ret = ::SendMessage(win, WM_USER, 0, 104);
if (ret != 1)
 return song;
}


So... that message would have to return 1.
FAxenoff
R1CH: You don`t need login for testing. Enter any username and press "Just edit".

May be that can help you:
http://www.netean.com/stp/downloads/index.asp (STP source code)

ps. Im work under WinXP/rus SP1.
R1CH
0.72 now out, supporting IPC_ISPLAYING for this Live Journal thingywhatsit.

Untested of course smile.gif. Thanks kode54 for pointing out what I needed to change.
FAxenoff
Ehhha! You made it! Big Thx!
spazz
hello there, R1CH

i also got a little request.. :>

there's a plugin for Miranda IM(a multi protocol-ICQ clone)that displays the current played song from winamp in your away message. but that plugin can't recognize the emulated string ;/ could you take a look at that?

client: http://miranda-im.org/download/
plugin: http://miranda-im.org/download/details.php...viewfile&id=215

would be very nice!

bye..
kode54
Okay, found what that Miranda plug-in needs. It needs that IPC_ISPLAYING message like ljwin32sema, but it also NEEDS a "#. " prefix... sort of. After it chops off the " - Winamp" it chops off everything before the first space in the string.

@spazz: Please recheck with 0.72. If necessary, add a prefix to your fake Winamp titlebar format string.
spazz
okay thx for the advice kode54, and thx to R1CH for that plugin, i just had to use the updated version! biggrin.gif
snek_one
is there any way too use a winamp plugin with this?

i can't seem to figure out how to load a streaming dsp plugin...
kode54
This is a Winamp window message API emulator, not a plug-in emulator.


If by streaming DSP, you mean a SHOUTcast source, there a version of OddCast DSP for Foobar2000, which you can download here.
snek_one
QUOTE(kode54 @ Dec 22 2003, 10:39 AM)
This is a Winamp window message API emulator, not a plug-in emulator.


If by streaming DSP, you mean a SHOUTcast source, there a version of OddCast DSP for Foobar2000, which you can download here.

aha, that's where my mistake was... thank you..

just one thing about OddCast, it doesn't want to work in v0.7.6?
kode54
Huh? It should work... As far as I know, the DSP API has not been changed since 0.74...
enf
Nice smile.gif

Although I'd really like to see being able to get the filename/path. Not sure what winamp API does this (I'm not a developer of winamp stuff). It always seems to return the filename of the first item in the playlist, and not the currently playing item.

Also, litestep's geekamp's !amp_show shows the invisible pseudo-winamp window smile.gif Not sure if that !amp_show function does that with winamp api (I assume it uses windows API to show the window, which in this case, nothing could be done about it).

Thanks for the great plugin smile.gif
rage-
Does anyone know if it's possible to get lsslider working with this module? LSSlider is a LiteStep module that controls and reports song position, winamp volume, and system volume. Reporting the song position works just fine, but when I try to skip ahead, nothing happens. Here's the module itself, along with a link to it's source: http://blkhawk.m-a-solutions.de/index.php?...p?open=lsslider
psynapse
QUOTE(enf @ Dec 24 2003, 11:00 AM)
Nice smile.gif

..

Also, litestep's geekamp's !amp_show shows the invisible pseudo-winamp window smile.gif Not sure if that !amp_show function does that with winamp api (I assume it uses windows API to show the window, which in this case, nothing could be done about it).

Thanks for the great plugin smile.gif

try using the latest dynamp.dll

it works natively with foobar2000, and even detects what audio player is active, linking in to winamp 2, 3, or fb2k as the apps are opened/closed cool.gif

p.s LS owns jo0 ph34r.gif
R@M
QUOTE(rage- @ Dec 24 2003, 01:39 PM)
Does anyone know if it's possible to get lsslider working with this module? LSSlider is a LiteStep module that controls and reports song position, winamp volume, and system volume. Reporting the song position works just fine, but when I try to skip ahead, nothing happens. Here's the module itself, along with a link to it's source: http://blkhawk.m-a-solutions.de/index.php?...p?open=lsslider

You can use Fooslider it's a version of lsslider 1.0, that works with Foobar.
You can use the sliders for track positionining and for changing the system volume. But the sliders don't change if the volume is changing or the track is progressing.
Dynamp50 isn't perfect too, the poweroff and prefs commands works only, when a winamp api emulator is running.
The third thing is the title display. I use
QUOTE
WinampLabelText "[windowTitle('FOOBAR2000_CLASS')] *"

To get the title from the Foobar titlebar. Its works fine, only the times are not updated if Foobar is minimized.

There are also two other plugins, that send commands too foobar. FooBang and fcmflwia. But both of them don't work right with 0.76.

BTW: IF you want to dee my cuurent Desktop for Foobar, have a lokk at this pic

cya(o)
...Rainer
rage-
QUOTE(R@M @ Dec 30 2003, 02:57 PM)
QUOTE(rage- @ Dec 24 2003, 01:39 PM)
Does anyone know if it's possible to get lsslider working with this module? LSSlider is a LiteStep module that controls and reports song position, winamp volume, and system volume. Reporting the song position works just fine, but when I try to skip ahead, nothing happens. Here's the module itself, along with a link to it's source: http://blkhawk.m-a-solutions.de/index.php?...p?open=lsslider

You can use Fooslider it's a version of lsslider 1.0, that works with Foobar.
You can use the sliders for track positionining and for changing the system volume. But the sliders don't change if the volume is changing or the track is progressing.

Not quite what I'm looking for. I'd need 1.5 or higher, since I load it into an lsbox.
mentaluproar
This plugin is great! I an can run a bemused server and use btAmp on my palm tyo control foobar2000! The only complaints I have is the lack of playlist data and a way to change active playlists. Otherwise, this is an amazing plugins. The strange thing is, the emulated API is more stable than the real API when used for this.
PET
ATLEAST !!! I found something that can show what i lisen in mIRC. Thanx R1CH !!!
anza
QUOTE(PET @ Jan 9 2005, 05:53 AM)
ATLEAST !!
*

Can't say anything else than: lol.
The plugin has been there since 2003 tongue.gif

QUOTE(PET @ Jan 9 2005, 05:53 AM)
I found something that can show what i lisen in mIRC. Thanx R1CH !!!
*

Ever thought about using the built-in copy command for that?
kalmark
Or AMIP
CrazyCoder
Right, AMIP is available since 2001 (Foobar version since 2003).
Punio.4
Any way to make it work with the Winamp plugin for trillian?
It detects that "winamp" is active, but displays "Punio4 is listening to Cerulean Studios Band - The Empty Song"
AsILayDying
QUOTE(Punio.4 @ Feb 21 2006, 02:01 PM)
Any way to make it work with the Winamp plugin for trillian?
It detects that "winamp" is active, but displays "Punio4 is listening to Cerulean Studios Band - The Empty Song"
*



Not quite sure but I use this with the lcdc winamp2 plugin for my matrix orbital lcd screen, try to play around with either plugin..........
Punio.4
So, noone has magaged to get it to work with Trillian?
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.