guskyr Posted June 8, 2017 Share Posted June 8, 2017 this is the code PAL.Loop := True; Pal.WaitForTime(T['XX:00:00']); CAT['Station IDs (All)'].QueueTop(smRandom, EnforceRules); Pal.WaitForTime(T['XX:15:00']); CAT['Station IDs (All)'].QueueTop(smRandom, EnforceRules); Pal.WaitForTime(T['XX:30:00']); CAT['Station IDs (All)'].QueueTop(smRandom, EnforceRules); Pal.WaitForTime(T['XX:45:00']); CAT['Station IDs (All)'].QueueTop(smRandom, EnforceRules); help me pls... thank you Link to comment Share on other sites More sharing options...
GKIye Posted June 8, 2017 Share Posted June 8, 2017 It would be way easier to use the "Event Scheduler" Use this line into your scheduler CAT['Station IDs (All)'].QueueTop(smLRP, NoRules); Good luck ! Visit and listen @ BW ! Link to comment Share on other sites More sharing options...
shoutcaststreaming Posted June 9, 2017 Share Posted June 9, 2017 [color=#333333]PAL.Loop := True;[/color] [color=#333333]Pal.WaitForTime(T['XX:00:00']);[/color] [color=#333333]CAT['Station IDs (All)'].QueueTop(smRandom, EnforceRules);[/color] [color=#333333]Pal.WaitForTime(T['XX:15:00']);[/color] [color=#333333]CAT['Station IDs (All)'].QueueTop(smRandom, EnforceRules);[/color] [color=#333333]Pal.WaitForTime(T['XX:30:00']);[/color] [color=#333333]CAT['Station IDs (All)'].QueueTop(smRandom, EnforceRules);[/color] [color=#333333]Pal.WaitForTime(T['XX:45:00']);[/color] [color=#333333]CAT['Station IDs (All)'].QueueTop(smRandom, EnforceRules);[/color]I tried it on my SAM (version 2015.4) and it works perfectly. If you are using version 4.2.2, I'm guessing that it is a cracked version that you downloaded from the Internet. Cracked versions notoriously contain malware and other nasty features. Why don't you buy a real version ? 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...
SmoothJazz Posted June 9, 2017 Share Posted June 9, 2017 It would be way easier to use the "Event Scheduler" Use this line into your scheduler Good luck !Unfortunately the Event Scheduler in SAM does not have a 15 minutes repeating Event, your suggestion would mean the user would have to setup 4 events per hour times 24, makes no sense. PAL is the right mechanism for this type of programing. Your suggestion of NOT enforcing Rules is right on. http://5280jazz.com/nowplaying_image/5280jazz.png Rob Oyler 5280 Jazz Link to comment Share on other sites More sharing options...
guskyr Posted June 10, 2017 Author Share Posted June 10, 2017 It would be way easier to use the "Event Scheduler" Use this line into your scheduler Good luck ! IT WORKS FINE!!!! Thank You Link to comment Share on other sites More sharing options...
shoutcaststreaming Posted June 10, 2017 Share Posted June 10, 2017 So you wrote 96 lines of code in what you could have done in 8 lines ? 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...
BWorld Posted June 10, 2017 Share Posted June 10, 2017 So you wrote 96 lines of code in what you could have done in 8 lines ? Sometimes you gotta get that word count up You know, like those college essays we had to write that were minimum number of words. Lots of extra things haha! ██ Stream101 | Affordable Media Solutions ██ Shared cPanel? Web Hosting | WordPress Hosting | Premium Stream Hosting ██ TOLL-FREE: (616) 277-7280 | 30 Day NO QUESTIONS Money-Back Guarantee ██ 100% Cogent Free Network | CloudLinux OS | Tier 1 Bandwidth | Grand Rapids, MI Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now