Skip to Content
It is currently December 6th, 2021, 1:10 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: October 19th, 2021, 5:19 am 
Offline
New User
New User

Joined: October 19th, 2021, 5:05 am
Posts: 2
We have news on the hour and I am looking for a PAL Script to fade the current active playing track to the next track which are loaded in the queue at xx:58:59


Top
 Profile  
Reply with quote  
PostPosted: October 23rd, 2021, 8:55 am 
Offline
SVS Member
SVS Member

Joined: December 6th, 2004, 9:00 am
Posts: 8298
Location: Cologne (Germany)
Add a PAL Script with this command (or simply type the command into the "add files to queue" event type)
Code:
ActivePlayer.FadeToNext;

_________________
Benedikt Bauer - SVS (Spacial Volunteer Support)

Shop for readymade PAL scripts by countrywesterndj - Or get a custom script made by me (or others)

My Project:
Send "Now Playing" from SAM to Twitter and/or Facebook | Sourcecode


Top
 Profile  
Reply with quote  
PostPosted: October 23rd, 2021, 9:42 am 
Offline
New User
New User

Joined: October 19th, 2021, 5:05 am
Posts: 2
Hi Mastacheata,

I create a .Pal file and enter that command, then what do I do?
How do I activate it just before the top of the hour?


Top
 Profile  
Reply with quote  
PostPosted: October 23rd, 2021, 10:40 am 
Offline
SVS Member
SVS Member

Joined: December 6th, 2004, 9:00 am
Posts: 8298
Location: Cologne (Germany)
Just schedule a "Execute PAL Script"-type event at that time.
You could just create 24 of these.

Alternatively you can create a looping PAL script that waits most of the time, but that would be a horrible waste of CPU and memory resources...

Code:
PAL.Loop := True;
PAL.WaitForTime('XX:58:59');
ActivePlayer.FadeToNext;

_________________
Benedikt Bauer - SVS (Spacial Volunteer Support)

Shop for readymade PAL scripts by countrywesterndj - Or get a custom script made by me (or others)

My Project:
Send "Now Playing" from SAM to Twitter and/or Facebook | Sourcecode


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

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 25 guests


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:  
cron
Powered by phpBB® Forum Software © phpBB Group