pal Script Jingles aanpassen

Voor vragen over Playlist Automation Language.
Plaats reactie
martijn2018
*
Berichten: 14
Lid geworden op: 15 jan 2018, 13:36
SAM-versie: 4.9.3.
Database: MySQL 5.0
Windows: 7 64-bits

pal Script Jingles aanpassen

Ongelezen bericht door martijn2018 » 08 jun 2018, 13:33

Hallo allemaal wie zou voor mij dit pal Script willen aanpassen Het is Script is bedoeld voor de Jingles

Dit Script laat tussen 55 uur en 5 over geen Jingles in

Maar ik zou ook heel graag willen dat die ook tussen 25 over en 35 geen jingles Inlaat

Code: Selecteer alles

Pal.Loop:=True;
Pal.LockExecution;
while (Now >= T['00:05:00']) and (Now <= T['00:55:00']) or
      (Now >= T['01:05:00']) and (Now <= T['01:55:00']) or
      (Now >= T['02:05:00']) and (Now <= T['02:55:00']) or
      (Now >= T['03:05:00']) and (Now <= T['03:55:00']) or
      (Now >= T['04:05:00']) and (Now <= T['04:55:00']) or
      (Now >= T['05:05:00']) and (Now <= T['05:55:00']) or
      (Now >= T['06:05:00']) and (Now <= T['06:55:00']) or
      (Now >= T['07:05:00']) and (Now <= T['07:55:00']) or
      (Now >= T['08:05:00']) and (Now <= T['08:55:00']) or
      (Now >= T['09:05:00']) and (Now <= T['09:55:00']) or
      (Now >= T['10:05:00']) and (Now <= T['10:55:00']) or
      (Now >= T['11:05:00']) and (Now <= T['11:55:00']) or
      (Now >= T['12:05:00']) and (Now <= T['12:55:00']) or
      (Now >= T['13:05:00']) and (Now <= T['13:55:00']) or
      (Now >= T['14:05:00']) and (Now <= T['14:55:00']) or
      (Now >= T['15:05:00']) and (Now <= T['15:55:00']) or
      (Now >= T['16:05:00']) and (Now <= T['16:55:00']) or
      (Now >= T['17:05:00']) and (Now <= T['17:55:00']) or
      (Now >= T['18:05:00']) and (Now <= T['18:55:00']) or
      (Now >= T['19:05:00']) and (Now <= T['19:55:00']) or
      (Now >= T['20:05:00']) and (Now <= T['20:55:00']) or
      (Now >= T['21:05:00']) and (Now <= T['21:55:00']) or
      (Now >= T['22:05:00']) and (Now <= T['22:55:00']) or
      (Now >= T['23:05:00']) and (Now <= T['23:55:00']) do
      

begin
Pal.UnLockExecution;
cat['nonstop'].QueueTop(smLrp,NoRules);
PAL.WaitForPlayCount(2);
Pal.LockExecution;
end;
Pal.UnLockExecution;
Laatst gewijzigd door drOhimself op 10 jun 2018, 14:47, 1 keer totaal gewijzigd.
Reden: Code in [CODE] gezet

renem
**
Berichten: 28
Lid geworden op: 09 jan 2018, 07:33
SAM-versie: 4.9.0.*
Database: MySQL 5.6
Windows: 7 32-bits

Re: pal Script Jingles aanpassen

Ongelezen bericht door renem » 08 jun 2018, 18:39

Zonder getest te hebben, denk ik dat die dan zo zou moeten zijn:

Code: Selecteer alles

Pal.Loop:=True;
Pal.LockExecution;
while (Now >= T['00:05:00']) and (Now <= T['00:25:00']) or (Now >= T['00:35:00']) and (Now <= T['00:55:00']) or
(Now >= T['01:05:00']) and (Now <= T['01:25:00']) or (Now >= T['01:35:00']) and (Now <= T['01:55:00']) or
(Now >= T['02:05:00']) and (Now <= T['02:25:00']) or (Now >= T['02:35:00']) and (Now <= T['02:55:00']) or
(Now >= T['03:05:00']) and (Now <= T['03:25:00']) or (Now >= T['03:35:00']) and (Now <= T['03:55:00']) or
(Now >= T['04:05:00']) and (Now <= T['04:25:00']) or (Now >= T['04:35:00']) and (Now <= T['04:55:00']) or
(Now >= T['05:05:00']) and (Now <= T['05:25:00']) or (Now >= T['05:35:00']) and (Now <= T['05:55:00']) or
(Now >= T['06:05:00']) and (Now <= T['06:25:00']) or (Now >= T['06:35:00']) and (Now <= T['06:55:00']) or
(Now >= T['07:05:00']) and (Now <= T['07:25:00']) or (Now >= T['07:35:00']) and (Now <= T['07:55:00']) or
(Now >= T['08:05:00']) and (Now <= T['08:25:00']) or (Now >= T['08:35:00']) and (Now <= T['08:55:00']) or
(Now >= T['09:05:00']) and (Now <= T['09:25:00']) or (Now >= T['09:35:00']) and (Now <= T['09:55:00']) or
(Now >= T['10:05:00']) and (Now <= T['10:25:00']) or (Now >= T['10:35:00']) and (Now <= T['10:55:00']) or
(Now >= T['11:05:00']) and (Now <= T['11:25:00']) or (Now >= T['11:35:00']) and (Now <= T['11:55:00']) or
(Now >= T['12:05:00']) and (Now <= T['12:25:00']) or (Now >= T['12:35:00']) and (Now <= T['12:55:00']) or
(Now >= T['13:05:00']) and (Now <= T['13:25:00']) or (Now >= T['13:35:00']) and (Now <= T['13:55:00']) or
(Now >= T['14:05:00']) and (Now <= T['14:25:00']) or (Now >= T['14:35:00']) and (Now <= T['14:55:00']) or
(Now >= T['15:05:00']) and (Now <= T['15:25:00']) or (Now >= T['15:35:00']) and (Now <= T['15:55:00']) or
(Now >= T['16:05:00']) and (Now <= T['16:25:00']) or (Now >= T['16:35:00']) and (Now <= T['16:55:00']) or
(Now >= T['17:05:00']) and (Now <= T['17:25:00']) or (Now >= T['17:35:00']) and (Now <= T['17:55:00']) or
(Now >= T['18:05:00']) and (Now <= T['18:25:00']) or (Now >= T['18:35:00']) and (Now <= T['18:55:00']) or
(Now >= T['19:05:00']) and (Now <= T['19:25:00']) or (Now >= T['19:35:00']) and (Now <= T['19:55:00']) or
(Now >= T['20:05:00']) and (Now <= T['20:25:00']) or (Now >= T['20:35:00']) and (Now <= T['20:55:00']) or
(Now >= T['21:05:00']) and (Now <= T['21:25:00']) or (Now >= T['21:35:00']) and (Now <= T['21:55:00']) or
(Now >= T['22:05:00']) and (Now <= T['22:25:00']) or (Now >= T['22:35:00']) and (Now <= T['22:55:00']) or
(Now >= T['23:05:00']) and (Now <= T['23:25:00']) or (Now >= T['23:35:00']) and (Now <= T['23:55:00']) do


begin
Pal.UnLockExecution;
cat['nonstop'].QueueTop(smLrp,NoRules);
PAL.WaitForPlayCount(2);
Pal.LockExecution;
end;
Pal.UnLockExecution;

Gebruikersavatar
radiofenomeen
Beginnende SAM-gebruiker
Berichten: 2
Lid geworden op: 18 sep 2017, 12:09
SAM-versie: SAM 2016.11
Database: Geen Database
Windows: 7 64-bits
Contacteer:

Re: pal Script Jingles aanpassen

Ongelezen bericht door radiofenomeen » 15 sep 2018, 14:42

Ik heb het probleem, dat ik
35 gesproken jingles, en 45 gezongen jingles heb, maar sam laat steeds hoop dezelfde in

klein overzicht...wat zou hier fout aan moeten zijn ?

Cat['jingle'].QueueBottom(smLemmingLogic,NoRules);
Cat['80s'].QueueBottom(smLemmingLogic, EnforceRules);
Cat['jingle'].QueueBottom(smLemmingLogic,NoRules);
Cat['90s'].QueueBottom(smLemmingLogic, EnforceRules);
Cat['liners'].QueueBottom(smLemmingLogic,NoRules);

Gebruikersavatar
drOhimself
Moderator
Berichten: 2940
Lid geworden op: 27 mar 2010, 11:44
SAM-versie: SAM 2014.7
Database: MySQL 5.0
Windows: 2000

Re: pal Script Jingles aanpassen

Ongelezen bericht door drOhimself » 21 dec 2018, 23:48

Wat gebeurt er als je de jingles ook eens met EnforceRules laat lopen?


Sent from my iPhone using Tapatalk
Groedjez,
drO

Gebruikersavatar
drOhimself
Moderator
Berichten: 2940
Lid geworden op: 27 mar 2010, 11:44
SAM-versie: SAM 2014.7
Database: MySQL 5.0
Windows: 2000

Re: pal Script Jingles aanpassen

Ongelezen bericht door drOhimself » 21 dec 2018, 23:49

Wat gebeurt er als je de jingles ook eens met EnforceRules laat lopen?


Sent from my iPhone using Tapatalk
Groedjez,
drO

Plaats reactie
  • Vergelijkbare Onderwerpen
    Reacties
    Weergaves
    Laatste bericht