sc_trans und die Calendar.xml

Status
Für weitere Antworten geschlossen.

kadde123

Benutzer
Guten Morgen,

ich sitze nun schon seit 2 Tagen drann sc_trans mit der Calendar.xml Datei ans
streamen zubekommen. Ich hab hier im Forum und auch im Internet haufenweise gelesen und bei Mir willes einfach nicht klappen.

Der sc_trans2 Beta 5 läuft schon eine ganze weile auf meinem Server. Doch in der Calendar.xml ist halt nur der Standart Moderator eingetragen. Soweit so gut!
Nun schreibe Ich aber grad an einem neuen Sendeplan der es möglich macht etwas in die Calendar.xml zuschreiben und es Somit gleichzeitig möglich macht aufgenommene Sendungen in ein Playlistfile zuschreiben und auch in die Calendar.xml einzutragen. Sozusagen ein Zeitgesteuerter Sc_trans2.

Meine Frage ist nun, wie bekomme ich es realisiert, dass eine Playlist den ganzen Tag läuft und sie dann, die von Mir mit dem Sendeplan eingetragenen Aufzeichnungen unterbrochen wird. (Schwerzuverstehen,oder? Ist noch so Früh)

Ich werde ja sicherlich meine StandartPlaylist mit in die Calendar.xml eintragen müssen, oder muss ich Sie einfach als Playlistfile in der Config mit angeben ?

Meine Config

Code:
;;Calendarfile
calendarfile=../calendar.xml
calendarrewrite=0

;;;Playlistcontrol

playlistfilename_0=standart
playlistfilepath_0=../listen/standart.lst
playlistfilename_1=playlist1
playlistfilepath_1=../listen/playlist1.lst

playlists=../playlists/
archive=../playlists/

shuffle=1
xfade=2		
xfadethreshold=20

und meine Calendar.xml
Code:
<?xml version="1.0" encoding="UTF-8" ?>
<eventlist>

<event type="playlist">
<playlist loopatend="0" shuffle="1" priority="1" >standart</playlist>
<calendar  starttime="00:00:00" startdate="2009/11/15" duration="24:00:00" repeat="127" />
</event>

<event type="playlist">
<playlist loopatend="0" shuffle="1" priority="2" >playlist1</playlist>
<calendar  starttime="11:30:00" startdate="2009/11/15" enddate="2009/11/14" duration="03:00:00"/>
</event>

</eventlist>

Doch wenn ich mit dieser Konfiguration sc_trans starte, bekomme ich folgenes Log ausgeworfen.


Log
Code:
2009-11-15 10:27:05     I       msg:<***>       Logger startup
2009-11-15 10:27:05     I       msg:<***>       version 0.2.0.0 build 0.0.25.0
2009-11-15 10:27:05     D       msg:<***>
2009-11-15 10:27:05     I       msg:[calendarMgr]  Adding playlist event  m_playlist=standart m_loopAtEnd=0 m_priority=1 m_shuffle=1  m_id=1 m_startDate=year:109,mon:10,mday:15,hour:0,min:0,sec:0,isdst:-1,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=86400 m_timeOffset=year:1432317541,mon:-136269379,mday:-136269379,hour:-136269379,min:-136269379,sec:-136269379,isdst:-165666792,wday:1414868563,yday:3681606 m_hasStartDate=1 m_hasEndDate=0 m_hasDuration=1 m_hasTimeOffset=0 m_repeat=127
2009-11-15 10:27:05     I       msg:[calendarMgr]  Adding playlist event  m_playlist=playlist1 m_loopAtEnd=0 m_priority=2 m_shuffle=1  m_id=2 m_startDate=year:109,mon:10,mday:15,hour:11,min:30,sec:0,isdst:-1,wday:0,yday:0 m_endDate=year:109,mon:10,mday:15,hour:0,min:0,sec:0,isdst:-1,wday:0,yday:0 m_duration=10800 m_timeOffset=year:-136269379,mon:1195463507,mday:-136269379,hour:-136269379,min:-136269379,sec:-136269379,isdst:-136269379,wday:-136269379,yday:-136269379 m_hasStartDate=1 m_hasEndDate=1 m_hasDuration=1 m_hasTimeOffset=0 m_repeat=0
2009-11-15 10:27:05     I       msg:[VUPush] 0 VU images loaded
2009-11-15 10:27:05     I       msg:[VUPush] 0 VU images loaded
2009-11-15 10:27:05     I       msg:[playlistMgr] playlist load from file
2009-11-15 10:27:05     E       msg:[playlistMgr] Could not activate playlist  because No playlist file found
2009-11-15 10:27:05     I       msg:*******************************************************************************
2009-11-15 10:27:05     I       msg:** TRANScast Distributed Network Audio Content Provider
2009-11-15 10:27:05     I       msg:** Copyright (C) 2000 Nullsoft, Inc.  All Rights Reserved.
2009-11-15 10:27:05     I       msg:** Use "sc_trans filename.conf" to specify a config file.
2009-11-15 10:27:05     I       msg:*******************************************************************************
2009-11-15 10:27:05     I       msg:[TRANSCast] DNAS/posix v 0.2.0.0 b 0.0.25.0  (Feb  3 2009) starting up...
2009-11-15 10:27:05     I       msg:[MAIN] PID: 27691
2009-11-15 10:27:05     I       msg:[MAIN] Loaded config from ../sc_trans_8010.conf
2009-11-15 10:27:05     I       msg:[MAIN] Streaming thread starting
2009-11-15 10:27:05     I       msg:[resampler] deactivated 44100/2 == 44100/2
2009-11-15 10:27:05     I       msg:[MAIN] Encoder thread 0 starting
2009-11-15 10:27:05     I       msg:[MAIN] broadcast thread 0 starting
2009-11-15 10:27:05     I       msg:[MAIN] Playlist decoder thread starting
2009-11-15 10:27:05     I       msg:[decode] giving replay gain calculator a head start
2009-11-15 10:27:05     I       msg:[STREAM] 2120214780 giving replay gain calculator a head start
2009-11-15 10:27:05     I       msg:[microServer] Listening for connection on port 9011
2009-11-15 10:27:05     I       msg:[MAIN] Broadcast Receiver thread starting
2009-11-15 10:27:05     I       msg:[rgCalc] thread running
2009-11-15 10:27:05     I       msg:[mp3enc] 956661155/44100/2/128000 Fraunhofer IIS MP3s Encoder V04.01.00 (build 2007-03-15)
2009-11-15 10:27:05     I       msg:Using internal encoder sample rate of 44100 Hz, bandwidth 15804 Hz, MDCT low pass active

2009-11-15 10:27:05     I       msg:[decode] begin decoding
2009-11-15 10:27:05     I       msg:[STREAM] 2120214780 running
2009-11-15 10:27:05     I       msg:[mp3enc] 956661155/44100/2/128000 mp3 setup complete
2009-11-15 10:27:05     I       msg:[STREAM] 2120214780 Creating stream socket
2009-11-15 10:27:05     I       msg:[STREAM] 2120214780 Resolving stream host
2009-11-15 10:27:05     E       msg:[decode] Playlist has run dry
2009-11-15 10:27:05     I       msg:[decode] Exiting decoder thread
2009-11-15 10:27:05     I       msg:[STREAM] 2120214780 Connected to host server
2009-11-15 10:27:05     I       msg:[mp3enc] 956661155/44100/2/128000 Exiting encoder thread
2009-11-15 10:27:06     I       msg:[rgCalc] thread exiting
2009-11-15 10:27:13     I       msg:[playlistMgr] playlist load from file ../listen/standart.lst
2009-11-15 10:27:13     I       msg:[playlistMgr] load complete
2009-11-15 10:27:13     I       msg:[MAIN] Exiting loop
2009-11-15 10:27:13     I       msg:[resampler] tIn=0 tOut=0 bIn=0 bOut=0
2009-11-15 10:27:13     I       msg:[crossfader] in=0 out=0
2009-11-15 10:27:13     I       msg:<***>       Logger shutdown

Das sagt mir Er findet die Playlist aber warum Startet er sie nicht ?

Ich danke euch im Vorraus schon mal für Eure Hilfe !

Lieben Gruß

Karsten
 
AW: sc_trans und die Calendar.xml

Danke für deine Antwort Caraoge.

Habe grad mal die Pfade geändert. Gleiches ergebnis !

Code:
2009-11-15 12:46:11     I       msg:<***>       Logger startup
2009-11-15 12:46:11     I       msg:<***>       version 0.2.0.0 build 0.0.25.0
2009-11-15 12:46:11     D       msg:<***>
2009-11-15 12:46:11     I       msg:[calendarMgr]  Adding playlist event  m_playlist=standart m_loopAtEnd=0 m_priority=1 m_shuffle=1  m_id=1 m_startDate=year:109,mon:10,mday:15,hour:0,min:0,sec:0,isdst:-1,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=86400 m_timeOffset=year:1432317541,mon:-135683651,mday:-135683651,hour:-135683651,min:-135683651,sec:-135683651,isdst:136,wday:1414868563,yday:3681606 m_hasStartDate=1 m_hasEndDate=0 m_hasDuration=1 m_hasTimeOffset=0 m_repeat=127
2009-11-15 12:46:11     I       msg:[calendarMgr]  Adding playlist event  m_playlist=playlist1 m_loopAtEnd=0 m_priority=2 m_shuffle=1  m_id=2 m_startDate=year:109,mon:10,mday:15,hour:11,min:30,sec:0,isdst:-1,wday:0,yday:0 m_endDate=year:109,mon:10,mday:15,hour:0,min:0,sec:0,isdst:-1,wday:0,yday:0 m_duration=10800 m_timeOffset=year:69,mon:68,mday:67,hour:66,min:65,sec:64,isdst:72,wday:70,yday:71 m_hasStartDate=1 m_hasEndDate=1 m_hasDuration=1 m_hasTimeOffset=0 m_repeat=0
2009-11-15 12:46:11     I       msg:[VUPush] 0 VU images loaded
2009-11-15 12:46:11     I       msg:[VUPush] 0 VU images loaded
2009-11-15 12:46:11     I       msg:[playlistMgr] playlist load from file
2009-11-15 12:46:11     E       msg:[playlistMgr] Could not activate playlist  because No playlist file found
2009-11-15 12:46:11     I       msg:*******************************************************************************
2009-11-15 12:46:11     I       msg:** TRANScast Distributed Network Audio Content Provider
2009-11-15 12:46:11     I       msg:** Copyright (C) 2000 Nullsoft, Inc.  All Rights Reserved.
2009-11-15 12:46:11     I       msg:** Use "sc_trans filename.conf" to specify a config file.
2009-11-15 12:46:11     I       msg:*******************************************************************************
2009-11-15 12:46:11     I       msg:[TRANSCast] DNAS/posix v 0.2.0.0 b 0.0.25.0  (Feb  3 2009) starting up...
2009-11-15 12:46:11     I       msg:[MAIN] PID: 31625
2009-11-15 12:46:11     I       msg:[MAIN] Loaded config from /srv/www/vhosts/-.----.---/subdomains/stream2/httpdocs/sc_trans_8010.conf
2009-11-15 12:46:11     I       msg:[MAIN] Streaming thread starting
2009-11-15 12:46:11     I       msg:[resampler] deactivated 44100/2 == 44100/2
2009-11-15 12:46:11     I       msg:[MAIN] Encoder thread 0 starting
2009-11-15 12:46:11     I       msg:[mp3enc] 1020744548/44100/2/128000 Fraunhofer IIS MP3s Encoder V04.01.00 (build 2007-03-15)
2009-11-15 12:46:11     I       msg:Using internal encoder sample rate of 44100 Hz, bandwidth 15804 Hz, MDCT low pass active

2009-11-15 12:46:11     I       msg:[mp3enc] 1020744548/44100/2/128000 mp3 setup complete
2009-11-15 12:46:11     I       msg:[MAIN] broadcast thread 0 starting
2009-11-15 12:46:11     I       msg:[MAIN] Playlist decoder thread starting
2009-11-15 12:46:11     I       msg:[microServer] Listening for connection on port 9011
2009-11-15 12:46:11     I       msg:[MAIN] Broadcast Receiver thread starting
2009-11-15 12:46:11     I       msg:[STREAM] 18948671 giving replay gain calculator a head start
2009-11-15 12:46:11     I       msg:[rgCalc] thread running
2009-11-15 12:46:11     I       msg:[decode] giving replay gain calculator a head start
2009-11-15 12:46:11     I       msg:[decode] begin decoding
2009-11-15 12:46:11     E       msg:[decode] Playlist has run dry
2009-11-15 12:46:11     I       msg:[decode] Exiting decoder thread
2009-11-15 12:46:11     I       msg:[STREAM] 18948671 running
2009-11-15 12:46:11     I       msg:[MAIN] Exiting loop
2009-11-15 12:46:11     I       msg:[mp3enc] 1020744548/44100/2/128000 Exiting encoder thread
2009-11-15 12:46:12     I       msg:[rgCalc] thread exiting
2009-11-15 12:46:16     I       msg:[resampler] tIn=0 tOut=0 bIn=0 bOut=0
2009-11-15 12:46:16     I       msg:[crossfader] in=0 out=0
2009-11-15 12:46:16     I       msg:<***>       Logger shutdown

Vielleicht hat noch jemand eine Idee ?

Lieben Gruß

Karsten
 
AW: sc_trans und die Calendar.xml

Ja, ich habe die pfade auch direkt mit abgeändert!

An Berechtigungen kann es auch nicht leigen, da ich meine tests als Root ausführe.

Merkwürdig..

Lieben Gruß
Karsten
 
AW: sc_trans und die Calendar.xml

Hier zuhaus auf meinem Privaten Server ist das nicht weiter schlimm.

Irgendwo im net wohl eher!

Lieben Gruß

Karsten
 
AW: sc_trans und die Calendar.xml

Jetzt da es schon ne weile her ist und alles etwas veraltet ist.....

Ich hab din Porob gelöst!
Und zwar,
du musst eine standartplaylist auswählen die immer leuft....
ungefär so:

;;;; PLAYLIST CONTROL
; your playlist
playlistfilename_0=Night
playlistfilepath_0=./playlist/Night.lst
playlistfilename_1=Morning
playlistfilepath_1=./playlist/archive/Morning.lst
playlists=./playlist/
archive=./playlist/archive/

( die 2 playlist dürfen nicht im Standartvereichniss liegen)
d.h
z.b Standartplaylist = Night.list >liegt in ./playlist
und Secundärplaylist = Morning.lst >liegt in ./playlist/archive/(oder wo anders)

ich hoffe es klappt bei dia ;) bei mia funkts zumindest
 
Status
Für weitere Antworten geschlossen.
Zurück
Oben