Star105-Dance Posted June 7, 2011 Share Posted June 7, 2011 I'm trying to find out why there is a cutoff after my TOH and positioner song, with the use of a PAL script event. Top hour plays, then cuts off after a minute. The top hour is loaded at xx:59:40, then positioner song. People do not like Lady Ga Ga's 'Judas' (currently a super power song) cutting off after 45 seconds to 1 minute of play. Seems to cut off at xx:00:52 or near. It fades to a new song or Euro-Dance Jingle then song. Here's the script: {Wait for right time} PAL.Loop := True; PAL.WaitForTime(T['xx:59:40']); {Clear Queue} Queue.Clear; Cat['TOP-Legal'].QueueBottom(smRandom, NoRules); Cat['Recurrents'].QueueBottom(smWeighted, EnforceRules); Cat['Jingles (all)'].QueueBottom(smLRP, EnforceRules); Cat['90s'].QueueBottom(smRandom, NoRules); Cat['Station IDs (all)'].QueueBottom(smWeighted, EnforceRules); Cat['00s'].QueueBottom(smMRP, EnforceRules); Cat['Jingles (all)'].QueueBottom(smLRP, EnforceRules); Cat['90s'].QueueBottom(smRandom, NoRules); Cat['Station IDs (all)'].QueueBottom(smWeighted, EnforceRules); Cat['Recurrents'].QueueBottom(smWeighted, EnforceRules); Cat['Jingles (all)'].QueueBottom(smLRP, EnforceRules); Cat['90s'].QueueBottom(smRandom, NoRules); Cat['Station IDs (all)'].QueueBottom(smWeighted, EnforceRules); Cat['00s'].QueueBottom(smMRP, EnforceRules); Cat['Jingles (all)'].QueueBottom(smLRP, EnforceRules); Cat['90s'].QueueBottom(smRandom, NoRules); Cat['Station IDs (all)'].QueueBottom(smWeighted, EnforceRules); Cat['Recurrents'].QueueBottom(smWeighted, EnforceRules); Cat['Jingles (all)'].QueueBottom(smLRP, EnforceRules); Cat['90s'].QueueBottom(smRandom, NoRules); Cat['Station IDs (all)'].QueueBottom(smWeighted, EnforceRules); Cat['00s'].QueueBottom(smMRP, EnforceRules); Cat['Jingles (all)'].QueueBottom(smLRP, EnforceRules); Cat['90s'].QueueBottom(smRandom, NoRules); Cat['Station IDs (all)'].QueueBottom(smWeighted, EnforceRules); Cat['Recurrents'].QueueBottom(smWeighted, EnforceRules); Cat['Jingles (all)'].QueueBottom(smLRP, EnforceRules); Cat['90s'].QueueBottom(smRandom, NoRules); Cat['Station IDs (all)'].QueueBottom(smWeighted, EnforceRules); Cat['00s'].QueueBottom(smMRP, EnforceRules); Cat['Jingles (all)'].QueueBottom(smLRP, EnforceRules); Cat['90s'].QueueBottom(smRandom, NoRules); Cat['Station IDs (all)'].QueueBottom(smWeighted, EnforceRules); Cat['Recurrents'].QueueBottom(smWeighted, EnforceRules); Cat['Jingles (all)'].QueueBottom(smLRP, EnforceRules); Cat['90s'].QueueBottom(smRandom, NoRules); Cat['Station IDs (all)'].QueueBottom(smWeighted, EnforceRules); Cat['00s'].QueueBottom(smMRP, EnforceRules); Cat['Jingles (all)'].QueueBottom(smLRP, EnforceRules); Cat['90s'].QueueBottom(smRandom, NoRules); Cat['Station IDs (all)'].QueueBottom(smWeighted, EnforceRules); Cat['Recurrents'].QueueBottom(smWeighted, EnforceRules); Cat['Jingles (all)'].QueueBottom(smLRP, EnforceRules); Cat['90s'].QueueBottom(smRandom, NoRules); Cat['Station IDs (all)'].QueueBottom(smWeighted, EnforceRules); Cat['00s'].QueueBottom(smMRP, EnforceRules); Cat['Jingles (all)'].QueueBottom(smLRP, EnforceRules); Cat['90s'].QueueBottom(smRandom, NoRules); Cat['Station IDs (all)'].QueueBottom(smWeighted, EnforceRules); Cat['Recurrents'].QueueBottom(smWeighted, EnforceRules); Cat['Jingles (all)'].QueueBottom(smLRP, EnforceRules); Cat['90s'].QueueBottom(smRandom, NoRules); Cat['Station IDs (all)'].QueueBottom(smWeighted, EnforceRules); Cat['00s'].QueueBottom(smMRP, EnforceRules); Cat['Jingles (all)'].QueueBottom(smLRP, EnforceRules); Cat['90s'].QueueBottom(smRandom, NoRules); Cat['Station IDs (all)'].QueueBottom(smWeighted, EnforceRules); Cat['Recurrents'].QueueBottom(smWeighted, EnforceRules); Cat['Jingles (all)'].QueueBottom(smLRP, EnforceRules); Cat['90s'].QueueBottom(smRandom, NoRules); Cat['Station IDs (all)'].QueueBottom(smWeighted, EnforceRules); Cat['00s'].QueueBottom(smMRP, EnforceRules); Cat['Jingles (all)'].QueueBottom(smLRP, EnforceRules); Cat['90s'].QueueBottom(smRandom, NoRules); Cat['Station IDs (all)'].QueueBottom(smWeighted, EnforceRules); Cat['Recurrents'].QueueBottom(smWeighted, EnforceRules); ActivePlayer.FadeToNext;; Any clues on what is causing this? I'd like to get a 30 minute log for a bottom hour custom Jingle (American Jingles,sung, NOT European Jiogles.. AKA sweepers) package, but if this cuts off, it's not really worth trying to do this... or figure how I can do it. Thanks for your assistance. Link to comment Share on other sites More sharing options...
countrywesterndj Posted June 7, 2011 Share Posted June 7, 2011 It cuts off because you are fading it to the next song. See the bottom of the script: Cat['90s'].QueueBottom(smRandom, NoRules); Cat['Station IDs (all)'].QueueBottom(smWeighted, EnforceRules); Cat['Recurrents'].QueueBottom(smWeighted, EnforceRules); ActivePlayer.FadeToNext;;The 2 semi-colons are wrong and it probably doesn't even compile. You also should lock SAM when loading this script so it doesn't take all day. Try this: {Wait for right time} PAL.Loop := True; PAL.WaitForTime(T['xx:59:40']); {Clear Queue} Queue.Clear; PAL.LockExecution; Cat['TOP-Legal'].QueueBottom(smRandom, NoRules); Cat['Recurrents'].QueueBottom(smWeighted, EnforceRules); Cat['Jingles (all)'].QueueBottom(smLRP, EnforceRules); Cat['90s'].QueueBottom(smRandom, NoRules); Cat['Station IDs (all)'].QueueBottom(smWeighted, EnforceRules); Cat['00s'].QueueBottom(smMRP, EnforceRules); Cat['Jingles (all)'].QueueBottom(smLRP, EnforceRules); Cat['90s'].QueueBottom(smRandom, NoRules); Cat['Station IDs (all)'].QueueBottom(smWeighted, EnforceRules); Cat['Recurrents'].QueueBottom(smWeighted, EnforceRules); Cat['Jingles (all)'].QueueBottom(smLRP, EnforceRules); Cat['90s'].QueueBottom(smRandom, NoRules); Cat['Station IDs (all)'].QueueBottom(smWeighted, EnforceRules); Cat['00s'].QueueBottom(smMRP, EnforceRules); Cat['Jingles (all)'].QueueBottom(smLRP, EnforceRules); Cat['90s'].QueueBottom(smRandom, NoRules); Cat['Station IDs (all)'].QueueBottom(smWeighted, EnforceRules); Cat['Recurrents'].QueueBottom(smWeighted, EnforceRules); Cat['Jingles (all)'].QueueBottom(smLRP, EnforceRules); Cat['90s'].QueueBottom(smRandom, NoRules); Cat['Station IDs (all)'].QueueBottom(smWeighted, EnforceRules); Cat['00s'].QueueBottom(smMRP, EnforceRules); Cat['Jingles (all)'].QueueBottom(smLRP, EnforceRules); Cat['90s'].QueueBottom(smRandom, NoRules); Cat['Station IDs (all)'].QueueBottom(smWeighted, EnforceRules); Cat['Recurrents'].QueueBottom(smWeighted, EnforceRules); Cat['Jingles (all)'].QueueBottom(smLRP, EnforceRules); Cat['90s'].QueueBottom(smRandom, NoRules); Cat['Station IDs (all)'].QueueBottom(smWeighted, EnforceRules); Cat['00s'].QueueBottom(smMRP, EnforceRules); Cat['Jingles (all)'].QueueBottom(smLRP, EnforceRules); Cat['90s'].QueueBottom(smRandom, NoRules); Cat['Station IDs (all)'].QueueBottom(smWeighted, EnforceRules); Cat['Recurrents'].QueueBottom(smWeighted, EnforceRules); Cat['Jingles (all)'].QueueBottom(smLRP, EnforceRules); Cat['90s'].QueueBottom(smRandom, NoRules); Cat['Station IDs (all)'].QueueBottom(smWeighted, EnforceRules); Cat['00s'].QueueBottom(smMRP, EnforceRules); Cat['Jingles (all)'].QueueBottom(smLRP, EnforceRules); Cat['90s'].QueueBottom(smRandom, NoRules); Cat['Station IDs (all)'].QueueBottom(smWeighted, EnforceRules); Cat['Recurrents'].QueueBottom(smWeighted, EnforceRules); Cat['Jingles (all)'].QueueBottom(smLRP, EnforceRules); Cat['90s'].QueueBottom(smRandom, NoRules); Cat['Station IDs (all)'].QueueBottom(smWeighted, EnforceRules); Cat['00s'].QueueBottom(smMRP, EnforceRules); Cat['Jingles (all)'].QueueBottom(smLRP, EnforceRules); Cat['90s'].QueueBottom(smRandom, NoRules); Cat['Station IDs (all)'].QueueBottom(smWeighted, EnforceRules); Cat['Recurrents'].QueueBottom(smWeighted, EnforceRules); Cat['Jingles (all)'].QueueBottom(smLRP, EnforceRules); Cat['90s'].QueueBottom(smRandom, NoRules); Cat['Station IDs (all)'].QueueBottom(smWeighted, EnforceRules); Cat['00s'].QueueBottom(smMRP, EnforceRules); Cat['Jingles (all)'].QueueBottom(smLRP, EnforceRules); Cat['90s'].QueueBottom(smRandom, NoRules); Cat['Station IDs (all)'].QueueBottom(smWeighted, EnforceRules); Cat['Recurrents'].QueueBottom(smWeighted, EnforceRules); Cat['Jingles (all)'].QueueBottom(smLRP, EnforceRules); Cat['90s'].QueueBottom(smRandom, NoRules); Cat['Station IDs (all)'].QueueBottom(smWeighted, EnforceRules); Cat['00s'].QueueBottom(smMRP, EnforceRules); Cat['Jingles (all)'].QueueBottom(smLRP, EnforceRules); Cat['90s'].QueueBottom(smRandom, NoRules); Cat['Station IDs (all)'].QueueBottom(smWeighted, EnforceRules); Cat['Recurrents'].QueueBottom(smWeighted, EnforceRules); PAL.UnLockExecution; 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...
GKIye Posted June 7, 2011 Share Posted June 7, 2011 Just a question ... Is this a one hour script ? To Me it looks way to much content to make a one hour playlist also take a look to this : Cat['90s'].QueueBottom(smRandom, NoRules); Cat['Station IDs (all)'].QueueBottom(smWeighted, EnforceRules); at anytime you have to "EnforceRules" to every song category ... if not you have a lot of same songs who gonna be played see your config to adjust "time:artist" and "time:song" or "time:album" I guess you are better of with a similar "clockwheel" script and play your TOTH with a general TOTH pal see : http://forums.broadcastingworld.net/showthread.php?t=7199 It gonna add your TOTH "on" the hour and write "NoRules" to your station ID category The idea of playing a specific ID/jingle at 30 minutes is rather difficult - or you add an ID in top of your queue with a command made by your event sheduler or by using a PAL - or you have to use a second TOTH script where you adjust the CAT to your IDs ... but that gonna cut off your current playing song I don't know if this is "the" solution you are searching for ... but lets say ... its my 2 cents of assistance Visit and listen @ BW ! Link to comment Share on other sites More sharing options...
andhow Posted June 7, 2011 Share Posted June 7, 2011 Just a question ... Is this a one hour script ? To Me it looks way to much content to make a one hour playlist... ...I guess you are better of with a similar "clockwheel" script and play your TOTH with a general TOTH pal Agreed on both comments. Reverend Aquaman | Station Manager | andHow.FM Where it's *ALL* about the music! A world-class, always eclectic, commercial-free, alternative, modern, retro, indie rock radio station. Jamming the free world, one person at a time since 1998. Got Indie? Link to comment Share on other sites More sharing options...
Star105-Dance Posted June 10, 2011 Author Share Posted June 10, 2011 As for playing a clockwheel, it does not keep me on track, time-wise. I want the top of the hour somewhere between :00 and :03. The clockwheel did not have a command to use, unless I can use the PAL commands in the clockwheel. SO, Can I use the "wait for " command in the clockwheel? As for too many songs.... As a progarmmer, it's better to cram more music in, then let the automation drop extra songs. This way, if there are issues with songs, and what-not, It's better to be padded, the dead air. Those songs get dropped, IF the clocks load properly. I tried Country DJ's suggestion, "lock" method... now the clocks do not load. The clocks did load without the "lock" after "clear Queue." With the jingles, I do not want the rules, same for other imaging. Therefore, have removed the "rules" and have "no rules" in the script now. With the :30 jingles, I was thinking of adding that as a script too. Can I run both scripts at once? One can be "wait for xx:28:30" and the other could be "wait for xx:59:40", if things can be on 2 scripts. Would be a plus to get those both in on the same script though. By he way, the site's been giving me fits. Couldn't log in... then requested my passcode/reset passcode email. That showed up a few hours later. All other emails came through fine, as I waited. Any site issues? Link to comment Share on other sites More sharing options...
countrywesterndj Posted June 11, 2011 Share Posted June 11, 2011 I tried Country DJ's suggestion, "lock" method... now the clocks do not load. The clocks did load without the "lock" after "clear Queue." What do you mean? Between the LOCK & UNLOCK you are only loading from Categories. There are NO clocks. 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...
Star105-Dance Posted June 11, 2011 Author Share Posted June 11, 2011 There is a clock... the clockwheel, in configuration. secondly, you told me to "pal.LockExecution" That's what I was referring to. Same thing with the "Unlock" at the bottom of the script. Someone also suggested using a clockwheel, since I was over-padding on music and wanted to put a :30 Jingle in. However, this had been solved. I am able to do both the TOH and BOH in the same script. I copied the line of "waitForTime(T['xx28:40']); or the same line for the top of hour too, which made the 2 half hour logs load, while dropping extra music. Each cluster had 9 songs and image elements. Talking out the "Pal.LockExectution" and "Pal.UnlcockExecution" Made everything work fine. Jingles have no rules, Sweepers have no rules too. Same for TOH and BOH. Problems are all solved, as of this point. For those who had helped... Thank you! Here's what I did, which works for what I needed: {Wait for right time} PAL.Loop := True; PAL.WaitForTime(T['xx:59:40']); {Clear Queue} Queue.Clear; PAL.LockExecution; Cat['TOP-Legal'].QueueBottom(smRandom, NoRules); Cat['Recurrents'].QueueBottom(smWeighted, EnforceRules); Cat['Jingles (all)'].QueueBottom(smRandom, NoRules); Cat['Currents'].QueueBottom(smWeighted, EnforceRules); Cat['Station IDs (all)'].QueueBottom(smRandom, NoRules); Cat['00s'].QueueBottom(smMRP, EnforceRules); Cat['Jingles (all)'].QueueBottom(smRandom, NoRules); Cat['90s'].QueueBottom(smWeighted, EnforceRules); Cat['Station IDs (all)'].QueueBottom(smRandom, NoRules); Cat['Recurrents'].QueueBottom(smWeighted, EnforceRules); Cat['Jingles (all)'].QueueBottom(smRandom, NoRules); Cat['Currents'].QueueBottom(smWeighted, EnforceRules); Cat['Station IDs (all)'].QueueBottom(smRandom, NoRules); Cat['00s'].QueueBottom(smMRP, EnforceRules); Cat['Jingles (all)'].QueueBottom(smRandom, NoRules); Cat['90s'].QueueBottom(smWeighted, EnforceRules); Cat['Station IDs (all)'].QueueBottom(smRandom, NoRules); Cat['00s'].QueueBottom(smWeighted, EnforceRules); Cat['Jingles (all)'].QueueBottom(smRandom, NoRules); Cat['90s'].QueueBottom(smWeighted, EnforceRules); {Wait for right time} PAL.Loop := True; PAL.WaitForTime(T['xx:28:40']); {Clear Queue} Queue.Clear; Cat['BOH'].QueueBottom(smRandom, NoRules); Cat['Recurrents'].QueueBottom(smWeighted, EnforceRules); Cat['Jingles (all)'].QueueBottom(smRandom, NoRules); Cat['Currents'].QueueBottom(smWeighted, EnforceRules); Cat['Station IDs (all)'].QueueBottom(smRandom, NoRules); Cat['00s'].QueueBottom(smMRP, EnforceRules); Cat['Jingles (all)'].QueueBottom(smRandom, NoRules); Cat['90s'].QueueBottom(smWeighted, EnforceRules); Cat['Station IDs (all)'].QueueBottom(smRandom, NoRules); Cat['Recurrents'].QueueBottom(smWeighted, EnforceRules); Cat['Jingles (all)'].QueueBottom(smRandom, NoRules); Cat['Currents'].QueueBottom(smWeighted, EnforceRules); Cat['Station IDs (all)'].QueueBottom(smRandom, NoRules); Cat['00s'].QueueBottom(smMRP, EnforceRules); Cat['Jingles (all)'].QueueBottom(smRandom, NoRules); Cat['90s'].QueueBottom(smWeighted, EnforceRules); Cat['Station IDs (all)'].QueueBottom(smRandom, NoRules); Cat['00s'].QueueBottom(smWeighted, EnforceRules); Cat['Jingles (all)'].QueueBottom(smRandom, NoRules); Cat['90s'].QueueBottom(smWeighted, EnforceRules); Link to comment Share on other sites More sharing options...
countrywesterndj Posted June 11, 2011 Share Posted June 11, 2011 1- A clockwheel does not run when a PAL script is running that controls the queue. 2- The script you posted DOES contain a PAL.LockExecution in it, right after Queue.Clear. If you leave that in without a PAL.UnLockExecution, you will cause a lot of problems. 3- The script that I gave you does work, as I tested it. But as long as you are happy with your script, that is all that matters. 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...
countryjock Posted November 16, 2011 Share Posted November 16, 2011 I found that using the event scheduler was easier than a complicated pal script. I had the same problem then someone reminded me of the event scheduler. Mark Evans (AKA CountryJock) A1-Country Radio If You Like The Work That Has Been Done For You, Please Consider A Donation Here: If I Did Work That Required A Donation, It Can Be Sent Here Too: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=BGBXWH46MGXJN If you like Country Music...Feel Free To Visit My Station: www.wix.com/a1country/homepage Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.