Go Back   Winamp Forums > Developer Center > Winamp Development

Reply
Thread Tools Search this Thread Display Modes
Old 4th March 2004, 12:49   #1
Tom Stöveken
Junior Member
 
Tom Stöveken's Avatar
 
Join Date: Mar 2004
Location: at home
Posts: 3
Send a message via ICQ to Tom Stöveken
GPL a plugin based on SDK?

Is it legal to GPL a plugin that is based on the SDK? Nether the SDKs Readme nor the website mention this explicitly.

So far I have developed two plugins. The first outputs the audiodata as a stream of RAW-UDP Packages into the LAN. All Packets are directed to the broadcast-address 255.255.255.255. So everybody with my second plugin, may join this stream and listen to the music.
Tom Stöveken is offline   Reply With Quote
Old 4th March 2004, 13:13   #2
javajunky
Senior Member
 
Join Date: Apr 2001
Posts: 269
Hmm, on an un-related note, have you considered using a standard multi-cast address, rather than the broadcast address, that way only plugin users will see the traffic, rather than bombard everyone with it?... This works very well for my plugin (the streaming is actually done by http serving so I can stream multiple tunes at once), however the network discovery is done with multi-casted udp.

Sorry to not answer your question.
javajunky is offline   Reply With Quote
Old 4th March 2004, 14:22   #3
DrO
-
 
DrO's Avatar
 
Join Date: Sep 2003
Location: UK
Posts: 22,210
i don't think there are any problems since all the sdk really does is just give you message ids to pass to winamp - can't see why that would cause any issues

-daz
DrO is offline   Reply With Quote
Old 4th March 2004, 15:03   #4
javajunky
Senior Member
 
Join Date: Apr 2001
Posts: 269
If say you extend ml_ex (as I have done) however, where would that leave you ?
javajunky is offline   Reply With Quote
Old 4th March 2004, 15:09   #5
DrO
-
 
DrO's Avatar
 
Join Date: Sep 2003
Location: UK
Posts: 22,210
ml_ex is an example plugin and is there to be used as a base to extend upon so it should be fine as well.

Quote:
/*
** Copyright (C) 2003 Nullsoft, Inc.
**
** This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held
** liable for any damages arising from the use of this software.
**
** Permission is granted to anyone to use this software for any purpose, including commercial applications, and to
** alter it and redistribute it freely, subject to the following restrictions:
**
** 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software.
** If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
**
** 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
**
** 3. This notice may not be removed or altered from any source distribution.
**
*/
well that's the license in use from the files though if you're creating any winamp plugin it's known that the very base of the plugin is going to be the same so it should all be fine whatever you do.

-daz
DrO is offline   Reply With Quote
Old 5th March 2004, 11:09   #6
Tom Stöveken
Junior Member
 
Tom Stöveken's Avatar
 
Join Date: Mar 2004
Location: at home
Posts: 3
Send a message via ICQ to Tom Stöveken
Hi and thanks for your respons.

Quote:
Originally posted by javajunky
..., have you considered using a standard multi-cast address, ... however the network discovery is done with multi-casted udp.
@Javajunky:
Since the plugin sends already a huge amount of data through the LAN this solution is only intended for a small LAN at home. Of course one should have the possibility to enter a specific address later on. By now I have not found out how to create a dialog to prompt for an address with DevCpp. With Delphi this wouldn't be a problem :-)
Do you have sample code that shows what needs to be done to send a multicast? Do I only set the socket opt for broadcast and enter a multicast address? What steps do the clients have to perform?

If I base on the ml_ex plugin the license would be clear. The other files do not have this header :-/ Perhaps I should ask Justin Frankel. Has anybody his email? If yes, plz send it via pm through this forum.
I know that I am a little bit paranoid , but I really want to be sure that everything is legal before publishing any code.

Kind regards and thanks so far,
Tom Stöveken
Tom Stöveken is offline   Reply With Quote
Old 5th March 2004, 12:07   #7
Rovastar
Moderator
 
Join Date: Jun 2001
Location: London, England
Posts: 3,612
Send a message via AIM to Rovastar
Justin doesn't work for Nullsoft/winamp anymore

"Rules are for the guidance of wisemen and the obedience of fools"

Visuals - MilkDrop www.milkdrop.co.uk
New Visuals - Morphyre www.Morphyre.com
Rovastar is offline   Reply With Quote
Old 5th March 2004, 12:25   #8
javajunky
Senior Member
 
Join Date: Apr 2001
Posts: 269
Its actually dead easy you just open a socket to a particular set of addresses (I can't remember them off of the top of my head) I'll try and exerpt the code for you, its very similar to broadcasting, it just allows you to maintain a particular 'group' of nodes rather than inform *everyone* on the network

Quote:
Originally posted by Tom Stöveken
Hi and thanks for your respons.


@Javajunky:
Since the plugin sends already a huge amount of data through the LAN this solution is only intended for a small LAN at home. Of course one should have the possibility to enter a specific address later on. By now I have not found out how to create a dialog to prompt for an address with DevCpp. With Delphi this wouldn't be a problem :-)
Do you have sample code that shows what needs to be done to send a multicast? Do I only set the socket opt for broadcast and enter a multicast address? What steps do the clients have to perform?

If I base on the ml_ex plugin the license would be clear. The other files do not have this header :-/ Perhaps I should ask Justin Frankel. Has anybody his email? If yes, plz send it via pm through this forum.
I know that I am a little bit paranoid , but I really want to be sure that everything is legal before publishing any code.

Kind regards and thanks so far,
Tom Stöveken
javajunky is offline   Reply With Quote
Old 5th March 2004, 13:34   #9
Tom Stöveken
Junior Member
 
Tom Stöveken's Avatar
 
Join Date: Mar 2004
Location: at home
Posts: 3
Send a message via ICQ to Tom Stöveken
Quote:
Originally posted by Rovastar
Justin doesn't work for Nullsoft/winamp anymore
Hmm, but it's his copyright in the sourcecode (from 1998, in_tone.c). Everything would be fine if the SDK's readme.txt contains a copyright licence like the one in the ml_lib.cpp header that covers every file in the SDK.
Is this possible? A simple copy and paste into the top-level readme.txt would be enough... plz!
Tom Stöveken is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > Winamp Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump