Old 3rd November 2013, 03:19   #1
asacavanagh
Junior Member
 
Join Date: Apr 2009
Posts: 5
Having Issues with DJ connections (sc_trans) [Solved]

Hi

I'm having an issue with connecting to the sc_trans dj ports.
The ports are open before anyone shouts that.
The sc_trans and sc_serv are on a dedicated server hosted and I'm connecting remotely.

When I try and connect to it using the SHOUTcast DSP Plug-In in Winamp, the server logs the following every time:

Quote:
2013-11-02 20:02:26 D msg:[CALENDARMGR] timeSlice
2013-11-02 20:02:27 D msg:[DJPROTOCOLUVOX] State EMPTY
2013-11-02 20:02:27 D msg:[DJPROTOCOLUVOX] State CIPHER
2013-11-02 20:02:27 D msg:[DJPROTOCOLUVOX] State SENDREPLY
2013-11-02 20:02:27 D msg:[CALENDARMGR] timeSlice
2013-11-02 20:02:28 D msg:[DJPROTOCOLUVOX] State AUTHENTICATIONREQUEST
2013-11-02 20:02:28 D msg:[DJMGR] DJ `raver' requesting run permission
2013-11-02 20:02:28 D msg:[DJMGR] DJ `raver' not enabled. Run permission denied.
2013-11-02 20:02:28 W msg:[DJPROTOCOLUVOX] Login denied from `raver'
2013-11-02 20:02:28 D msg:[DJPROTOCOLUVOX] State SENDREPLY
2013-11-02 20:02:28 D msg:[DJPROTOCOLUVOX] State KILL
2013-11-02 20:02:28 D msg:[DJPROTOCOLUVOX] State KILL
2013-11-02 20:02:29 D msg:[CALENDARMGR] timeSlice

I've tried most of the solutions people have had with regards to calendars and configuration files but I'm still not exactly sure what's going on seeing as it's not working.

Here's my configuration file for sc_trans (I used the "simple" conf and expanded):
Quote:
; NOTE: for any relative paths specified are relative to
; sc_trans and not to where the conf file is being stored
; we use this to use certain configuration options from the
; server file (assuming it is already configured correctly)
; instead of having to re-enter the details again in here
;
;inheritconfig=sc_serv_basic.conf

; Network Options
outprotocol=1
serverip=127.0.0.1
serverport=XXXX
password=****

; here we will setup where the log and other related files
; will be stored. make sure that these folders exist else
; sc_trans will throw an error and will close itself down.
logfile=logs/sc_trans.log
screenlog=1
; Debug
;shoutcastdebug=1
djdebug=1
calendardebug=1

; for testing we will only setup a single encoder though it
; is easy to add in additional encoder configurations and
; we are using an aac plus encoder as the default due to
; the licensing requirements for mp3 encoding as detailed
; in sc_trans.txt - section 2.5).
encoder_1=mp3
bitrate_1=128000
samplerate=44100
channels=2
unlockkeyname=****
unlockkeycode=****

; here you would provide any information to fill in details
; provided to clients about the stream. it us upto you what
; is entered though do not do anything which will annoy, etc
streamtitle=RAVE V!be Vortex
streamurl=http://www.XXXX.net
genre=Misc
public=1

;Other Trans Related Settings
xfade=2
xfadethreshold=20
capture=0
shuffle=1
calendaroverwrite=0

;DJ Support
djlogin=raver
djpassword=****
djpriority=1
; DNAS v1
djport=XXXX
; DNAS v2
djport2=XXXX

; here we specify a playlist to use as the master list from
; which to play files from.
playlistfile=playlists/ravevibevortex.lst


; these options will allow you access the admin interfaces
; of sc_trans though also allows the 'testui' example to be
; accessed. remember to change the password, etc as needed
adminport=XXXX
adminuser=admin
adminpassword=********
and my dj_calendar.xml:
Quote:
<?xml version="1.0" encoding="UTF-8" ?>
<eventlist>
<event type="dj">
<dj archive="0" priority="1">raver</dj>
<calendar starttime="00:00:00"/>
</event>
</eventlist>
As I've said above, I've tried a few different "solutions" people have had on here and nothing seems to be working for myself.
So if anyone is able to help me out here, it'd be very much appreciated.
asacavanagh is offline   Reply With Quote
Old 3rd November 2013, 03:34   #2
asacavanagh
Junior Member
 
Join Date: Apr 2009
Posts: 5
I've also just noticed this in the initial loading of sc_trans:
Quote:
2013-11-02 20:25:04 D msg:[DJMGR] DJ Information
2013-11-02 20:25:04 D msg:[DJMGR] dj - L:dj P:noise R:1 B:0 E:0 C:0
2013-11-02 20:25:04 D msg:[DJMGR] raver - L:raver P:**pass** R:1 B:0 E:0 C:0
Not sure if it's anything, but it's there.
asacavanagh is offline   Reply With Quote
Old 3rd November 2013, 18:24   #3
DrO
 
Join Date: Sep 2003
Posts: 27,873
well my initial though is that there's nothing in the config file referring to dj_calendar.xml which to me would explain it not being able to find it. though the next post seems to contradict that so now i'm not too sure. i would make sure that there's an explict config option to use the desired calendar file.
DrO is offline   Reply With Quote
Old 5th November 2013, 08:10   #4
asacavanagh
Junior Member
 
Join Date: Apr 2009
Posts: 5
Well that worked this time...

I re-added the line:
Quote:
calendarfile=/home/shoutcast/calendar/dj_calendar.xml
to the config and then loaded.

Though, once I loaded it, it removed everything except two of the lines from the XML file; not sure what the go was there. I re-added my dj code and loaded and it once again and it works like a charm now.

Weird thing is I had this line in once before and didn't work so I removed it in my troubleshooting stage. May have been a combination of things including this but yes, works fine now. Thanks Dr.


(I'd edit the title for the thread to have the [SOLVED] tag but apparently I can't edit my first post, so if that's something you guys do here, feel free )
asacavanagh is offline   Reply With Quote
Old 5th November 2013, 12:50   #5
DrO
 
Join Date: Sep 2003
Posts: 27,873
there's an option to disable the calendar file from being re-written by sc_trans which will resolve the other issue you'd mentioned. as you generally need to have things setup in the config file and then the calendar.xml for the events to work - a mess really and there was plans to automate that process but that's unlikely to be part of a possible bug fix only release of sc_trans (if it happens).
DrO is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Technical Support

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