CyberClickRadio Posted December 1, 2011 Share Posted December 1, 2011 Hello, I am using the following script to play a particular voice drop between 6:00PM and 3:00AM: PAL.Loop := True; Pal.WaitforTime ('18:00:01'); {## Wait for next hour} Cat['Promos (All)'].QueueTop(smLRP, NoRules); //load ID to the Top of The Queue Pal.WaitforTime ('19:00:01'); {{## Wait for next hour} Cat['Promos (All)'].QueueTop(smLRP, NoRules); //load ID to the Top of The Queue Pal.WaitforTime ('20:00:01'); {{## Wait for next hour} Cat['Promos (All)'].QueueTop(smLRP, NoRules); //load ID to the Top of The Queue Pal.WaitforTime ('21:00:01'); {{## Wait for next hour} Cat['Promos (All)'].QueueTop(smLRP, NoRules); //load ID to the Top of The Queue Pal.WaitforTime ('22:00:01'); {{## Wait for next hour} Cat['Promos (All)'].QueueTop(smLRP, NoRules); //load ID to the Top of The Queue Pal.WaitforTime ('23:00:01'); {{## Wait for next hour} Cat['Promos (All)'].QueueTop(smLRP, NoRules); //load ID to the Top of The Queue Pal.WaitforTime ('00:00:01'); {## Wait for next hour} Cat['Promos (All)'].QueueTop(smLRP, NoRules); //load ID to the Top of The Queue Pal.WaitforTime ('01:00:01'); {## Wait for next hour} Cat['Promos (All)'].QueueTop(smLRP, NoRules); //load ID to the Top of The Queue Pal.WaitforTime ('02:00:01'); {{## Wait for next hour} Cat['Promos (All)'].QueueTop(smLRP, NoRules); //load ID to the Top of The Queue Pal.WaitforTime ('03:00:01'); {{## Wait for next hour} Cat['Promos (All)'].QueueTop(smLRP, NoRules); //load ID to the Top of The Queue //the script will now wait until 6:00pm and begin again. It works fine until the 23:00 line at which time it begins to load the voice drop into the Queue on a non-stop, back-to-back basis. I tried removing the 23:00 lines but the phenomenon only started happening at the 22:00 line. I even tried removing everything after the 23:00 line but it still happens. I should note that the voice drop is the only item contained in that folder and the folder is contained in the Content portion of SAM. Any ideas on what's going on...more importantly, how I can fix it? Thanks for your help. Link to comment Share on other sites More sharing options...
countrywesterndj Posted December 1, 2011 Share Posted December 1, 2011 Once you hit 2300 hours then the next time MUST be greater. Since 0001 is less, it falls through the loop. You can only wait for a time that is GREATERr, not LESS than the present time. You should have it go from 0001 - 2300 and then kick it off in the Event Scheduler each day. Spacial SVS Support Team http://support.spacialaudio.com/forums/ Get help with PAL Scripts at http://www.palscripts.com Link to comment Share on other sites More sharing options...
CyberClickRadio Posted December 2, 2011 Author Share Posted December 2, 2011 Thanks---I will try that tonight and see what happens Link to comment Share on other sites More sharing options...
CyberClickRadio Posted December 7, 2011 Author Share Posted December 7, 2011 Okay---I adjusted the script to begin at 00:00-23:00 but it still loads and runs the back to back, non-stop Id's at 23:00...requiring me to shut it off and restarting it the next day...ugh!!!....frustrating. Link to comment Share on other sites More sharing options...
countrywesterndj Posted December 7, 2011 Share Posted December 7, 2011 Post the new script. Spacial SVS Support Team http://support.spacialaudio.com/forums/ Get help with PAL Scripts at http://www.palscripts.com Link to comment Share on other sites More sharing options...
CyberClickRadio Posted December 7, 2011 Author Share Posted December 7, 2011 Here you go: PAL.Loop := True; Pal.WaitforTime ('00:00:01'); {## Wait for next hour} Cat['Promos (All)'].QueueTop(smLRP, NoRules); //load ID to the Top of The Queue Pal.WaitforTime ('01:00:01'); {## Wait for next hour} Cat['Promos (All)'].QueueTop(smLRP, NoRules); //load ID to the Top of The Queue Pal.WaitforTime ('02:00:01'); {{## Wait for next hour} Cat['Promos (All)'].QueueTop(smLRP, NoRules); //load ID to the Top of The Queue Pal.WaitforTime ('03:00:01'); {{## Wait for next hour} Cat['Promos (All)'].QueueTop(smLRP, NoRules); //load ID to the Top of The Queue Pal.WaitforTime ('18:00:01'); {## Wait for next hour Cat['Promos (All)'].QueueTop(smLRP, NoRules); //load ID to the Top of The Queue Pal.WaitforTime ('19:00:01'); {{## Wait for next hour} Cat['Promos (All)'].QueueTop(smLRP, NoRules); //load ID to the Top of The Queue Pal.WaitforTime ('20:00:01'); {{## Wait for next hour} Cat['Promos (All)'].QueueTop(smLRP, NoRules); //load ID to the Top of The Queue Pal.WaitforTime ('21:00:01'); {{## Wait for next hour} Cat['Promos (All)'].QueueTop(smLRP, NoRules); //load ID to the Top of The Queue Pal.WaitforTime ('22:00:01'); {{## Wait for next hour} Cat['Promos (All)'].QueueTop(smLRP, NoRules); //load ID to the Top of The Queue Pal.WaitforTime ('23:00:01'); {{## Wait for next hour} Cat['Promos (All)'].QueueTop(smLRP, NoRules); //load ID to the Top of The Queue //the script will now wait until 6:00pm and begin again. I wonder if I should add "end;" at the end of the 23:00 line....thanks for helping me out. Link to comment Share on other sites More sharing options...
countrywesterndj Posted December 8, 2011 Share Posted December 8, 2011 Here you go: PAL.Loop := True; Pal.WaitforTime ('00:00:01'); {## Wait for next hour} Cat['Promos (All)'].QueueTop(smLRP, NoRules); //load ID to the Top of The Queue Pal.WaitforTime ('01:00:01'); {## Wait for next hour} Cat['Promos (All)'].QueueTop(smLRP, NoRules); //load ID to the Top of The Queue Pal.WaitforTime ('02:00:01'); {{## Wait for next hour} Cat['Promos (All)'].QueueTop(smLRP, NoRules); //load ID to the Top of The Queue Pal.WaitforTime ('03:00:01'); {{## Wait for next hour} Cat['Promos (All)'].QueueTop(smLRP, NoRules); //load ID to the Top of The Queue Pal.WaitforTime ('18:00:01'); {## Wait for next hour Cat['Promos (All)'].QueueTop(smLRP, NoRules); //load ID to the Top of The Queue Pal.WaitforTime ('19:00:01'); {{## Wait for next hour} Cat['Promos (All)'].QueueTop(smLRP, NoRules); //load ID to the Top of The Queue Pal.WaitforTime ('20:00:01'); {{## Wait for next hour} Cat['Promos (All)'].QueueTop(smLRP, NoRules); //load ID to the Top of The Queue Pal.WaitforTime ('21:00:01'); {{## Wait for next hour} Cat['Promos (All)'].QueueTop(smLRP, NoRules); //load ID to the Top of The Queue Pal.WaitforTime ('22:00:01'); {{## Wait for next hour} Cat['Promos (All)'].QueueTop(smLRP, NoRules); //load ID to the Top of The Queue Pal.WaitforTime ('23:00:01'); {{## Wait for next hour} Cat['Promos (All)'].QueueTop(smLRP, NoRules); //load ID to the Top of The Queue //the script will now wait until 6:00pm and begin again. I wonder if I should add "end;" at the end of the 23:00 line....thanks for helping me out. Like I said, once it passes the 23:00:01 time slot, it begins again. So now all of the time slots have passed and it queues them all up again. Do what I said before: 1- Take out the PAL.loop := true; 2- Schedule the job to be run once a day with the Event Scheduler (ES) Then it will execute everything once and stop. Spacial SVS Support Team http://support.spacialaudio.com/forums/ Get help with PAL Scripts at http://www.palscripts.com Link to comment Share on other sites More sharing options...
CyberClickRadio Posted December 8, 2011 Author Share Posted December 8, 2011 I did have it in ES but I didn't take out the PAL.loop :=true;. I'll do that and put it back in ES. Thanks for your help. Link to comment Share on other sites More sharing options...
CyberClickRadio Posted December 12, 2011 Author Share Posted December 12, 2011 Sorry for the delayed response. Okay I took out the PAL.LOOP = True and it began loading back to back voice dross at 18:00 instead of waiting until 23:00--ugh again!!! Link to comment Share on other sites More sharing options...
countrywesterndj Posted December 12, 2011 Share Posted December 12, 2011 Sorry for the delayed response. Okay I took out the PAL.LOOP = True and it began loading back to back voice dross at 18:00 instead of waiting until 23:00--ugh again!!! I find that very hard to believe. What is a "voice dross" ? Post the script again. Spacial SVS Support Team http://support.spacialaudio.com/forums/ Get help with PAL Scripts at http://www.palscripts.com Link to comment Share on other sites More sharing options...
CyberClickRadio Posted December 13, 2011 Author Share Posted December 13, 2011 Sorry about that--meant to say "voice drop", I was typing that on my phone. Anyway, here's how the script was written when I last had it in the ES: Pal.WaitforTime ('00:00:00'); {## Wait for next hour} Cat['Promos (All)'].QueueBottom(smLRP, NoRules); //load ID to the Bottom of The Queue Pal.WaitforTime ('01:00:00'); {## Wait for next hour} Cat['Promos (All)'].QueueBottom(smLRP, NoRules); //load ID to the Bottom of The Queue Pal.WaitforTime ('02:00:00'); {{## Wait for next hour} Cat['Promos (All)'].QueueBottom(smLRP, NoRules); //load ID to the Bottom of The Queue Pal.WaitforTime ('03:00:00'); {{## Wait for next hour} Cat['Promos (All)'].QueueBottom(smLRP, NoRules); //load ID to the Bottom of The Queue Pal.WaitforTime ('18:00:00'); {## Wait for next hour} Cat['Promos (All)'].QueueBottom(smLRP, NoRules); //load ID to the Bottom of The Queue Pal.WaitforTime ('19:00:00'); {{## Wait for next hour} Cat['Promos (All)'].QueueBottom(smLRP, NoRules); //load ID to the Bottom of The Queue Pal.WaitforTime ('20:00:00'); {{## Wait for next hour} Cat['Promos (All)'].QueueBottom(smLRP, NoRules); //load ID to the Bottom of The Queue Pal.WaitforTime ('21:00:00'); {{## Wait for next hour} Cat['Promos (All)'].QueueBottom(smLRP, NoRules); //load ID to the Bottom of The Queue Pal.WaitforTime ('22:00:00'); {{## Wait for next hour} Cat['Promos (All)'].QueueBottom(smLRP, NoRules); //load ID to the Bottom of The Queue Pal.WaitforTime ('23:00:00'); {{## Wait for next hour} I also noticed that when I put it in ES, the script re-appeared in the PAL Scripts window as well. Thanks Link to comment Share on other sites More sharing options...
CyberClickRadio Posted December 14, 2011 Author Share Posted December 14, 2011 I find that very hard to believe. What is a "voice dross" ? Post the script again. Sorry 'bout that, I was typing on my phone. I meant to say "Voice Drop". Anyway, here's the script as it is structured now: Pal.WaitforTime ('00:00:00'); {## Wait for next hour} Cat['Promos (All)'].QueueBottom(smLRP, NoRules); //load ID to the Bottom of The Queue Pal.WaitforTime ('01:00:00'); {## Wait for next hour} Cat['Promos (All)'].QueueBottom(smLRP, NoRules); //load ID to the Bottom of The Queue Pal.WaitforTime ('02:00:00'); {{## Wait for next hour} Cat['Promos (All)'].QueueBottom(smLRP, NoRules); //load ID to the Bottom of The Queue Pal.WaitforTime ('03:00:00'); {{## Wait for next hour} Cat['Promos (All)'].QueueBottom(smLRP, NoRules); //load ID to the Bottom of The Queue Pal.WaitforTime ('18:00:00'); {## Wait for next hour} Cat['Promos (All)'].QueueBottom(smLRP, NoRules); //load ID to the Bottom of The Queue Pal.WaitforTime ('19:00:00'); {{## Wait for next hour} Cat['Promos (All)'].QueueBottom(smLRP, NoRules); //load ID to the Bottom of The Queue Pal.WaitforTime ('20:00:00'); {{## Wait for next hour} Cat['Promos (All)'].QueueBottom(smLRP, NoRules); //load ID to the Bottom of The Queue Pal.WaitforTime ('21:00:00'); {{## Wait for next hour} Cat['Promos (All)'].QueueBottom(smLRP, NoRules); //load ID to the Bottom of The Queue Pal.WaitforTime ('22:00:00'); {{## Wait for next hour} Cat['Promos (All)'].QueueBottom(smLRP, NoRules); //load ID to the Bottom of The Queue Pal.WaitforTime ('23:00:00'); {{## Wait for next hour} Cat['Promos (All)'].QueueBottom(smLRP, NoRules); //load ID to the Bottom of The Queue //the script will now wait until Midnight and begin again. I save this as a .cwf script and I noticed that when I put it in the ES it showed up in the PAL Script window too. Thanks for helping me out. R2 Link to comment Share on other sites More sharing options...
countrywesterndj Posted December 14, 2011 Share Posted December 14, 2011 1- This is a PAL script, not a Clockwheel script. 2- I ran it on my server for 24 hours and it worked perfectly. 3- If you put it in the Event Scheduler and it shows up again in the PAL scripts window, something is WRONG !! Again, go over what I told you before. Save as a PAL script and kick it off every day with the Event Scheduler at midnight. You should change the first line from: [i]Pal.WaitforTime ('00:00:00');[/i] to: [i]Pal.WaitforTime ('00:00:15');[/i] to give the ES time to process this job. Spacial SVS Support Team http://support.spacialaudio.com/forums/ Get help with PAL Scripts at http://www.palscripts.com Link to comment Share on other sites More sharing options...
JorgeHernandez Posted December 14, 2011 Share Posted December 14, 2011 Yeah, this is really helpful script. I need this badly. Thanks for the script man. Link to comment Share on other sites More sharing options...
CyberClickRadio Posted December 14, 2011 Author Share Posted December 14, 2011 Got it---I'll try it tonight and let you know what happens. Thanks. Link to comment Share on other sites More sharing options...
CyberClickRadio Posted December 14, 2011 Author Share Posted December 14, 2011 Oh yeah---I assume I need to put the PAL.Loop: = True back in it, correct? Link to comment Share on other sites More sharing options...
shoutcaststreaming Posted December 14, 2011 Share Posted December 14, 2011 oh yeah---i assume i need to put the pal.loop: = true back in it, correct? no no no no no !!!! SCS - Dedicated Bandwidth Servers Shoutcast / Icecast / Windows Media Transcoding - Auto DJ - Mobile Radio - FLASH Players - Auto DJ Broadcasting World's Stream Host of the Month Link to comment Share on other sites More sharing options...
CyberClickRadio Posted December 16, 2011 Author Share Posted December 16, 2011 Okay---I think it finally worked last night....no back to back voice drops. I'll watch it again tonight to confirm; it still shows up in the PAL Scripts window and I did not put it there. Link to comment Share on other sites More sharing options...
CyberClickRadio Posted December 20, 2011 Author Share Posted December 20, 2011 Confirmed---It works!!! Muchos Gracias to CountryWesternDJ for helping me out and to ShoutCastStraming for chiming in. Link to comment Share on other sites More sharing options...
countrywesterndj Posted December 20, 2011 Share Posted December 20, 2011 Confirmed---It works!!! Muchos Gracias to CountryWesternDJ for helping me out and to ShoutCastStraming for chiming in. Por nada. All in a day's work. Spacial SVS Support Team http://support.spacialaudio.com/forums/ Get help with PAL Scripts at http://www.palscripts.com Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.