View Single Post
Old 22nd January 2014, 18:53   #1
splattersix
Junior Member
 
Join Date: Jan 2014
Posts: 7
Calendar/ DSP Plugin - DJ/ID & Password not working correctly.

Hey guys, I'd like to pick some brains on setting up a shoutcast server correctly if I may. I have spent 2 days now trying, testing and reading documentation (over and over) and yet Im still having problems. I am at my wits end now, so need some help and advice and hoping some of the seasoned shoutcast veterans can possibly offer a solution.

My server is a dedicated server (8GB RAM, Quadcore) running Centos 6.5. I have the latest versions and drops of sc_serv, sc_trans and the Shoutcast DSP plugin for Winamp (as well as latest winamp running).

I have sc_serv sorted and running, not a problem. In fact I even have sc_trans up and running which is connecting to sc_serv as a source for a playlist and its working fine. What isn't working for me is the calendar.xml and dj_login / dj_pass / dj_port part of it.

I was under the impression (from what I have read in the documentation) that you can use sc_trans as a source for a playlist, then when you have calendar.xml setup alongside the dj_login part of the sc_trans config, You should be able to just enter your dj login and password in the fields in shoutcast DSP plugin, enter the server details and connect. The playlist should fade out.. the live stream fade in.. and the opposite when the dj disconnects.

But alas it isn't working. When I put dj_login and dj_pass details in the DSP boxes and try to connect (on the shoutcast v2 port I am using), console says bad password. When I leave the dj_login in the box and enter the stream password, it tries to connect, but says I am unable to connect as a source is already running.. * Scratches head *. I thought the whole point of having dj_login / dj_pass was so that you didn't have to give your DJ the stream password..

As it stands I will have to get a DJ to manually kick the source (via PHP) before they can connect - which totally defeats the point of the calendar etc in the first place.

I give details of my config files below

sc_serv.config
code:
banfile=/home/strictjungle/shoutcast/logs/bans/sc_serv.ban
maxuser=200
listenertime=0
autodumpusers=0
srcip=ANY
destip=ANY
log=1
screenlog=1
logfile=/home/strictjungle/shoutcast/logs/server/sc_serv.log
logclients=1
songhistory=20
portbase=8004
adminpassword=adminpass
password=pass
allowrelay=1
allowpublicrelay=1
ripfile=/home/strictjungle/shoutcast/logs/rips/sc_serv.rip
streamid=1
;streamauthhash=
streammaxuser=200
streamadminpassword=adminpass
streampassword=pass
streampublicserver=never
streamallowrelay=1
streamallowpublicrelay=1
streamriponly=0
streamautodumptime=30
streamautodumpusers=0
streamlistenertime=0
streambanfile=/home/strictjungle/shoutcast/logs/bans/sc_serv.ban
streamripfile=/home/strictjungle/shoutcast/logs/rips/sc_serv.rip
streamw3clog=/home/strictjungle/shoutcast/logs/w3c/sc_w3c.log
w3clog=/home/strictjungle/shoutcast/logs/w3c/sc_w3c.log
publicserver=never



sc_trans.config
code:
;CALENDAR EVENTS
calendarfile=/home/strictjungle/shoutcast/assets/calendar.xml
calendarrewrite=0

;DJ SUPPORT
djport=8005
djport2=8004
djlogin_1=liveshow
djpassword_1=showpass
djpriority_1=1

;ENCODER OPTIONS
encoder=mp3
mp3quality=1
bitrate=192000
samplerate=44100
channels=2

;LOGGIN OPTIONS
log=1
screenlog=1
logfile=/home/strictjungle/shoutcast/logs/trans/sc_trans.log

;METADATA CONTROL
streamtitle=Strictly Jungle
streamurl=http://www.strictlyjungle.ca
genre=Drum and Bass
aim=strictlyjungle
irc=strictlyjungle
icq=strictlyjungle
public=0
usemetadata=0

;MP3 ENCODING
unlockkeyname=xxxxxxxxxx
unlockkeycode=xxxxxxxxxxx

;NETWORK OPTION
outprotocol=3
serverip=100.00.00.01
serverport=8004
password=pass
streamid=1

;PLAYLIST CONTROL
playlistfile=/home/strictjungle/shoutcast/assets/playlist.lst
shuffle=1
xfade=1
xfadethreshold=15



calendar.xml
code:
<?xml version="1.0" encoding="UTF-8"?>
<eventlist>
<event type="dj">
<dj archive="0">liveshow</dj>
<calendar />
</event></eventlist>



Winamp Shoutcast DSP Plugin settings

Server Address: 100.00.00.01
port: 8004
stream id: 1
DJ / User ID: liveshow
Password: showpass

Use shoucast v1 mode unticket
Encoder settings and all others are fine.

If anyone needs additional info please advise. Any help much appreciated as Im going bald right now
splattersix is offline   Reply With Quote