weinignummers in cat map en PAL script

Voor vragen over Playlist Automation Language.
Plaats reactie
sjowie

weinignummers in cat map en PAL script

Ongelezen bericht door sjowie »

Hallo,

Wij hebben een programma dat heet mostdownloads
In de map cat map zitten slechts 80 nummers.

Hoe kan ik palscript het beste wijs maken dat hij willekeurig in een uurs uitzending maar verschillende nummers mag pakken.

Een paar PAL scriptjes die ik geprobeerd hebt

Cat['mostdownloads'].QueueBottom(smLRP, EnforceRules);
Cat['mostdownloads'].QueueBottom(smLRP, EnforceRules);
Cat['mostdownloads'].QueueBottom(smLRP, EnforceRules);
Cat['tune'].QueueBottom(smRandom, NoRules);

Cat['mostdownloads'].QueueBottom(smLemmingLogic, EnforceRules);
Cat['mostdownloads'].QueueBottom(smLemmingLogic, EnforceRules);
Cat['mostdownloads'].QueueBottom(smLemmingLogic, EnforceRules);
Cat['tunes'].QueueBottom(smRandom, NoRules);

De bovenste voorbeelden pakken alleen maar jingles :rolleyes:

Cat['mostdownloads'].QueueBottom(smRandom, NoRules);
Cat['mostdownloads'].QueueBottom(smRandom, NoRules);
Cat['mostdownloads'].QueueBottom(smRandom, NoRules);
Cat['tunes'].QueueBottom(smRandom, NoRules);

Het bovenste gaat wel maar pakt te vaak de zelfde nummers. :-)
Gebruikersavatar
Kees
Beheerder
Berichten: 3149
Lid geworden op: 28 nov 2005, 22:07
SAM-versie: 4.2.2.*
Database: MySQL
Windows: 11
Locatie: Bergen op Zoom
Contacteer:

Re: weinignummers in cat map en PAL script

Ongelezen bericht door Kees »

Altijd een probleem met weinig nummers in je cat.
Probeer deze eens

Code: Selecteer alles

Cat['mostdownloads'].QueueBottom(smLRP, NoRules);
PAL.WaitForPlayCount(1); 
Cat['mostdownloads'].QueueBottom(smLRP, NoRules);
PAL.WaitForPlayCount(1); 
Cat['mostdownloads'].QueueBottom(smLRP, NoRules);
PAL.WaitForPlayCount(1); 
Cat['tune'].QueueBottom(smRandom, NoRules);
Plaats reactie
  • Vergelijkbare Onderwerpen
    Reacties
    Weergaves
    Laatste bericht