Folge dem Video um zu sehen, wie unsere Website als Web-App auf dem Startbildschirm installiert werden kann.
Anmerkung: Diese Funktion ist in einigen Browsern möglicherweise nicht verfügbar.
2011-05-28 09:00:00 D msg:[playlistMgr] Activating playlist jingles id=11 loop=0 prior=1 shuffle=0 dur=300 curt=1306566000
2011-05-28 09:00:00 I msg:[playlistMgr] playlist load from file /home/stream/jukebox/playlists/random_jingle.lst
2011-05-28 09:00:00 D msg:[playlistMgr] root path is /home/stream/jukebox/playlists/
2011-05-28 09:00:00 D msg:[playlistMgr] Remote application entry
2011-05-28 09:00:00 D msg:[playlistMgr] #!/usr/bin/php /home/stream/random.php
2011-05-28 09:00:00 I msg:[playlistMgr] load complete
2011-05-28 09:00:00 D msg:[playlistMgr] Playlist queue:
name:jingles priority:1 loop:0 shuffle:0 id:11 stop:1306566300
name:standard_aktive priority:0 loop:1 shuffle:1 id:-1 stop:0
2011-05-28 09:01:31 I msg:[mp3 decode] 569784369 eof
2011-05-28 09:01:31 D msg:[playlistMgr] Attempting to run [/usr/bin/php /home/stream/random.php 3]
2011-05-28 09:01:31 D msg:[playlistMgr] Return string is /home/stream/jukebox/music/jingles/Radio-****-Jingle3.mp3
2011-05-28 09:01:31 I msg:[decode] next file is /home/stream/jukebox/music/jingles/Radio-****-Jingle3.mp3
2011-05-28 09:01:31 I msg:[ID3V2] version 3.0 tagsize=2278 unsync=0 xheader=0
2011-05-28 09:01:31 I msg:[decode] Radio-****-Jingle.mp3::240659::15.0412
2011-05-28 09:01:31 I msg:[ID3V2] version 3.0 tagsize=2278 unsync=0 xheader=0
2011-05-28 09:01:42 I msg:[shoutcastmetadata] metadata string [Radio *** - Jingle]
2011-05-28 09:01:42 I msg:[shoutcastmetadata] Sending metadata
2011-05-28 09:01:46 I msg:[mp3 decode] 1900472125 eof
2011-05-28 09:01:46 I msg:[playlistMgr] deactivating playlist jingles id=11
2011-05-28 09:01:46 I msg:[decode] next file is /home/stream/jukebox/music/standard_aktive/The_Righteous_Brothers_-_You've_Lost_That_Lovin_Feeling.mp3
und ggf. den Pfad zu php in der jingles.lst anpassenGib mal auf der shell ein
Code:which php
2011-09-29 16:52:15 I msg:<***> Logger startup
2011-09-29 16:52:15 I msg:<***> version 2.0.0.51
2011-09-29 16:52:15 D msg:<***>
2011-09-29 16:52:15 W msg:[CONFIG] Invalid item on line 84
2011-09-29 16:52:15 I msg:***************************************************************
2011-09-29 16:52:15 I msg:** TRANScast Distributed Network Audio Content Provider
2011-09-29 16:52:15 I msg:** Copyright (C) 2000-2011 Nullsoft, Inc. All Rights Reserved.
2011-09-29 16:52:15 I msg:** Use "sc_trans filename.conf" to specify a config file.
2011-09-29 16:52:15 I msg:***************************************************************
2011-09-29 16:52:15 I msg:[TRANSCast] DNAS/posix(linux x86) v2.0.0.51 (Jul 29 2011) starting up...
2011-09-29 16:52:15 I msg:[MAIN] PID: 5233
2011-09-29 16:52:15 I msg:[MAIN] Loaded config from trans.conf
2011-09-29 16:52:15 I msg:[MAIN] TimeMultiplier = 1, TimeShift = 0
2011-09-29 16:52:15 I msg:[CALENDARMGR] Adding DJ event: m_djName=Moderator m_archive=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:0,sec:0,isdst:0,wday:0,yday:0 m_hasStartDate=0 m_hasEndDate=0 m_hasDuration=0 m_hasTimeOffset=0 m_repeat=0
2011-09-29 16:52:15 I msg:[CALENDARMGR] Adding playlist event: m_playlist=jingles m_loopAtEnd=1 m_priority=2 m_shuffle=0 m_id=2 m_startDate=year:0,mon:0,mday:0,hour:1,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=300 m_timeOffset=year:0,mon:0,mday:0,hour:0,min:28,sec:0,isdst:0,wday:0,yday:0 m_hasStartDate=0 m_hasEndDate=0 m_hasDuration=1 m_hasTimeOffset=1 m_repeat=128
2011-09-29 16:52:15 I msg:[CALENDARMGR] Adding playlist event: m_playlist=jingles m_loopAtEnd=1 m_priority=2 m_shuffle=0 m_id=3 m_startDate=year:0,mon:0,mday:0,hour:1,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=300 m_timeOffset=year:0,mon:0,mday:0,hour:0,min:35,sec:0,isdst:0,wday:0,yday:0 m_hasStartDate=0 m_hasEndDate=0 m_hasDuration=1 m_hasTimeOffset=1 m_repeat=128
2011-09-29 16:52:15 I msg:[CALENDARMGR] Adding playlist event: m_playlist=playlist1 m_loopAtEnd=1 m_priority=3 m_shuffle=2 m_id=4 m_startDate=year:0,mon:0,mday:0,hour:1,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:30,sec:0,isdst:0,wday:0,yday:0 m_hasStartDate=0 m_hasEndDate=0 m_hasDuration=0 m_hasTimeOffset=1 m_repeat=2
2011-09-29 16:52:15 I msg:[CALENDARMGR] Adding playlist event: m_playlist=playlist2 m_loopAtEnd=1 m_priority=3 m_shuffle=2 m_id=5 m_startDate=year:0,mon:0,mday:0,hour:1,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:30,sec:0,isdst:0,wday:0,yday:0 m_hasStartDate=0 m_hasEndDate=0 m_hasDuration=0 m_hasTimeOffset=1 m_repeat=4
2011-09-29 16:52:15 I msg:[CALENDARMGR] Adding playlist event: m_playlist=playlist3 m_loopAtEnd=1 m_priority=3 m_shuffle=2 m_id=6 m_startDate=year:0,mon:0,mday:0,hour:1,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:30,sec:0,isdst:0,wday:0,yday:0 m_hasStartDate=0 m_hasEndDate=0 m_hasDuration=0 m_hasTimeOffset=1 m_repeat=8
2011-09-29 16:52:15 I msg:[CALENDARMGR] Adding playlist event: m_playlist=playlist4 m_loopAtEnd=1 m_priority=3 m_shuffle=2 m_id=7 m_startDate=year:0,mon:0,mday:0,hour:1,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:30,sec:0,isdst:0,wday:0,yday:0 m_hasStartDate=0 m_hasEndDate=0 m_hasDuration=0 m_hasTimeOffset=1 m_repeat=16
2011-09-29 16:52:15 I msg:[CALENDARMGR] Adding playlist event: m_playlist=playlist5 m_loopAtEnd=1 m_priority=3 m_shuffle=2 m_id=8 m_startDate=year:0,mon:0,mday:0,hour:1,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:30,sec:0,isdst:0,wday:0,yday:0 m_hasStartDate=0 m_hasEndDate=0 m_hasDuration=0 m_hasTimeOffset=1 m_repeat=32
2011-09-29 16:52:15 I msg:[CALENDARMGR] Adding playlist event: m_playlist=playlist6 m_loopAtEnd=1 m_priority=3 m_shuffle=2 m_id=9 m_startDate=year:0,mon:0,mday:0,hour:1,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:30,sec:0,isdst:0,wday:0,yday:0 m_hasStartDate=0 m_hasEndDate=0 m_hasDuration=0 m_hasTimeOffset=1 m_repeat=64
2011-09-29 16:52:15 I msg:[CALENDARMGR] Adding playlist event: m_playlist=playlist7 m_loopAtEnd=1 m_priority=3 m_shuffle=2 m_id=10 m_startDate=year:0,mon:0,mday:0,hour:1,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:30,sec:0,isdst:0,wday:0,yday:0 m_hasStartDate=0 m_hasEndDate=0 m_hasDuration=0 m_hasTimeOffset=1 m_repeat=1
2011-09-29 16:52:15 I msg:[VUPUSH] 101 VU images loaded for left channel
2011-09-29 16:52:15 I msg:[VUPUSH] 101 VU images loaded for right channel
2011-09-29 16:52:15 D msg:[PLAYLISTMGR] Registering playlist playlist1:./playlists/playlist1.lst : 0
2011-09-29 16:52:15 D msg:[PLAYLISTMGR] Playlist registry: name:playlist1 path:./playlists/playlist1.lst
2011-09-29 16:52:15 D msg:[PLAYLISTMGR] Activating playlist=playlist1 id=-1 loop=1 prior=0 shuffle=1 dur=0 curt=0
2011-09-29 16:52:15 I msg:[PLAYLISTMGR] Playlist load from file ./playlists/playlist1.lst
2011-09-29 16:52:15 D msg:[PLAYLISTMGR] Root path is ./playlists/
2011-09-29 16:52:15 I msg:[PLAYLISTMGR] Caching playlist ./playlists/playlist1.lst
2011-09-29 16:52:15 I msg:[PLAYLISTMGR] Load complete
2011-09-29 16:52:15 D msg:[PLAYLISTMGR] Playlist queue: name:playlist1 priority:0 loop:1 shuffle:1 id:-1 stop:0
2011-09-29 16:52:15 I msg:[MAIN] Streaming thread starting
2011-09-29 16:52:15 I msg:[RESAMPLER] Deactivated 44100/2 == 44100/2
2011-09-29 16:52:15 I msg:[SOURCEANDENDPOINTMANAGER] Encoder thread 1 starting
2011-09-29 16:52:15 I msg:[SOURCEANDENDPOINTMANAGER] Broadcast thread 1 starting
2011-09-29 16:52:15 I msg:[MAIN] Playlist decoder thread starting
2011-09-29 16:52:15 I msg:[MICROSERVER] Listening for connection on port 9202
2011-09-29 16:52:15 I msg:[MAIN] SHOUTcast 2 receiver thread starting
2011-09-29 16:52:15 I msg:[MICROSERVER] Listening for connection on port 9201
2011-09-29 16:52:15 I msg:[MAIN] Broadcast Receiver thread starting
2011-09-29 16:52:15 I msg:[SOURCERELAY] Thread starting
2011-09-29 16:52:15 I msg:[STREAM] 262190834 Giving replay gain calculator a head start
2011-09-29 16:52:15 I msg:[DECODE] Giving replay gain calculator a head start
2011-09-29 16:52:15 I msg:[RGCALC] Thread running
2011-09-29 16:52:15 I msg:[STREAM] 262190834 Running
2011-09-29 16:52:15 I msg:[STREAM] 262190834 Creating stream socket
2011-09-29 16:52:15 I msg:[STREAM] 262190834 Resolving stream host
2011-09-29 16:52:15 I msg:[DECODE] Begin decoding
2011-09-29 16:52:15 D msg:[PLAYLISTMGR] Playlist Directory (./home/tool/sc/sc_trans/playlists/) does not exist
2011-09-29 17:13:00 D msg:[PLAYLISTMGR] Activating playlist=jingles id=3 loop=1 prior=2 shuffle=0 dur=300 curt=1317309180
2011-09-29 17:13:00 I msg:[PLAYLISTMGR] Playlist load from file /home/tool/sc/sc_trans/playlists/jingles.lst
2011-09-29 17:13:00 D msg:[PLAYLISTMGR] Root path is /home/tool/sc/sc_trans/playlists/
2011-09-29 17:13:00 D msg:[PLAYLISTMGR] Remote application entry
2011-09-29 17:13:00 D msg:[PLAYLISTMGR] #!/usr/bin/php /home/tool/sc/sc_trans/random.php
2011-09-29 17:13:00 I msg:[PLAYLISTMGR] Load complete
/usr/bin/php /home/tool/sc/sc_trans/random.php
which php
/usr/bin/php
PHP Warning: Module 'mysql' already loaded in Unknown on line 0
/home/tool/sc/sc_trans/music/jingles/radio.mp3
2011-09-29 19:34:55 D msg:[PLAYLISTMGR] Priority playlist found - /home/tool/sc/sc_trans/playlists/playlist3.lst
2011-09-29 19:34:55 D msg:[PLAYLISTMGR] Installing priority playlist priority/archived/playlist3.lst
2011-09-29 19:34:55 D msg:[PLAYLISTMGR] Registering playlist playlist3_46369897:priority/archived/playlist3.lst : 0
2011-09-29 19:34:55 D msg:[PLAYLISTMGR] Playlist registry: name:jingles path:/home/tool/sc/sc_trans/playlists/jingles.lst
name:playlist1 path:./playlists/playlist1.lst
name:playlist2 path:/home/tool/sc/sc_trans/playlists/playlist2.lst
name:playlist3 path:/home/tool/sc/sc_trans/playlists/playlist3.lst
name:playlist3_1848519069 path:priority/archived/playlist3.lst
name:playlist3_46369897 path:priority/archived/playlist3.lst
name:playlist4 path:/home/tool/sc/sc_trans/playlists/playlist4.lst
name:playlist5 path:/home/tool/sc/sc_trans/playlists/playlist5.lst
name:playlist6 path:/home/tool/sc/sc_trans/playlists/playlist6.lst
name:playlist7 path:/home/tool/sc/sc_trans/playlists/playlist7.lst
2011-09-29 19:34:55 D msg:[PLAYLISTMGR] Activating playlist=playlist3_46369897 id=-2 loop=0 prior=101 shuffle=0 dur=0 curt=0
2011-09-29 19:34:55 I msg:[PLAYLISTMGR] Playlist load from file priority/archived/playlist3.lst
2011-09-29 19:34:55 D msg:[PLAYLISTMGR] Root path is priority/archived/
2011-09-29 19:34:55 E msg:[PLAYLISTMGR] Could not activate playlist `playlist3_46369897' because no playlist file found priority/archived/playlist3.lst
2011-09-29 19:34:55 D msg:[PLAYLISTMGR] Playlist queue: name:playlist4 priority:3 loop:1 shuffle:1 id:7 stop:0
name:jingles priority:2 loop:1 shuffle:0 id:3 stop:1317317880
name:playlist1 priority:0 loop:1 shuffle:1 id:-1 stop:0
Somal da eigentlich rein garnichts über mysql läuft, zumindest, wenn du die random.php aus dem Beitrag von mir verwendet hast.PHP Warning: Module 'mysql' already loaded in Unknown on line 0
<?php
// hier den Pfad zu deinem Verzeichnis mit den Jingles angeben
$path = '/home/tool/sc/sc_trans/music/jingles/';
// ab hier nichts mehr ändern!!!!!
// =======================
$dir = @opendir($path);
$filelist = array();
while(($file = readdir($dir)) !== false)
{
$cur_file = $path . $file;
if (is_file($cur_file))
{
array_push($filelist, $cur_file);
}
}
$rnd = array_rand($filelist, 1);
echo $filelist[$rnd];
?>
archive=/path/to/archive/
playlists=/path/to/archive/export/
replaygaintmpdir=/path/to/tmp/
playlistdebug=1
2011-09-29 21:00:00 D msg:[CALENDARMGR] id=1 is active. running deactivation check
2011-09-29 21:00:00 D msg:[CALENDARMGR] id=2 is not active. running activation check.
2011-09-29 21:00:00 D msg:[CALENDARMGR] id=2 start date range is ok
2011-09-29 21:00:00 D msg:[CALENDARMGR] id=2 end date range is ok
2011-09-29 21:00:00 D msg:[CALENDARMGR] id=2 is a time periodic event
2011-09-29 21:00:00 D msg:[CALENDARMGR] id=2 time periodic event day of week matches
2011-09-29 21:00:00 D msg:[CALENDARMGR] id=2 time periodic event activating.
2011-09-29 21:00:00 D msg:[PLAYLISTMGR] Activating playlist=jingles id=2 loop=1 prior=2 shuffle=0 dur=300 curt=1317322800
2011-09-29 21:00:00 I msg:[PLAYLISTMGR] Playlist load from file /home/tool/sc/sc_trans/playlists/jingles.lst
2011-09-29 21:00:00 D msg:[PLAYLISTMGR] Root path is /home/tool/sc/sc_trans/playlists/
2011-09-29 21:00:00 D msg:[PLAYLISTMGR] Remote application entry
2011-09-29 21:00:00 D msg:[PLAYLISTMGR] #!/usr/bin/php /home/tool/sc/sc_trans/random.php
2011-09-29 21:00:00 I msg:[PLAYLISTMGR] Load complete
2011-09-29 21:00:00 D msg:[PLAYLISTMGR] Playlist queue: name:playlist3_1503801169 priority:101 loop:0 shuffle:0 id:-2 stop:0
name:playlist4 priority:3 loop:1 shuffle:1 id:7 stop:0
name:jingles priority:2 loop:1 shuffle:0 id:2 stop:1317323100
name:playlist1 priority:0 loop:1 shuffle:1 id:-1 stop:0
2011-09-29 21:00:00 D msg:[CALENDARMGR] id=3 is not active. running activation check.
2011-09-29 21:00:00 D msg:[CALENDARMGR] id=3 start date range is ok
2011-09-29 21:00:00 D msg:[CALENDARMGR] id=3 end date range is ok
2011-09-29 21:00:00 D msg:[CALENDARMGR] id=3 is a time periodic event
2011-09-29 21:00:00 D msg:[CALENDARMGR] id=3 time periodic event day of week matches
2011-09-29 21:00:00 D msg:[CALENDARMGR] id=3 is not active. Checking for removal
2011-09-29 21:00:00 D msg:[CALENDARMGR] id=4 is not active. running activation check.
2011-09-29 21:00:00 D msg:[CALENDARMGR] id=4 start date range is ok
2011-09-29 21:00:00 D msg:[CALENDARMGR] id=4 end date range is ok
2011-09-29 21:00:00 D msg:[CALENDARMGR] id=4 is a repeating event
2011-09-29 21:00:00 D msg:[CALENDARMGR] id=4 is not active. Checking for removal
2011-09-29 21:00:00 D msg:[CALENDARMGR] id=5 is not active. running activation check.
2011-09-29 21:00:00 D msg:[CALENDARMGR] id=5 start date range is ok
2011-09-29 21:00:00 D msg:[CALENDARMGR] id=5 end date range is ok
2011-09-29 21:00:00 D msg:[CALENDARMGR] id=5 is a repeating event
2011-09-29 21:00:00 D msg:[CALENDARMGR] id=5 is not active. Checking for removal
2011-09-29 21:00:00 D msg:[CALENDARMGR] id=6 is not active. running activation check.
2011-09-29 21:00:00 D msg:[CALENDARMGR] id=6 start date range is ok
2011-09-29 21:00:00 D msg:[CALENDARMGR] id=6 end date range is ok
2011-09-29 21:00:00 D msg:[CALENDARMGR] id=6 is a repeating event
2011-09-29 21:00:00 D msg:[CALENDARMGR] id=6 is not active. Checking for removal
2011-09-29 21:00:00 D msg:[CALENDARMGR] id=7 is active. running deactivation check
2011-09-29 21:00:00 D msg:[CALENDARMGR] id=8 is not active. running activation check.
2011-09-29 21:00:00 D msg:[CALENDARMGR] id=8 start date range is ok
2011-09-29 21:00:00 D msg:[CALENDARMGR] id=8 end date range is ok
2011-09-29 21:00:00 D msg:[CALENDARMGR] id=8 is a repeating event
2011-09-29 21:00:00 D msg:[CALENDARMGR] id=8 is not active. Checking for removal
2011-09-29 21:00:00 D msg:[CALENDARMGR] id=9 is not active. running activation check.
2011-09-29 21:00:00 D msg:[CALENDARMGR] id=9 start date range is ok
2011-09-29 21:00:00 D msg:[CALENDARMGR] id=9 end date range is ok
2011-09-29 21:00:00 D msg:[CALENDARMGR] id=9 is a repeating event
2011-09-29 21:00:00 D msg:[CALENDARMGR] id=9 is not active. Checking for removal
2011-09-29 21:00:00 D msg:[CALENDARMGR] id=10 is not active. running activation check.
2011-09-29 21:00:00 D msg:[CALENDARMGR] id=10 start date range is ok
2011-09-29 21:00:00 D msg:[CALENDARMGR] id=10 end date range is ok
2011-09-29 21:00:00 D msg:[CALENDARMGR] id=10 is a repeating event
2011-09-29 21:00:00 D msg:[CALENDARMGR] id=10 is not active. Checking for removal
Deactivating playlist=jingles id=2
Deactivating playlist=jingles id=3
<event type="playlist">
<playlist loopatend="0" shuffle="0" priority="1" >jingles</playlist>
<calendar starttime="01:00:00" duration="00:05:00" timeoffset="00:00:00" repeat="128" />
</event>
<event type="playlist">
<playlist loopatend="0" shuffle="0" priority="1" >jingles</playlist>
<calendar starttime="01:00:00" duration="00:05:00" timeoffset="00:30:00" repeat="128" />
</event>
2011-09-30 06:50:42 I msg:[SHOUTCASTMETADATA] Sending metadata
2011-09-30 06:54:27 I msg:[PLAYLISTMGR] Playlist load from file /archive/playlist3.lst
2011-09-30 06:54:27 E msg:[PLAYLISTMGR] Could not activate playlist `playlist3_1173491201' because no playlist file found /archive/playlist3.lst
2011-09-30 10:36:11 D msg:[PLAYLISTMGR] Playlist queue: name:playlist5 priority:1 loop:1 shuffle:1 id:8 stop:0
name:playlist1 priority:0 loop:1 shuffle:1 id:-1 stop:0
2011-09-30 10:39:12 D msg:[PLAYLISTMGR] Priority playlist found - ./playlists/playlist3.lst
2011-09-30 10:39:12 D msg:[PLAYLISTMGR] Installing priority playlist priority/archived/playlist3.lst
2011-09-30 10:39:12 D msg:[PLAYLISTMGR] Registering playlist playlist3_1599445649:priority/archived/playlist3.lst : 0
2011-09-30 10:39:12 D msg:[PLAYLISTMGR] Playlist registry: name:jingles path:./playlists/jingles.lst
name:playlist1 path:./playlists/playlist1.lst
name:playlist2 path:./playlists/playlist2.lst
name:playlist3 path:./playlists/playlist3.lst
name:playlist3_1599445649 path:priority/archived/playlist3.lst
name:playlist3_2104888892 path:priority/archived/playlist3.lst
name:playlist4 path:./playlists/playlist4.lst
name:playlist5 path:./playlists/playlist5.lst
name:playlist6 path:./playlists/playlist6.lst
name:playlist7 path:./playlists/playlist7.lst
2011-09-30 10:39:12 D msg:[PLAYLISTMGR] Activating playlist=playlist3_1599445649 id=-2 loop=0 prior=101 shuffle=0 dur=0 curt=0
2011-09-30 10:39:12 I msg:[PLAYLISTMGR] Playlist load from file priority/archived/playlist3.lst
2011-09-30 10:39:12 D msg:[PLAYLISTMGR] Root path is priority/archived/
2011-09-30 10:39:12 E msg:[PLAYLISTMGR] Could not activate playlist `playlist3_1599445649' because no playlist file found priority/archived/playlist3.lst
2011-09-30 10:39:12 D msg:[PLAYLISTMGR] Playlist queue: name:playlist5 priority:1 loop:1 shuffle:1 id:8 stop:0
name:playlist1 priority:0 loop:1 shuffle:1 id:-1 stop:0
Hier versucht sc_trans die Playlist 3 in ./priority/archived/ abzulegen2011-09-30 10:39:12 D msg:[PLAYLISTMGR] Installing priority playlist priority/archived/playlist3.lst
2011-09-30 10:39:12 D msg:[PLAYLISTMGR] Registering playlist playlist3_1599445649riority/archived/playlist3.lst : 0
Und hier die Playlist aus dem Verzeichnis zu laden. Die Playlist wird jedoch nicht gefunden. Also entweder ist das Verzeichnis nicht existent oder sc_trans hat kein schreibrecht für das Verzeichnis. Liegt wohl daran, das dies eine Playlist mit erhöhter Priorität ist. Da er die Playlist nicht findet, sie so auch nicht aktivieren kann, wird er diese wohl auch nicht spielen.2011-09-30 06:54:27 I msg:[PLAYLISTMGR] Playlist load from file /archive/playlist3.lst
2011-09-30 06:54:27 E msg:[PLAYLISTMGR] Could not activate playlist `playlist3_1173491201' because no playlist file found /archive/playlist3.lst
Empfehlenswert ist es alle Pfade in der Konfig als absolute Pfandangabe anzugebenSchau mal das folgende Parameter gültige Pfadangaben enthalten:
Code:archive=/path/to/archive/ playlists=/path/to/archive/export/ replaygaintmpdir=/path/to/tmp/
2011-09-30 06:54:27 I msg:[PLAYLISTMGR] Playlist load from file /archive/playlist3.lst
2011-09-30 06:54:27 E msg:[PLAYLISTMGR] Could not activate playlist `playlist3_1173491201' because no playlist file found /archive/playlist3.lst
archive=/home/tool/sc/sc_trans/archive/
replaygaintmpdir=/home/tool/sc/sc_trans/tmp/
Ja, der spielt mir alle 30 minuten einen Jingle auch wenn alles auf Prio. 1 ist.Wenn du die playlists und die jingle liste auf selber priorität hast, werden die jingles dann trotzdem alle 30min (mt dem script) abgespielt?
Der Dateiname lässt auf eine temporäre Playlist schliessen die sc_trans aus irgend einem Grund anlegen will. Weil das Verzeichnis nicht existiert, kann der die aber nicht anlegen und deshalb auch später nicht laden / spielen.Es gibt weder ein solches Verzeichnis, noch eine Playlist, die "playlist3_1173491201" heisst.
/path/to/song_01.mp3
/path/to/song_02.mp3
/path/to/song_03.mp3
...
/path/to/song_nn.mp3
<?xml version="1.0" encoding="UTF-8" ?>
<eventlist>
<event type="dj">
<dj archive="0">Moderator</dj>
<calendar starttime="00:00:00" />
</event>
<event type="playlist">
<playlist loopatend="0" shuffle="0" priority="1" >jingles</playlist>
<calendar starttime="01:00:00" duration="00:05:00" timeoffset="00:00:00" repeat="128" />
</event>
<event type="playlist">
<playlist loopatend="0" shuffle="0" priority="1" >jingles</playlist>
<calendar starttime="01:00:00" duration="00:05:00" timeoffset="00:30:00" repeat="128" />
</event>
<event type="playlist">
<playlist loopatend="1" shuffle="inherit" priority="1" >playlist1</playlist>
<calendar starttime="01:00:00" timeoffset="00:30:00" repeat="2" />
</event>
<event type="playlist">
<playlist loopatend="1" shuffle="inherit" priority="1" >playlist2</playlist>
<calendar starttime="01:00:00" timeoffset="00:30:00" repeat="4" />
</event>
<event type="playlist">
<playlist loopatend="1" shuffle="inherit" priority="1" >playlist3</playlist>
<calendar starttime="01:00:00" timeoffset="00:30:00" repeat="8" />
</event>
<event type="playlist">
<playlist loopatend="1" shuffle="inherit" priority="1" >playlist4</playlist>
<calendar starttime="01:00:00" timeoffset="00:30:00" repeat="16" />
</event>
<event type="playlist">
<playlist loopatend="1" shuffle="inherit" priority="1" >playlist5</playlist>
<calendar starttime="01:00:00" timeoffset="00:30:00" repeat="32" />
</event>
<event type="playlist">
<playlist loopatend="1" shuffle="inherit" priority="1" >playlist6</playlist>
<calendar starttime="01:00:00" timeoffset="00:30:00" repeat="64" />
</event>
<event type="playlist">
<playlist loopatend="1" shuffle="inherit" priority="1" >playlist7</playlist>
<calendar starttime="01:00:00" timeoffset="00:30:00" repeat="1" />
</event>
</eventlist>
Normal macht sc_trans dies nur, wenn über die API eine Playliste "on the fly" erstellt wird bzw. es werden priorisierte Playlisten ebenso abgelegt. Du scheinst die Playliste also irgendwie als priorisierte Liste einzulesen.
Du hast also bei den normalen Playlistevents die Option timeoffset verwendet. Timeoffset ist jedoch nur für Time-Periodic Events einzusetzten. Also bei z.B. den Jingles, die ja mehrfach täglich (TimePeriodic) gespielt werden. Die Zeit von Timeoffset gibt im Grunde an, zu welcher Minute nach der vollen Stunde das Event gestartet wird. (timeoffest="00:00:00" = zur vollen Stunde, oder timeoffset="00:15:00" = jede Stunde um viertel nach z.B.: 08:15, 09:15, 10:15, usw. )<event type="playlist">
<playlist loopatend="1" shuffle="inherit" priority="1" >playlist1</playlist>
<calendar starttime="01:00:00" timeoffset="00:30:00" repeat="2" />
</event>
startdate = Datum ab dem das Event ausgeführt wird
enddate = Datum bis zu dem das Event ausgeführt wird
starttime = Zeit zu dem das Event startet
duration = Dauer des Events
repeat = Event wiederholen an den Wochentagen / bzw. als Time Periodic Event
Soll die LIste nun Mo., Mi. und Fr. laufen, addierst du die Zahlen der Wochentage1 = So.
2 = Mo.
4 = Di.
8 = Mi.
16 = Do.
32 = Fr.
64 = Sa.
128 = Time Periodic
<event type="playlist">
<playlist loopatend="1" shuffle="inherit" priority="1" >playlist1</playlist>
<calendar starttime="01:00:00" duration="00:30:00" repeat="2" />
</event>
starttime="00:00:00"
archive=/home/tool/sc/sc_trans/archive/
replaygaintmpdir=/home/tool/sc/sc_trans/tmp/