It would be way easier to use the "Event Scheduler"
Use this line into your scheduler
Good luck !CAT['Station IDs (All)'].QueueTop(smLRP, NoRules);
Results 1 to 7 of 7
-
06-09-2017, 12:25 AM #1
- Title
- Junior Broadcaster
- Join Date
- Jun 2017
- Posts
- 2
- Rep Power
- 0
pal script not working on sam 4.2.2
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
-
06-09-2017, 12:44 AM #2
-
06-09-2017, 04:30 AM #3Code:
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);
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
-
06-09-2017, 02:02 PM #4
- Title
- Avid Broadcaster
- Join Date
- May 2009
- Posts
- 119
- Rep Power
- 12
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.
-
06-10-2017, 11:19 AM #5
- Title
- Junior Broadcaster
- Join Date
- Jun 2017
- Posts
- 2
- Rep Power
- 0
-
06-10-2017, 07:43 PM #6
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
-
06-10-2017, 10:49 PM #7██ Stream101 | Affordable Media Solutions
██ Shared/Reseller cPanel® Web Hosting | WordPress Hosting | Premium Stream Hosting
██ TOLL-FREE: (877) 240-7767 | 30 Day NO QUESTIONS Money-Back Guarantee
██ 100% Cogent Free Network | CloudLinux OS | Tier 1 Bandwidth | Grand Rapids, MI
Bookmarks