Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   Shoutcast Technical Support (http://forums.winamp.com/forumdisplay.php?f=86)
-   -   Transcoder doesn't play jingles! (http://forums.winamp.com/showthread.php?t=357986)

djmentos 24th March 2013 15:59

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

DrO 24th March 2013 20:39

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).

djmentos 25th March 2013 22:03

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.


All times are GMT. The time now is 15:22.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.