View Full Version : Show song title in Vis Plugin
MoJo2600
24th October 2006, 14:37
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
DrO
24th October 2006, 17:54
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
MoJo2600
24th October 2006, 18:12
Hello,
thanks for the fast answer, but is there a small code example how to implement this in my vis plugin?
Tanks!
MoJo
MoJo2600
24th October 2006, 18:15
ah, i see...
something like this i guess:
lp = SendMessage(hWndWinamp, WM_USER, iIndex, byval IPC_GETPLAYLISTFILE)
MoJo2600
25th October 2006, 09:52
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
vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.