Skip to Content
It is currently April 3rd, 2020, 9:57 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: January 29th, 2020, 7:21 am 
Offline
Senior User
Senior User

Joined: June 1st, 2005, 11:46 pm
Posts: 119
Location: Cosmopolis, Washington
Can any of you PAL gurus tell me how or if I can add rotation rules to a PAL Script...
Code:
'AND songtype = :songtype ' +
         'AND genre = :genre ' +
         'AND duration < :duration ' +
         'order by rand() limit 1',['S', 'genre', '600000'], True);

So, I use clockwheel for all of my rotations except for a daily show in which I wrote code to play a common themed list of songs based on differing factors. It works great but I want to know how or if I am able to add some code for the songs to follow the rotation rules. Thanks in advance...

Tom

_________________
https://deadtoselfradio.com


Top
 Profile  
Reply with quote  
PostPosted: January 29th, 2020, 8:40 am 
Offline
Senior User
Senior User

Joined: June 1st, 2005, 11:46 pm
Posts: 119
Location: Cosmopolis, Washington
Ah, never mind... figured it out.

_________________
https://deadtoselfradio.com


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group