|
|
#1 |
|
Junior Member
Join Date: Oct 2006
Posts: 9
|
Show song title in Vis Plugin
Hello,
i wrote a simple vis plugin for winamp to show a vu-meter on an 2x20 Character LC Display. But now i want to show the song title when a new song begins. But i don't know how to get access to the song information. Can anybody give me a hint? MoJo |
|
|
|
|
|
#2 |
|
-
Join Date: Sep 2003
Location: UK
Posts: 22,494
|
IPC_GETPLAYLISTFILE will get you the title information (as it shows in the playlist entry) and IPC_GETLISTPOS will give you the index of the currently playing track
-daz |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Oct 2006
Posts: 9
|
Hello,
thanks for the fast answer, but is there a small code example how to implement this in my vis plugin? Tanks! MoJo |
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Oct 2006
Posts: 9
|
ah, i see...
something like this i guess: lp = SendMessage(hWndWinamp, WM_USER, iIndex, byval IPC_GETPLAYLISTFILE) |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Oct 2006
Posts: 9
|
Hello,
i've experienced one strange effect with that "IPC_GETPLAYLISTTITLE" sometimes when i select another song from the playlist, the function call returns me the complete path of the file ?!? Not the title. Does anybody know why and how to prevent this? Regards, MoJo |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|