![]() |
Understanding the Calendar
Trying to figure out how the calendar works and have been trouble shooting it a lot.
I'm under the impression that if you take a bunch of 30second jingles and then code like this, <event type="playlist"> <playlist loopatend="1" shuffle="inherit" priority="1"> jingles </playlist> <calendar repeat="255" timeoffset="00:15:00" duration="00:00:30" /> </event> then the only way that the jingle will play is if the song on the original playlist ends within the duration time. So a song would have to end within 00:15:00 - 00:15:30 otherwise the jingle will be skipped..? So if you have a bunch of longer tunes you're chances of every hearing a jingle is slim..? Can anyone confirm that? Thanks ~J :igor: |
Good calendar example.
Hey dudes. Here's a good example of a calendar playlist. Seems to hit a jingle ever 3-4 tunes considering the tunes are 6-10 minutes long. I have regular jingles and "special" jingles that may over lap. I also have a couple of scheduled days of other playlists that also have their own jingles. So as you can see I have jingles loading almost all the time but they are only 30 second (duration) jingles so the chances of a tune stopping during that 30 second period is pretty slim, so I made a lot of them to repeat more often. Hope it helps! ~J
<?xml version="1.0" encoding="UTF-8"?> <!--Calendar configuration file--> <!--Made with the SHOUTcast 2 Configuration Builder--> <eventlist> <event type="dj"> <dj archive="inherit">jvond</dj> <calendar /> </event> <event type="playlist"> <playlist loopatend="1" shuffle="inherit" priority="3"> jingles </playlist> <calendar repeat="255" starttime="00:04:00" duration="00:00:30" timeoffset="00:10:00" /> </event> <event type="playlist"> <playlist loopatend="1" shuffle="inherit" priority="4"> jingles_special </playlist> <calendar repeat="255" starttime="00:07:00" duration="00:00:30" timeoffset="00:10:00" /> </event> <event type="playlist"> <playlist loopatend="1" shuffle="inherit" priority="1"> electronicjamnight </playlist> <calendar repeat="129" starttime="00:00:00" duration="23:59:59" /> </event> <event type="playlist"> <playlist loopatend="1" shuffle="inherit" priority="2"> electronicjamnight_jingles </playlist> <calendar repeat="129" starttime="00:02:00" duration="00:00:30" timeoffset="00:10:00" /> </event> <event type="playlist"> <playlist loopatend="1" shuffle="inherit" priority="1"> doubledippedsunshine </playlist> <calendar repeat="168" starttime="00:00:00" duration="23:59:59" /> </event> <event type="playlist"> <playlist loopatend="1" shuffle="inherit" priority="2"> doubledippedsunshine_jingles </playlist> <calendar repeat="168" starttime="00:02:00" duration="00:00:30" timeoffset="00:10:00" /> </event> </eventlist> |
Quote:
when a playlist "Time Periodic Event" fires, it will add to the main playback queue, so, anything it adds will play after the current playing track, before what would've been the next playing track Quote:
and by funky, I mean not right ... at least, I wouldn't call it a Good example ... I'd call it "what works for you" EVERY playlist entry is a "Time Periodic Event" - that's funky |
Please notice the log here.
2012-08-08 12:58:00 I msg:[PLAYLISTMGR] Playlist load from file ******/jingles.lst 2012-08-08 12:58:00 I msg:[PLAYLISTMGR] Load complete 2012-08-08 12:58:31 I msg:[PLAYLISTMGR] Deactivating playlist=jingles id=4 You can see the jingles playlist gets deactivated when the duration is reached. That means that the only way a 30 second jingle will play is if the file on the main playlist reaches it's end with in that 30 seconds. This is the only way I can figure this out. The "Time Periodic Event" shouldn't seem funky. I want my playlists to keep loading every week. That means Double Dipped Sunshine jams all day long every Friday! Yey! =) If you have any ideas please post them but at this point, after trouble shooting Shoutcast 2.0 for weeks it seems, this is the only way I could figure out how to use it. Thanks! ~J |
| All times are GMT. The time now is 14:44. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.