jenni Posted August 10, 2011 Share Posted August 10, 2011 I tried to use a script for the following: Play the script only between Monday and Friday at certain time (It shouldnot close on saturday and sunday) Load the url then the news jingle mp3 on top Play the mp3 file fade to play the url (which is a news url) News is about 15 min. After 15 minute (18:52:55) it should fade to play the next track. BUT The problem is: It putting the url and jingle mp3 over and over again and play them in a loop. Instead of playing the next track after the news url link. Any Help Please: Thanks in advance.. jenni Pal.Loop := True; PAL.WaitForTime(T['18:37:00']); if ((DayOfWeek(Now) >= Monday) and (DayOfWeek(Now) begin //Queue.Clear; Queue.AddFile('http://s1.xx.net:7000/',ipTop); Queue.AddFile('C:\Radio\Jingles\NewsJingle.mp3',ipTop); //Start playback PAL.WaitForTime(T['18:37:25']); ActivePlayer.FadeToNext; end; if ((DayOfWeek(Now) = Saturday)) then begin PAL.Loop := false; end; if ((DayOfWeek(Now) >= Monday) and (DayOfWeek(Now) begin PAL.WaitForTime(T['18:52:55']); ActivePlayer.FadeToNext; end; Link to comment Share on other sites More sharing options...
This topic is now archived and is closed to further replies.