Old 24th March 2013, 15:59   #1
djmentos
Junior Member
 
Join Date: Jul 2009
Posts: 15
Transcoder doesn't play jingles!

Hello!

I have a trouble with transcoder and its calendar.

My config:
Quote:
logfile=./logs/716.log
playlistfile=./playlists/main.lst
streamtitle=eDJs SquaD Mix
streamurl=http://www.radioedjsquad.pl
genre=eDJs SquaD Pilot
encoder_1=mp3
bitrate_1=128000
outprotocol_1=1
serverip_1=127.0.0.1
streamid_1=1
serverport_1=18478
password_1=edjradio
xfade=3
shuffle=1

playlistfilepath_1=../jingle.lst
playlistfilename_1=jingle

playlistdebug=1
calendardebug=1
calendarfile=../calendar.xml
calendarrewrite=0
And calendar.xml file:
Quote:
<?xml version="1.0" encoding="UTF-8" ?>
<eventlist>
<event type="playlist">
<playlist loopatend="0" shuffle="0" priority="2">jingle</playlist>
<calendar starttime="00:00:00" timeoffset="00:54:00" repeat="128"/>
</event>
</eventlist>
It has to play jingle every hour, when the minute will be :54. And it doesn't. What am i doing wrong?

In log:
Quote:
msg:[CALENDARMGR] Adding playlist event: m_playlist=jingle m_loopAtEnd=0 m_priority=2 m_shuffle=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:54,sec:0,isdst:0,wday:0,yday:0 m_hasStartDate=0 m_hasEndDate=0 m_hasDuration=0 m_hasTimeOffset=1 m_repeat=128
djmentos is offline   Reply With Quote
Old 24th March 2013, 20:39   #2
DrO
 
Join Date: Sep 2003
Posts: 27,873
it likely isn't playing the jingle because you've already got something playing when the jingle event becomes active - as it won't play the jingle immediately but instead waits for what is playing to complete before trying to play the jingle (unless another event overrides or the event has been deemed to have expired).

without you experimenting with things further, i cannot remember what's needed to get sc_trans to get close to what you're wanting (or even if it would be able to do it - which i don't think it will be able to - hence why it's been beta for years).
DrO is offline   Reply With Quote
Old 25th March 2013, 22:03   #3
djmentos
Junior Member
 
Join Date: Jul 2009
Posts: 15
I have only one event in calendar. With jingle playlist. Normaly sc_trans plays main playlist.

Documentation:
Quote:
events are queued up instead of being activated immediately so
if you have a 'jingle' playlist then this would not be played until the
currently playing file has completed playing and has not been pushed down
the queue by a higher priority playlist event.
My files arent longer than 5 minutes, for test i waited for end of them. Same result.
djmentos is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Technical Support

Tags
calendar, jingles, playlist

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