yeah, but that's no good, he might as well just be broadcasting then.
Printable View
Btw Alex, +rep for that voiceover, and im still looking for someone to code sc_trans so I dont have to kick it off.
sc_trans is a linux program. You will require shell access to the server you want to run it on. You could make a simple PHP script that kicks the server.. Not hard :)
Example PHP script (You'll need to change the PID - In example this is 46636 - for the sc_tranc process):
PHP Code:<?php
$output = shell_exec('kill 46636');
echo "The command outputted: ";
echo $output;
?>
ok, im just lost now. It all seams complicated. Maybe some 1 put a tutorial :D
any1 no what i need and how to set up? coz ive been told i need a sc_trans and ftp to shoutcast host but im lost
There are a few companies which offer different packages and how they work.
Habbox Live
Habbox Live uses a dual shoutcast system. Where they basically have 2 shoutcast servers. One is for DJ's to connect to and the other is where the Auto DJ is constantly streaming.
On the radio stats script if there is no DJ online it switches to the Auto DJ stats page where people can tune in.
This method can be quite buggy as it means having 2 shoutcast servers.
The only way to turn the HabboxLive Auto DJ of is by signing into the stream control and stopping the server.
Constant Stream - 1 Shoutcast Server
There is a much better way of providing an Auto DJ service. Try looking at: -
http://www.streamsolutions.co.uk/
This company will stream music through your shoutcast server and it is much easier to start and stop the Auto DJ.
They provide a MSN bot where you can type cds stop 1 for example to stop the server. Using their MSN bot is a much better way of stopping the server, as it allows you to give DJ's acess to stop it without acessing many configuration settings.
THANK YOU i love u :) +rep
Edit : wait not sure i understand -
for the 1st one u buy 2 radios and use a code to go to the auto radio? is that correct?
2nd way : i hav a radio im not buying another :P
<?
STATS FILE HERE - REMOVE ECHOS
if($streamstatus = "0") {
echo "Media Player";
}else{
echo "Media Player";
}
?>
+rep if someone does a tut on it ;)