View Single Post
Old 4th October 2012, 17:31   #3
Chris-The-Tuner
Junior Member
 
Join Date: Jun 2012
Posts: 10
7 Playlists at 7 Day's

Hi.

After i fixed my last Issue, i habe another problem.

I want sc_trans to play 1 Playlist per day (for about 2 Hours)

My Calendar File:

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

<eventlist>

<event type="relay">
<relay url="http://87.98.176.56:8000" priority="2"/>
<calendar/>
</event>


<event type="playlist">
<calendar starttime="18:00:00" duration="02:00:00" repeat="1"/>
<playlist loopatend="1" shuffle="1" priority="4">sonntagmetal</playlist>
</event>

<event type="playlist">
<calendar starttime="18:00:00" duration="02:00:00" repeat="2"/>
<playlist loopatend="1" shuffle="1" priority="4">montagmetal</playlist>
</event>

<event type="playlist">
<calendar starttime="18:00:00" duration="02:00:00" repeat="4"/>
<playlist loopatend="1" shuffle="1" priority="4">dienstagmetal</playlist>
</event>

<event type="playlist">
<calendar starttime="18:00:00" duration="02:00:00" repeat="8"/>
<playlist loopatend="1" shuffle="1" priority="4">mittwochmetal</playlist>
</event>

<event type="playlist">
<calendar starttime="18:00:00" duration="02:00:00" repeat="16"/>
<playlist loopatend="1" shuffle="1" priority="4">donnerstagmetal</playlist>
</event>

<event type="playlist">
<calendar starttime="16:00:00" duration="02:00:00" repeat="32"/>
<playlist loopatend="1" shuffle="1" priority="4">freitagmetal</playlist>
</event>

<event type="playlist">
<calendar starttime="16:00:00" duration="02:00:00" repeat="64"/>
<playlist loopatend="1" shuffle="1" priority="4">sammstagmetal</playlist>
</event>

<event type="dj">
<dj archive="0" priority="10">radio</dj>
<calendar/>
</event>

</eventlist>



The Playlist Part of my sc_trans.conf

code:
; INPUT

playlistfile_1=/home/d42cradio/Transcoder/playlists/playlist.lst

playlistfile_2=/home/d42cradio/Transcoder/playlists/montagmetal.lst
playlistfile_3=/home/d42cradio/Transcoder/playlists/dienstagmetal.lst
playlistfile_4=/home/d42cradio/Transcoder/playlists/mittwochmetal.lst
playlistfile_5=/home/d42cradio/Transcoder/playlists/donnerstagmetal.lst
playlistfile_6=/home/d42cradio/Transcoder/playlists/freitagmetal.lst
playlistfile_7=/home/d42cradio/Transcoder/playlists/sammstagmetal.lst
playlistfile_8=/home/d42cradio/Transcoder/playlists/sonntagmetal.lst

; playlistfile_9=/home/d42cradio/Transcoder/playlists/kiz.lst

playlistfilename_1=playlist

playlistfilename_2=montagmetal
playlistfilename_3=dienstagmetal
playlistfilename_4=mittwochmetal
playlistfilename_5=donnerstagmetal
playlistfilename_6=freitagmetal
playlistfilename_7=sammstagmetal
playlistfilename_8=sonntagmetal

; playlistfilename_9=kiz

calendarfile=/home/d42cradio/Transcoder/calendar/calendar.xml

calendarrewrite=0




What I'm doing wrong ?

Every Plalist has Files up to 2 Hours.

And i have 7 Lists (1 for Monday, 1 for Tuesday etc...)

And the list "kiz" that i want to play 1 Hour @ each day

Here you see the sc_trans is adding the Playlists:

code:
2012-10-04 10:04:13 I msg:[CALENDARMGR] Adding relay event: m_url=http://87.98.176.56:8000 m_priority=2 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:0,sec:0,isdst:0,wday:0,yday:0 m_hasStartDate=0 m_hasEndDate=0 m_hasDuration=0 m_hasTimeOffset=0 m_repeat=0
2012-10-04 10:04:13 I msg:[CALENDARMGR] Adding playlist event: m_playlist=sonntagmetal m_loopAtEnd=1 m_priority=4 m_shuffle=1 m_id=2 m_startDate=year:0,mon:0,mday:0,hour:18,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=7200 m_timeOffset=year:0,mon:0,mday:0,hour:0,min:0,sec:0,isdst:0,wday:0,yday:0 m_hasStartDate=0 m_hasEndDate=0 m_hasDuration=1 m_hasTimeOffset=1 m_repeat=1
2012-10-04 10:04:13 I msg:[CALENDARMGR] Adding playlist event: m_playlist=montagmetal m_loopAtEnd=1 m_priority=4 m_shuffle=1 m_id=3 m_startDate=year:0,mon:0,mday:0,hour:18,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=7200 m_timeOffset=year:0,mon:0,mday:0,hour:0,min:0,sec:0,isdst:0,wday:0,yday:0 m_hasStartDate=0 m_hasEndDate=0 m_hasDuration=1 m_hasTimeOffset=1 m_repeat=2
2012-10-04 10:04:13 I msg:[CALENDARMGR] Adding playlist event: m_playlist=dienstagmetal m_loopAtEnd=1 m_priority=4 m_shuffle=1 m_id=4 m_startDate=year:0,mon:0,mday:0,hour:18,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=7200 m_timeOffset=year:0,mon:0,mday:0,hour:0,min:0,sec:0,isdst:0,wday:0,yday:0 m_hasStartDate=0 m_hasEndDate=0 m_hasDuration=1 m_hasTimeOffset=1 m_repeat=4
2012-10-04 10:04:13 I msg:[CALENDARMGR] Adding playlist event: m_playlist=mittwochmetal m_loopAtEnd=1 m_priority=4 m_shuffle=1 m_id=5 m_startDate=year:0,mon:0,mday:0,hour:18,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=7200 m_timeOffset=year:0,mon:0,mday:0,hour:0,min:0,sec:0,isdst:0,wday:0,yday:0 m_hasStartDate=0 m_hasEndDate=0 m_hasDuration=1 m_hasTimeOffset=1 m_repeat=8
2012-10-04 10:04:13 I msg:[CALENDARMGR] Adding playlist event: m_playlist=donnerstagmetal m_loopAtEnd=1 m_priority=4 m_shuffle=1 m_id=6 m_startDate=year:0,mon:0,mday:0,hour:18,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=7200 m_timeOffset=year:0,mon:0,mday:0,hour:0,min:0,sec:0,isdst:0,wday:0,yday:0 m_hasStartDate=0 m_hasEndDate=0 m_hasDuration=1 m_hasTimeOffset=1 m_repeat=16
2012-10-04 10:04:13 I msg:[CALENDARMGR] Adding playlist event: m_playlist=freitagmetal m_loopAtEnd=1 m_priority=4 m_shuffle=1 m_id=7 m_startDate=year:0,mon:0,mday:0,hour:16,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=7200 m_timeOffset=year:0,mon:0,mday:0,hour:0,min:0,sec:0,isdst:0,wday:0,yday:0 m_hasStartDate=0 m_hasEndDate=0 m_hasDuration=1 m_hasTimeOffset=1 m_repeat=32
2012-10-04 10:04:13 I msg:[CALENDARMGR] Adding playlist event: m_playlist=sammstagmetal m_loopAtEnd=1 m_priority=4 m_shuffle=1 m_id=8 m_startDate=year:0,mon:0,mday:0,hour:16,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=7200 m_timeOffset=year:0,mon:0,mday:0,hour:0,min:0,sec:0,isdst:0,wday:0,yday:0 m_hasStartDate=0 m_hasEndDate=0 m_hasDuration=1 m_hasTimeOffset=1 m_repeat=64
2012-10-04 10:04:13 I msg:[CALENDARMGR] Adding DJ event: m_djName=radio m_archive=0 m_id=9 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:0,sec:0,isdst:0,wday:0,yday:0 m_hasStartDate=0 m_hasEndDate=0 m_hasDuration=0 m_hasTimeOffset=0 m_repeat=0




Around 18:00:00 i became this:

code:
2012-10-04 18:00:00 E msg:[PLAYLISTMGR] Could not activate playlist `donnerstagmetal' because not registered (make sure to use the symbolic name for the playlist (playlistfilename_XX for the playlist)
2012-10-04 18:00:00 I msg:[CALENDARMGR] Removing event m_playlist=donnerstagmetal m_loopAtEnd=1 m_priority=4 m_shuffle=1 m_id=6 m_startDate=year:0,mon:0,mday:0,hour:18,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=7200 m_timeOffset=year:0,mon:0,mday:0,hour:0,min:0,sec:0,isdst:0,wday:0,yday:0 m_hasStartDate=0 m_hasEndDate=0 m_hasDuration=1 m_hasTimeOffset=1 m_repeat=16



What is wrong ?
Chris-The-Tuner is offline   Reply With Quote