Allereerst ben ik hier nieuw en heb even een avondje gezocht naar de mogelijkheden van PAL scripts.
Ik heb nu een planning aan de praat voor de nonstop uren en dat werkt prima.
De hele week is het nonstop, behalve op de zaterdag en zondag tussen 12:00 en 14:00 zenden we een opgenomen programma uit.
Hoe kan ik dit het beste verwerken, in 1 script?, of in meerdere?
Ik heb gezocht op het forum maar niet echt kunnen vinden wat ik moet hebben.
Dit is de script voor het nonstop gedeelte:
Code: Selecteer alles
PAL.Loop:=True;
PAL.WaitForTime(T['XX:59:30']);
Queue.Clear;
Queue.AddFile('C:\jofox\nieuws\opener\001.mp3',ipTop);
var QueueTime : Integer = (50*50*600);
While Queue.Duration < QueueTime do
Begin
Cat['60&70'].QueueBottom(smRandom, EnforceRules);
Cat['80'].QueueBottom(smRandom, EnforceRules);
Cat['60&70'].QueueBottom(smRandom, EnforceRules);
Cat['jingle'].QueueBottom(smWeighted, EnforceRules);
Cat['90'].QueueBottom(smRandom, EnforceRules);
Cat['60&70'].QueueBottom(smRandom, EnforceRules);
Cat['80'].QueueBottom(smRandom, EnforceRules);
Cat['jingle'].QueueBottom(smWeighted, EnforceRules);
Cat['60&70'].QueueBottom(smRandom, EnforceRules);
Cat['60&70'].QueueBottom(smRandom, EnforceRules);
Cat['90'].QueueBottom(smRandom, EnforceRules);
Cat['advert'].QueueBottom(smRandom, EnforceRules);
Cat['jingle'].QueueBottom(smWeighted, EnforceRules);
Cat['60&70'].QueueBottom(smRandom, EnforceRules);
Cat['80'].QueueBottom(smRandom, EnforceRules);
Cat['60&70'].QueueBottom(smRandom, EnforceRules);
Cat['promo'].QueueBottom(smRandom, NoRules);
Cat['60&70'].QueueBottom(smRandom, EnforceRules);
Cat['80'].QueueBottom(smRandom, EnforceRules);
Cat['60&70'].QueueBottom(smRandom, EnforceRules);
Cat['jingle'].QueueBottom(smWeighted, EnforceRules);
Cat['60&70'].QueueBottom(smRandom, EnforceRules);
Cat['80'].QueueBottom(smRandom, EnforceRules);
Cat['60&70'].QueueBottom(smRandom, EnforceRules);
Cat['jingle'].QueueBottom(smWeighted, EnforceRules);
Cat['60&70'].QueueBottom(smRandom, EnforceRules);
Cat['80'].QueueBottom(smRandom, EnforceRules);
Cat['60&70'].QueueBottom(smRandom, EnforceRules);
end;
