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