Old 3rd January 2012, 00:40   #1
daverogers
Senior Member
 
Join Date: Jan 2011
Location: Bristol, uk
Posts: 104
Programming issue

I am having a problem with the calendar.xml My shows are not plying on time but 10 to 20 minutes after.

I have made the schedual so that the "offline" playlist plays whenever there is no show. I removed the default playlist from the sc_trans confg but when I do this the transcoder will not start. What priority is the default list?

I have includd the xml below.

Quote:
<?xml version="1.0" encoding="UTF-8"?>
<!--Calendar configuration file-->
<!--Made with the SHOUTcast 2 Configuration Builder-->
<eventlist>
<event type="playlist">
<playlist loopatend="0" shuffle="0" priority="5">
bennyl
</playlist>
<calendar
repeat="127"
startdate="2011/02/01"
starttime="23:59:00"
duration="01:00:00"
/>
</event>
<event type="playlist">
<playlist loopatend="0" shuffle="0" priority="5">
disney
</playlist>
<calendar
repeat="127"
startdate="2011/02/01"
starttime="01:00:00"
duration="01:20:00"
/>
</event>
<event type="playlist">
<playlist loopatend="0" shuffle="0" priority="5">
fajita
</playlist>
<calendar
repeat="127"
startdate="2011/02/01"
starttime="03:00:00"
duration="00:47:00"
/>
</event>
<event type="playlist">
<playlist loopatend="0" shuffle="0" priority="5">
tech breakfast
</playlist>
<calendar
repeat="127"
startdate="2011/02/01"
starttime="06:00:00"
duration="00:34:44"
/>
</event>
<event type="playlist">
<playlist loopatend="0" shuffle="0" priority="5">
bennyl
</playlist>
<calendar
repeat="127"
startdate="2011/02/01"
starttime="08:00:00"
duration="01:00:00"
/>
</event>
<event type="playlist">
<playlist loopatend="0" shuffle="0" priority="5">
disney
</playlist>
<calendar
repeat="127"
startdate="2011/02/01"
starttime="10:00:00"
duration="01:20:00"
/>
</event>
<event type="playlist">
<playlist loopatend="0" shuffle="0" priority="5">
fajita
</playlist>
<calendar
repeat="127"
startdate="2011/02/05"
starttime="12:00:00"
duration="00:47:00"
/>
</event>
<event type="playlist">
<playlist loopatend="0" shuffle="0" priority="5">
tech breakfast
</playlist>
<calendar
repeat="127"
startdate="2011/02/05"
starttime="13:00:00"
duration="00:34:44"
/>
</event>
<event type="playlist">
<playlist loopatend="0" shuffle="0" priority="5">
out of hand
</playlist>
<calendar
repeat="127"
startdate="2011/02/05"
starttime="14:00:00"
duration="00:43:50"
/>
</event>
<event type="playlist">
<playlist loopatend="0" shuffle="0" priority="5">
disney
</playlist>
<calendar
repeat="127"
startdate="2011/02/01"
starttime="15:00:00"
duration="01:20:00"
/>
</event>
<event type="playlist">
<playlist loopatend="0" shuffle="0" priority="5">
fajita
</playlist>
<calendar
repeat="127"
startdate="2011/02/01"
starttime="17:00:00"
duration="00:47:00"
/>
</event>
<event type="playlist">
<playlist loopatend="0" shuffle="0" priority="5">
tech breakfast
</playlist>
<calendar
repeat="127"
startdate="2011/02/05"
starttime="18:00:00"
duration="00:34:44"
/>
</event>
<event type="playlist">
<playlist loopatend="0" shuffle="0" priority="5">
ohms
</playlist>
<calendar
repeat="127"
startdate="2011/02/05"
starttime="19:00:00"
duration="00:58:00"
/>
</event>
<event type="playlist">
<playlist loopatend="0" shuffle="0" priority="5">
manolodec2011
</playlist>
<calendar
repeat="127"
startdate="2011/12/30"
starttime="20:00:00"
duration="01:20:00"
/>
</event>
<event type="playlist">
<playlist loopatend="0" shuffle="0" priority="5">
click clack
</playlist>
<calendar
repeat="127"
startdate="2011/02/05"
starttime="22:00:00"
duration="00:47:19"
/>
</event>
<event type="playlist">
<playlist loopatend="1" shuffle="0" priority="5">
cartoonist
</playlist>
<calendar
repeat="127"
startdate="2011/02/05"
starttime="23:00:00"
duration="00:30:00"
/>
</event>
<event type="playlist">
<playlist loopatend="1" shuffle="0" priority="6">
offline
</playlist>
<calendar
repeat="127"
startdate="2011/02/05"
starttime="23:00:00"
/>
</event>

<event type="dj">
<dj archive="0">daverogers</dj>
<calendar/>
</event>
<event type="dj">
<dj archive="0">djjamba</dj>
<calendar
repeat="1"
startdate="2011/12/30"
starttime="19:00:00"
duration="02:00:00"
/>
</event>

</eventlist>
daverogers is offline   Reply With Quote
Old 4th January 2012, 11:55   #2
DrO
 
Join Date: Sep 2003
Posts: 27,873
Quote:
Originally Posted by daverogers View Post
My shows are not plying on time but 10 to 20 minutes after.
that's most likely from how the events will wait for the currently playing item to complete before it moves onto the next item. is a noted wish to allow for the event to be stopped / interrupted at the exact time required (though no eta when it'll make it in).

Quote:
Originally Posted by daverogers View Post
I have made the schedual so that the "offline" playlist plays whenever there is no show. I removed the default playlist from the sc_trans confg but when I do this the transcoder will not start. What priority is the default list?
i would have probably set the offline playlist as the default playlist for the Transcoder without it being setup as an event as the Transcoder will always fallback to using that if there is no active event (which sounds like is what you're wanting). it has a priority of 0 or -1 (cannot remember for certain - is one below the minimum in the docs).

i may have to double-check the Transcoder not working if there's no main playlist but events are scheduled to run as it probably should do something in that case.

-daz
DrO is offline   Reply With Quote
Old 4th January 2012, 16:49   #3
daverogers
Senior Member
 
Join Date: Jan 2011
Location: Bristol, uk
Posts: 104
So If the default playlist is say priority 1 and all my palylist are 1 as well it will wait till the last song is finished berfore it starts the new playlist. Would it not be better to set the default to say a 3 or 4 so its possible to program palylists to take over the default. How about this scenario if I have playlist 1 at priority2 and playlist 2 at Priority 3. WHEN Playlist 2 is playling and Playlist one is scheduled to play in the next say 5 min time. Will playlist 2 overide playlist 1 even if it has not finished a track or will it still wait.
daverogers is offline   Reply With Quote
Old 4th January 2012, 17:18   #4
DrO
 
Join Date: Sep 2003
Posts: 27,873
it will always wait for the currently playing item to finish when playing from a scheduled playlist event, hence the common request to allow the event to start on time (which probably should have been done that way from the start but i guess there were reasons why it wasn't done that way).

-daz
DrO is offline   Reply With Quote
Old 4th January 2012, 17:33   #5
daverogers
Senior Member
 
Join Date: Jan 2011
Location: Bristol, uk
Posts: 104
Quote:
Originally Posted by DrO View Post
it will always wait for the currently playing item to finish when playing from a scheduled playlist event, hence the common request to allow the event to start on time (which probably should have been done that way from the start but i guess there were reasons why it wasn't done that way).

-daz
Thanks DRO. Ill keep my fingers crossed for the next update to have that feature :P

Maybe a little donation of tea and cookies might persway some one hmmmmmm
daverogers is offline   Reply With Quote
Old 4th January 2012, 17:48   #6
DrO
 
Join Date: Sep 2003
Posts: 27,873
it's not quite that simple, heh. and if anything the next update is likely to be related to resolving configuration loading issues than adding anything new.

-daz
DrO is offline   Reply With Quote
Old 4th January 2012, 17:52   #7
daverogers
Senior Member
 
Join Date: Jan 2011
Location: Bristol, uk
Posts: 104
Oh well I tried....
daverogers is offline   Reply With Quote
Old 4th January 2012, 18:08   #8
DrO
 
Join Date: Sep 2003
Posts: 27,873
i know but there are bigger things which need to be finished off / deployed before starting on other things like the Transcoder. obviously that's not great for you but YP & DNAS updates have a far larger benefit for more people.

-daz
DrO is offline   Reply With Quote
Old 4th January 2012, 21:28   #9
idobi
Senior Member
 
idobi's Avatar
 
Join Date: Feb 2003
Location: Washington DC
Posts: 119
Send a message via AIM to idobi
If you know that the playlist is always delayed 10-20 minutes, can't you force the playlist to reload @ 1 minute after the appointed time?

Ex: http://userassword@server.com:7999/loadplaylist

idobi Network - http://idobi.com/
idobi Radio - http://idobiradio.com/
idobi App now available for iOS, Android and Windows Phone (http://idobi.com/app/)
idobi is offline   Reply With Quote
Old 4th January 2012, 21:50   #10
daverogers
Senior Member
 
Join Date: Jan 2011
Location: Bristol, uk
Posts: 104
Quote:
Originally Posted by idobi View Post
If you know that the playlist is always delayed 10-20 minutes, can't you force the playlist to reload @ 1 minute after the appointed time?

Ex: http://userassword@server.com:7999/loadplaylist
Yes but over time it will go out again.
daverogers 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