Skip to Content
It is currently December 9th, 2023, 6:10 am

All times are UTC - 6 hours [ DST ]




 [ 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  
 
PostPosted: October 23rd, 2021, 8:55 am 
Offline
SVS Member
SVS Member

Joined: December 6th, 2004, 9:00 am
Posts: 8306
Location: Cologne (Germany)
Add a PAL Script with this command (or simply type the command into the "add files to queue" event type)
(!empty($user->lang['CODE'])) ? $user->lang['CODE'] : ucwords(strtolower(str_replace('_', ' ', '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  
 
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  
 
PostPosted: October 23rd, 2021, 10:40 am 
Offline
SVS Member
SVS Member

Joined: December 6th, 2004, 9:00 am
Posts: 8306
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...

(!empty($user->lang['CODE'])) ? $user->lang['CODE'] : ucwords(strtolower(str_replace('_', ' ', '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  
 
Display posts from previous:  Sort by  
 [ 4 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 11 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:  
Powered by phpBB® Forum Software © phpBB Group