mIRC Home    About    Download    Register    News    Help

Print Thread
#104363 02/12/04 04:11 PM
Joined: Nov 2004
Posts: 12
E
Pikka bird
OP Offline
Pikka bird
E
Joined: Nov 2004
Posts: 12
how do i bring mIRC itself to stream mp3's to a shoutcast server using sockets?

#104364 02/12/04 07:20 PM
Joined: Mar 2004
Posts: 457
D
Fjord artisan
Offline
Fjord artisan
D
Joined: Mar 2004
Posts: 457
u want to use mirc to stream the MP3s to the server directly using sockets? I severly doubt this is possible.

#104365 02/12/04 08:02 PM
Joined: Feb 2003
Posts: 3,432
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
i guess he means like winamp send to shoutcast ?


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
#104366 02/12/04 08:56 PM
Joined: Feb 2003
Posts: 307
T
Fjord artisan
Offline
Fjord artisan
T
Joined: Feb 2003
Posts: 307
maybe, but i am positive that mirc can shoutcast directly to users

i have made one server for that smile

#104367 02/12/04 09:33 PM
Joined: Jul 2003
Posts: 742
Hoopy frood
Offline
Hoopy frood
Joined: Jul 2003
Posts: 742
connect to the stream using sockets, write to a file, play file in mirc... its been done before, in mircscript, easy... i dont know the specifics though


http://MTec89Net.com
irc.freenode.net #MTec89Net
#104368 04/12/04 07:40 PM
Joined: May 2003
Posts: 79
A
Babel fish
Offline
Babel fish
A
Joined: May 2003
Posts: 79
MTec89 : yeah, listening to shoutcast servers is not complicated, but that's not what he wanted. He wanted to send the stream from mIRC to the shoutcast server.

I don't know the specifications for that type of sending, but I think you'd have to connect to the shoutcast, and then, following the protocols, send the file reading for example 16 000 bytes every second for a mp3 encoded in 128 kbps (as 128 / 8 = 16).

#104369 13/12/04 03:29 PM
Joined: Feb 2003
Posts: 307
T
Fjord artisan
Offline
Fjord artisan
T
Joined: Feb 2003
Posts: 307
Quote:
MTec89 : yeah, listening to shoutcast servers is not complicated, but that's not what he wanted. He wanted to send the stream from mIRC to the shoutcast server.

I don't know the specifications for that type of sending, but I think you'd have to connect to the shoutcast, and then, following the protocols, send the file reading for example 16 000 bytes every second for a mp3 encoded in 128 kbps (as 128 / 8 = 16).



hello, there are ways to find that,
if the interface that is normally used to connect to the shoutcast server supports proxys, with my proxy server in logging mode, people are able to see what is the protocol used.
After that it can be more or less easily implemented...

#104370 24/12/04 05:22 AM
Joined: Dec 2004
Posts: 4
Q
Self-satisified door
Offline
Self-satisified door
Q
Joined: Dec 2004
Posts: 4
Heh I've done this challenge, called my script MCast(mIRC Cast, similar to SHOUTcast)...I am constantly improving on this, and now I'm at the point where I'm ready to get a dll so that I can have voice with it too! So yeah, it can definetly be done smile

The challenge is not being a DJ with an mirc script, that is pretty easy when you know the howabouts. The challenge is to make a script that will listen in to a SHOUTcast stream...it's easy to download the music but it is NOT easy to download and play to the same file, in a streaming manner, and /splay is too slow updating to switch files constantly.

here is what the SHOUTcast DJ tool(for winamp) does upon connection


>> <sockopen> ;opening socket
>> [stream-pass] <$crlf> ;sending authorization
<< icy-caps:11 ;authorization accepted
;sending stream info \/ \/ \/ \/
>> Icy-name:[stream-name]
>> Icy-genre:[genre]
>> Icy-url:[stream url]
>> Icy-irc:[irc]
>> Icy-icq:[icq #]
>> Icy-aim[aim name]
>> Icy-pub:1
>> Icy-br:24
;ready to stream - stream mp3 data within 30 seconds of this time.........note that you will have to do some work to figure out how much of the file you're supposed to send at a time(send too much and it skips, send too little and it buffers)

also, there is a way to update the name of the song but I'm not going to share it -- give yall at least a little work :P(if ya really really wanna know and can't figure out how to put it into ur script email me: Qb_Master2003@yahoo.com )

told ya it could be done grin


Link Copied to Clipboard