Ik heb op het moment onderstaand script lopen en ben er erg tevreden over, alleen wat me soms stoort is dat als het nieuws inkomt het nummer ervoor abrupt wordt afgebroken.
Is het mogelijk om het nieuws te laten starten als het nummer is afgelopen?
Alvast bedankt,
Guus
Code: Selecteer alles
PAL.Loop:=True;
PAL.WaitForTime(T['XX:59:45']);
Queue.Clear;
Queue.AddFile('C:\news\back.mp3',ipBottom);
ActivePlayer.FadeToNext;
Queue.AddURL('C:\news\wereldnieuws.mp3',ipBottom);
Queue.AddFile('C:\news\back to.mp3',ipBottom);
var QueueTime : Integer = (60*60*1200);
While Queue.Duration < QueueTime do
Begin
Cat['lekkere muziek'].QueueBottom(smRandom, EnforceRules);
Cat['Jingles (All)'].QueueBottom(smRandom, EnforceRules);
Cat['70s'].QueueBottom(smRandom, EnforceRules);
Cat['80s'].QueueBottom(smRandom, EnforceRules);
Cat['Jingles (All)'].QueueBottom(smRandom, NoRules);
Cat['90s'].QueueBottom(smRandom, EnforceRules);
end;
PAL.WaitForTime(T['XX:29:50']);
Cat['Nederlands'].QueueTop(smRandom, EnforceRules);
Queue.AddURL('C:\jingles\dutch-jingle.mp3',ipTop);