Ik heb een scrip waar een jingle voor het eind start,
maar het nummer voor de jingle word dan abrupt beëindigt.
Nu is mijn vraag,
Kan ik mijn sam zo instellen dat hij dat een na laatste nummer draait en dan de jingle en dam de encoder stop zet.
deze script heb ik momenteel nu.
Code: Selecteer alles
PAL.Loop:=True;
PAL.LockExecution;
while DayOfWeek(Now) = Friday and ((Now >= T['09:00:00']) and (Now <= T['18:59:50'])) do
begin
PAL.UnLockExecution;
Encoders.StartAll;
DeckA.Next;
DeckA.Play;
PAL.WaitForTime(T['16:44:00']);
Queue.AddFile('C:\nonstop pc backup\jingle\peter alexander feierabend.mp3',ipTop);
PAL.WaitForTime(T['18:35:00']);
Queue.AddFile('C:\nonstop pc backup\jingle\pip\Happy Go Lucky Guitar.mp3',ipTop);
PAL.WaitForTime(T['18:55:55']);
Queue.AddFile('C:\nonstop pc backup\jingle\pip\Huey Lewis And The News - If This Is It.mp3',ipTop);
ActivePlayer.FadeToStop;
DeckA.Eject;
DeckA.Next;
DeckA.Play;
DeckB.Eject;
PAL.WaitForTime(T['18:59:50']);
ActivePlayer.FadeToStop;
Encoders.StopAll;
DeckA.Eject;
DeckB.Eject;
PAL.LockExecution;
end;
PAL.UnLockExecution;
Als er nog een mp3 draait dat hij die af draait,
en dan de eind jingle start (dit is al opgelost).
Maar dat hij na de start van de eind jingle de encoder stopt.
dat hij niet het nummer onder het draaien af breekt.
Wie weet hoe ik dat kan op lossen.
M.v.g Roy

