Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   Shoutcast Technical Support (http://forums.winamp.com/forumdisplay.php?f=86)
-   -   sc_trans DJ's not connecting.. (http://forums.winamp.com/showthread.php?t=451743)

DoctorD 19th September 2017 13:09

sc_trans DJ's not connecting..
 
Hi;
I would appreciate any help with this issue. I've tried everything I can think of. I have a Shoutcast server windows server 2008 running Shoutcast DNAS #Version: 2.5.1.724 as a service,it starts and works perfectly. I can connect, stream etc. I have added the sc_trans version v2.0.0.54. It appears to startup and run the playlist perfectly. However when I try to connect a DJ the DNS just hangs-up and says "connecting". I have tried every combination of DJ connections I could think of. With the same result. There are no errors in the sc_trans log nor in the sc_serv log. Any Thoughts???????
Best
Joe


====sc_trans log=====

2017-09-19 07:21:21 I msg:[MAIN] Logger updating log file to use
2017-09-19 07:21:21 I msg:[MAIN] Loaded config from sc_trans_dj.conf
2017-09-19 07:21:21 I msg:[MAIN] TimeMultiplier = 1, TimeShift = 0
2017-09-19 07:21:21 I msg:[CALENDARMGR] Adding DJ event: m_djName=joe m_archive=0 m_id=1 m_startDate=year:0,mon:0,mday:0,hour:0,min:0,sec:0,isdst:0,wday:0,yday:0 m_endDate=year:0,mon:0,mday:0,hour:0,min:0,sec:0,isdst:0,wday:0,yday:0 m_duration=0 m_timeOffset=year:0,mon:0,mday:0,hour:0,min:0,sec:0,isdst:0,wday:0,yday:0 m_hasStartDate=0 m_hasEndDate=0 m_hasDuration=0 m_hasTimeOffset=0 m_repeat=0
2017-09-19 07:21:21 I msg:[CALENDARMGR] Adding DJ event: m_djName=chris m_archive=0 m_id=2 m_startDate=year:0,mon:0,mday:0,hour:0,min:0,sec:0,isdst:0,wday:0,yday:0 m_endDate=year:0,mon:0,mday:0,hour:0,min:0,sec:0,isdst:0,wday:0,yday:0 m_duration=0 m_timeOffset=year:0,mon:0,mday:0,hour:0,min:0,sec:0,isdst:0,wday:0,yday:0 m_hasStartDate=0 m_hasEndDate=0 m_hasDuration=0 m_hasTimeOffset=0 m_repeat=0
2017-09-19 07:21:21 I msg:[VUPUSH] 101 VU images loaded for left channel
2017-09-19 07:21:21 I msg:[VUPUSH] 101 VU images loaded for right channel
2017-09-19 07:21:21 I msg:[PLAYLISTMGR] Playlist load from file playlists\main.lst
2017-09-19 07:21:21 I msg:[PLAYLISTMGR] Caching playlist playlists\main.lst
2017-09-19 07:21:21 I msg:[PLAYLISTMGR] Load complete
2017-09-19 07:21:21 I msg:[SOURCERELAY] Thread starting
2017-09-19 07:21:21 I msg:[MAIN] Streaming thread starting
2017-09-19 07:21:21 I msg:[RESAMPLER] Deactivated 44100/2 == 44100/2
2017-09-19 07:21:21 I msg:[SOURCEANDENDPOINTMANAGER] Encoder thread 1 starting
2017-09-19 07:21:21 I msg:[SOURCEANDENDPOINTMANAGER] Broadcast thread 1 starting
2017-09-19 07:21:21 I msg:[MP3ENC] 12111/44100/2/96000 Fraunhofer IIS MP3s Encoder V04.01.00 (build 2007-03-15)
2017-09-19 07:21:21 I msg:[UVOX2] 16967 Giving replay gain calculator a head start
2017-09-19 07:21:21 I msg:[MAIN] Playlist decoder thread starting
2017-09-19 07:21:21 I msg:[MP3ENC] 12111/44100/2/96000 MP3 setup complete
2017-09-19 07:21:21 I msg:[RGCALC] Thread running
2017-09-19 07:21:21 I msg:[UVOX2] 16967 Running
2017-09-19 07:21:21 I msg:[MICROSERVER] Listening for connection on port 9004
2017-09-19 07:21:21 I msg:[UVOX2] 16967 Creating stream socket
2017-09-19 07:21:21 I msg:[DECODE] Giving replay gain calculator a head start
2017-09-19 07:21:21 I msg:[DECODE] Begin decoding
2017-09-19 07:21:21 I msg:[DECODE] Next file is C:\Program Files\SHOUTcast\music\shoutcast.mp3
2017-09-19 07:21:21 I msg:[UVOX2] 16967 Connecting to stream host
2017-09-19 07:21:21 I msg:[MAIN] SHOUTcast 2 receiver thread starting
2017-09-19 07:21:21 I msg:[MICROSERVER] Listening for connection on port 9003
2017-09-19 07:21:21 I msg:[MAIN] Broadcast Receiver thread starting
2017-09-19 07:21:21 I msg:[UVOX2] 16967 Sending Ultravox 2.1 authentication
2017-09-19 07:21:21 I msg:[UVOX2] 16967 Mime type
2017-09-19 07:21:21 I msg:[UVOX2] 16967 Broadcast setup
2017-09-19 07:21:21 I msg:[UVOX2] 16967 Negotiating buffer sizes
2017-09-19 07:21:21 I msg:[UVOX2] 16967 Negotiated buffer size is 240KB
2017-09-19 07:21:21 I msg:[UVOX2] 16967 Negotiating payload sizes
2017-09-19 07:21:21 I msg:[UVOX2] 16967 Negotiated payload size is 16377
2017-09-19 07:21:21 I msg:[UVOX2] 16967 Configuring ICY-NAME [Doowop Radio Test]
2017-09-19 07:21:21 I msg:[UVOX2] 16967 Configuring ICY-GENRE [Oldies]
2017-09-19 07:21:21 I msg:[UVOX2] 16967 Configuring ICY-URL [http://www.DoowopRadio.com]
2017-09-19 07:21:21 I msg:[UVOX2] 16967 Configuring ICY-PUB [0]
2017-09-19 07:21:21 I msg:[UVOX2] 16967 Flush metadata
2017-09-19 07:21:21 I msg:[UVOX2] 16967 Standby
2017-09-19 07:21:21 I msg:[UVOX2] 16967 Streaming
2017-09-19 07:21:21 I msg:[UVOX2] 16967 Sending metadata 3902 [217 bytes] content=
<?xml version="1.0" encoding="UTF-8" ?>
<metadata>
<TIT2>shoutcast</TIT2>
<extension>
<title seq="1">shoutcast</title>
<title seq="2">shoutcast</title>
<title seq="3">shoutcast</title>
</extension>
</metadata>

2017-09-19 08:19:02 I msg:[DECODE] Next file is C:\Program Files\SHOUTcast\music\shoutcast.mp3
2017-09-19 08:19:24 I msg:[UVOX2] 16967 Sending metadata 3902 [275 bytes] content=
<?xml version="1.0" encoding="UTF-8" ?>
<metadata>
<TIT2>shoutcast</TIT2>
<extension>
<title seq="1">shoutcast</title>
<title seq="2">shoutcast</title>
<title seq="3">shoutcast</title>
<title seq="4">shoutcast</title>
<soon>shoutcast</soon>
</extension>
</metadata>


====trans_dj.conf=====

; we use the sc_trans_basic.conf configuration file as the
; base configuration to work from for enabling DJ support
include=sc_trans_basic.conf

autodumpsourcetime=30
; here we enable support for a SHOUTcast 1 or SHOUTcast 2
; source as the DJ input though bear in mind the port usage
; as detailed in sc_trans.txt - section 3.0.3
djport=9002
djport2=9004
djcipher=
djlogin_1=joe
djpassword_1=djjoe
djpriority_1=5
djlogin_2=chris
djpassword_2=djchris
djpriority_2=5
; NOTE: remember to change this to something else if you do
; setup multiple DJ's into the system as well as with
; updating your calendar.xml to allow access for them
capture=0

; this is needed otherwise sc_trans will not allow DJ joins
; to be allowed to connect to the sc_trans instance.
calendarfile=calendar\dj_calendar.xml
calendarrewrite=0


====sc_trans_basic.conf====

; default is 8000, if not change to sc_serv's 'portbase'
serverport_1=9000
; this is the same as 'password' in sc_serv_basic.conf
password_1=xxxxxxx
; this is the same as 'streamid' in sc_serv_basic.conf for
; the stream we are acting as the source for
streamid_1=1
; this is a name for the source we're creating and is used
; with the AJAX control api or can be left blank to get a
; generic name created in the form of 'endpointX' where 'X'
; is the index of the created source from sc_trans lists.
endpointname_1=


; 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=Radio Test
streamurl=http://www.XXXXXXX.com
genre=New


; here we specify a playlist to use as the master list from
; which to play files from.
playlistfile=playlists\main.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=7999
adminuser=admin
adminpassword=goaway


; if we want to have an intro file for when the client gets
; the stream or a backup file incase of our connection to
; the server failing then we can set these. this is needed
; as we are using 'outprotocol=3' which supports this (and
; is needed in place of the sc_serv defined values to work)
;serverintrofile=<specify_intro_filepath>
;serverbackupfile=<specify_backup_filepath>
;;; FILES
serverbackupfile=
serverintrofile=


====DJ Calendar XML====

<?xml version="1.0" encoding="UTF-8" ?>
- <eventlist>
- <event type="dj">
<dj archive="0">joe</dj>
<calendar />
</event>
- <event type="dj">
<dj archive="0">chris</dj>
<calendar />
</event>
</eventlist>

neralex 22nd September 2017 21:32

Not sure if its caused by the fact, that the calendar.xml needs also the priority for each event.

Like: <dj archive="0" priority="5">joe</dj>

Also the hyphens at begining of the lines in your calendar.xml are looking wierd.


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

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.