Skip to Content
It is currently July 7th, 2022, 4:40 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: May 30th, 2022, 10:09 pm 
Offline
Senior User
Senior User

Joined: January 2nd, 2004, 1:07 pm
Posts: 186
Location: Cordoba, Argentina
Hello,

I would like to WaitForPlayCount(1) a Song (songtype="S") but no more than a certain ammount of time; for example, no more than "00:01:30" hours (90 seconds).

Perhaps, an ideal solution would be having a WaitForPlayCount(n, t) where n = count; and t = timeout.

Do you think it's possible to get something similar to the ideal solution just using PAL as currently implemented?

Thanks in advance,

Jorge.-


Top
 Profile  
Reply with quote  
PostPosted: May 31st, 2022, 8:06 am 
Offline
SVS Member
SVS Member

Joined: May 8th, 2004, 9:00 am
Posts: 10571
Location: Denver, CO
Not really possible with the PAL since it executes in a single thread. I'll move to feature request. Not likely to get implemented though. First time I have seen someone want this feature.

_________________
- Rob Oyler, SVS
Image


Top
 Profile  
Reply with quote  
PostPosted: May 31st, 2022, 11:43 am 
Offline
Senior User
Senior User

Joined: January 2nd, 2004, 1:07 pm
Posts: 186
Location: Cordoba, Argentina
DJ Cassio wrote:
Not really possible with the PAL since it executes in a single thread. I'll move to feature request. Not likely to get implemented though. First time I have seen someone want this feature.


Thank you,

I guess that I can try an alternate solution using do while statements and some way to detect song changes among decks, inside.

Best regards,

Jorge.-


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 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