|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: May 2004
Location: Germany
Posts: 6
|
How to program VB plugin that reads the title and artist from Winamp?
Hello all,
i want to program a Visual Basic plug in for Winamp that displays the currently playing title and artist on an LC Display (the available plug ins don't work for me as my LCD has a different protocol). LCD interfacing is no problem, but how can I make a plug in for Winamp (that is started and exited together with Winamp) and how can I read the title/artist/state (stopped, paused, playing, ...) from within the plugin? It would also be nice to have an interrupt (event) whenever anything changes in Winamp, as the LCD only needs to be changed when anything in winamp changes. If anyone has a template (without the LCD part, only displaying the information to screen or anything), please post it! I think it will have to compile to a DLL file if I understood the tutorial correctly. Thanks in Advance! Last edited by ARossius; 30th May 2004 at 10:03. |
|
|
|
|
|
#2 |
|
Junior Member
Join Date: May 2004
Posts: 6
|
i have almost the same problem and i posted it here...i was thinking about an LCD display too...how did u managed to send output to the LCD?
|
|
|
|
|
|
#3 |
|
Junior Member
Join Date: May 2004
Location: Germany
Posts: 6
|
If you don't know how to get the data to the LCD, you probably have an LCD that is already supported by an existing plug in. If not: I used a DLL file called inpout32.dll to directly control the I/O lines of the PC's parallel port. The interfacing (commands, timing) is described in the datasheet of the LED's controller, if you don't have that, you won't be able to write any useable LCD plug in at all (use Google to find the datasheet of your controller).
But the LCD I want the plug in for is a LCD connected via serial Port and uses a protocol I 'invented' myself, so there is no plug in available that supports my protocol! That's why, I will have to write one myself, but I don't know how to program C or C++, unfortunately. I don't know how fast the usual reply times are here, but is there noone who has a plug in written in Visual Basic that's capable of reading the title and artist from Winamp? Thanks again, if anyone can help me. |
|
|
|
|
|
#4 |
|
Forum Sot
(Major Dude) Join Date: Mar 2004
Location: Marietta, Ga. U.S.A.
Posts: 3,915
|
|
|
|
|
|
|
#5 |
|
Junior Member
Join Date: May 2004
Posts: 6
|
this thread's title is "How to program VB plugin that reads the title and artist from Winamp?"
so that gen w. thing don't solve the problem persented here...:\ |
|
|
|
|
|
#6 | |
|
Forum Sot
(Major Dude) Join Date: Mar 2004
Location: Marietta, Ga. U.S.A.
Posts: 3,915
|
Sorry, I thought someone asked how to do a Gen Plugin in VB...
Quote:
|
|
|
|
|
|
|
#7 |
|
Junior Member
Join Date: May 2004
Location: Germany
Posts: 6
|
Thanks, thatb template helps a lot! I managed to create a working plug in by now that outputs some hard coded text to the LCD when Winamp is started.
Now the second problem: the plugin needs, of course, to know the title and artist of the currently playing song (if Winamp is stopped, it may be empty strings or something, that doesn't matter). I've had a look at http://forums.winamp.com/showthread....hreadid=180383 but the ZIP file there doesn't seem to include an approbiate function (I'm using VB6, if that's of interest). I hope this is possible at all, if yes, please tell me how! Thanks! |
|
|
|
|
|
#8 | |
|
Forum Sot
(Major Dude) Join Date: Mar 2004
Location: Marietta, Ga. U.S.A.
Posts: 3,915
|
Glad to help.
Quote:
Also, look at:http://forums.winamp.com/showthread....hreadid=180297 All of the commands in this listing can be used with the plugin code. |
|
|
|
|
|
|
#9 |
|
Junior Member
Join Date: May 2004
Location: Germany
Posts: 6
|
I couldn't find a way to get the title and artist via window messages in the link you gave me, but the idea with using Winamp's window title was nice. I have used that for now and it works nicely, thus I consider my plug in as finished now. If anyone is interested in parts of the code, contact me here:
http://home.pages.at/arnerossius/kontakt.htm the circuit for the serial LCD is described here (german!), the plug in will be available there soon: http://home.pages.at/arnerossius/sch...ro/ser2lcd.htm Thanks again for all your help and thanks to the programmers of Winamp, of course! |
|
|
|
|
|
#10 |
|
Forum Sot
(Major Dude) Join Date: Mar 2004
Location: Marietta, Ga. U.S.A.
Posts: 3,915
|
Did you get the LCD output working?
If so what one are you using - homebrew or purchased? |
|
|
|
|
|
#11 |
|
Junior Member
Join Date: May 2004
Posts: 6
|
:\ i still want the code for finding the title with window msgs
|
|
|
|
|
|
#12 | |
|
Junior Member
Join Date: May 2004
Location: Germany
Posts: 6
|
The LCD output wasn't a problem to me as I had written other programs interfacing to LCDs before. I used a normal HD44780 LCD (with two controllers as it was 4x27 in size, which exceeds the 80 characters one controller can interface) and designed, built and programmed an RS232-to-HD44780 interface converter. You can see the LCD and the circuit on the photos located at the bottom of the second link I posted.
Quote:
|
|
|
|
|
|
|
#13 | |
|
Junior Member
Join Date: Nov 2006
Posts: 10
|
Quote:
you're needed peace is WinAmp_SongInfo code: |
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|