View Single Post
Old 2nd February 2014, 09:28   #4
neralex
Major Dude
 
Join Date: Mar 2011
Posts: 576
All what you really need you can find in the WIKI:

http://wiki.winamp.com/wiki/SHOUTcas..._Specification

You must add the playlist and the djs as event in the calendar.xml. Make sure the djs have a higher prio than the playlist. Otherwise the djs can't drop the playlist. In my example the playlist have the lowest prio. So every dj can dpop it. You can set different prios between the djs, maybe dj001 have prio 9 and the dj002 have prio 8. So dj002 can't kick dj001.


code:
<?xml version="1.0" encoding="UTF-8" ?>
<eventlist>

<event type="dj">
<dj archive="0" priority="9">dj001</dj>
<calendar />
</event>

<event type="dj">
<dj archive="0" priority="9">dj002</dj>
<calendar />
</event>

<event type="playlist">
<playlist loopatend="1" shuffle="1" priority="0">default</playlist>
<calendar starttime=":00:00" duration=":00:00" repeat="0" />
</event>

</eventlist>




To set the passwords for the djs you can type it in your trans conf or you can create a separate conf-file like djlogins.conf and this one you can include at the end of the trans conf file:

include=/home/shoutcast/conf/djlogins.conf

code:
djlogin_1=dj001
djpassword_1=xxxxxxxx
djpriority_1=9

djlogin_2=dj002
djpassword_2=yyyyyyy
djpriority_2=9



The same you can do for the playlist filenames at the end of the trans conf file:

include=/home/shoutcast/conf/transplsfiles.conf

code:
playlistfilename_1=default
playlistfilepath_1=playlists/default.lst

neralex is offline   Reply With Quote