Skip to Content
It is currently May 21st, 2022, 8:34 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: January 10th, 2022, 6:08 am 
Offline
New User
New User

Joined: January 10th, 2022, 6:00 am
Posts: 1
Hello i need help for a pal script to get from category folder (contain 12 mp3 files) a spoken time mp3 (for example... the time is 2) at the top of the hour...

thank you


Top
 Profile  
Reply with quote  
PostPosted: January 24th, 2022, 8:00 pm 
Offline
New User
New User

Joined: May 6th, 2021, 11:31 pm
Posts: 19
Code:
PAL.Loop := True
;function ActivePlayer:TPlayer; forward;

{Wait for right time}
PAL.WaitForTime(T['XX:59:55']);
Queue.Addfile('insert path/file here',ipTop);
ActivePlayer.FadeToNext;


function ActivePlayer:TPlayer;
begin
if DeckA.Status = psPlaying then
Result := DeckA
else
Result := DeckB;
end;


The above should work for you. (pulls a single file places top of queue, fades current track plays id very close to toh)

Here's a line to pull from a category instead. should be fairly self evident where to delete the line that pulls the single file and paste this one instead.

Code:
;Cat['adz'].QueueTop(smLRP, NoRules);

_________________
Steve

Custom Alexa skills for streaming.
+1 801.449.1068 (text message or voice calls)
3-5 day turnaround.


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: No registered users and 2 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