View Full Version : Help on a general purpose plugin
Paikan
21st May 2002, 19:11
I am completely new to the winamp community and i'd like to have a little help in order to develop my first general purpose plugin for winamp. I've pretty good knowledge in C and that's why i want to develop it in C. So basically all i need for the moment is help on this:
What is the best way to get the title and the author of the current mp3 that winamp is playing maybe in the id3tag or in the name of the file i don't know and then how can i launch the winamp mini broswer each time the user plays a new song and open the url i want on it?
Thanks a lot in advance if anyone can help me for this.
And sorry for my english and for certainly asking a quite stupid question that has been adressed a lot of time
PaiKan
Kaboon
21st May 2002, 19:36
You already can get those variables through the minibrowser:
$t = Title
$a = Artist
$u = Album
You can use those variables in eg. a php script.
If you still want to write a plug-in use the General Purpose Plug-in SDK (http://www.winamp.com/nsdn/winamp2x/dev/plugins/gen.jhtml) and the Winamp API (http://www.winamp.com/nsdn/winamp2x/dev/sdk/).
For more information read the developer docs on NSDN (http://www.winamp.com/nsdn/winamp2x/).
Paikan
21st May 2002, 19:51
Thanks for help that's really cool!
I have the sdk and i have looked at it and at the url you gave me but i don't really understand very well how to start. I mean what headers do i need to include in my file i ve seen define for the webbrowser but i don t understand how to open the url i want when a song is playing. Damn i suck :igor:
Kaboon
21st May 2002, 20:06
I moved this to another forum for better feedback on coding stuff. I wish I could help you myself but I'm an starting developer too. :D
Paikan
21st May 2002, 20:11
Oh thanks man :)
Kaboon
22nd May 2002, 13:11
Is this of any use? (Just browsed into it. :))
http://forums.winamp.com/showthread.php?s=&threadid=85620
Paikan
22nd May 2002, 19:31
Yeah thanks i have already read this thread but damn i have problems i don't even know how to compile my dll using dev c++ and the sdk what files do i need to include and everything and i ve read the nsdn page but i don't think it is well documented.
Kaboon
23rd May 2002, 09:39
Example (http://forums.winamp.com/showthread.php?s=&threadid=82651). :)
ryan
8th September 2004, 09:25
Originally posted by Kaboon
You already can get those variables through the minibrowser:
$t = Title
$a = Artist
$u = Album
You can use those variables in eg. a php script.
If you still want to write a plug-in use the General Purpose Plug-in SDK (http://www.winamp.com/nsdn/winamp2x/dev/plugins/gen.jhtml) and the Winamp API (http://www.winamp.com/nsdn/winamp2x/dev/sdk/).
For more information read the developer docs on NSDN (http://www.winamp.com/nsdn/winamp2x/).
$a = artist
$t = title
$b = album
$v = winamp version
$f = playlist format (e.g. how the song looks in the playlist)
$g = WAITTUIDHACK ???
vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.