Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   Shoutcast Technical Support (http://forums.winamp.com/forumdisplay.php?f=86)
-   -   DJ to SERVER protocol (http://forums.winamp.com/showthread.php?t=122844)

the_voice_85 26th January 2003 05:14

DJ to SERVER protocol
 
I was wondering if anyone could give me the DJ to Server protocol Shoutcast uses?

Sawg 26th January 2003 05:16

http://forums.radiotoolbox.com/viewtopic.php?t=74

the_voice_85 26th January 2003 16:08

connont logon
 
My scirpt can make a connection to the server now, but it keeps saying this "invalid password" even when the password is correct. Is the password encrypted?

Sawg 26th January 2003 18:37

nope

the_voice_85 28th January 2003 20:53

whats the problem then?
 
If the password isnt encrypted and the password i send is correct, why does ShoutCAST still say its invailid?

Tom 28th January 2003 21:28

Not sure why you are still getting the error, but let me assure you the password is not encrypted. Try getting a hold of 1.8.9 of the DNAS because upon an invalid password it will spit out both the correct password as well as what it was sent. What are you writing the script in anyway (i.e. PHP, etc.)?

Tom

Vchat20 29th January 2003 01:54

well, maybe you can try a combo of the username and password as the password for the script. cuz I know that the username is required to login to the server in your browser, even though it is always admin no matter who installed the server. keep that in mind.

Jay 29th January 2003 01:58

no the username is not passed to the server at all during source communication only the password.

Vchat20 29th January 2003 02:09

ok. sry bout that. it was a guess. maybe you just need to look over your server config again and make sure your script is configured correctly according to the server config. at least just look over both once to make sure. sometimes when im working on stuff similar to this, i screw stuff up alot.

the_voice_85 31st January 2003 02:32

reply to tom
 
I downloaded the latest ShoutCAST Server, and im writing the script in MRC (mIRC Script) the cmd line is as follows:
on *:sockopen:shoutcast:{
if $sockerr > 0 { return }
echo -s ***Connection established to $did(shoutcast,4).text $+ !
sockwrite -nt shoutcast $did(shoutcast,6).text $crlf
}

Jay 31st January 2003 03:38

what shows up in the shoutcast log on connection.

the_voice_85 31st January 2003 03:46

reply
 
Heres what mirc and ShoutCAST say
mIRC:
***Connection established to 127.0.0.1!
invalid password

ShoutCAST Server:
<01/30/03@22:40:45> [main] client main thread starting
<01/30/03@22:40:45> [source] listening for connection on port 8001
<01/30/03@22:41:28> [source] invalid password from <edited> 127.0.0.1

Jay 31st January 2003 04:10

there is your problem for some reason no password is being passed to the server. just nothing.

the_voice_85 31st January 2003 04:14

What do i send then? i followed the protocol on the weblink twards the top.

the_voice_85 31st January 2003 04:24

Now its sending a new error (3 params)
<01/30/03@23:20:28> [source] invalid password from 64.135.203.169 <edited> 64.135.203.216

Jay 31st January 2003 05:31

oh now you are passing the address 64.135.203.216 as the password.

the_voice_85 31st January 2003 13:20

LOL that sounds great :P well, im weeding through my script seeing what the error, because it appears to bee sending my ip number as a password


All times are GMT. The time now is 14:40.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.