Note: This is an archived post that was originally sent to the Hollywood mailing list on 21 Sep 2006 17:35:48 +0200
How i can know if an mp3 file is playing while my hollywood script is running? Anyone can help?
[21 Sep 2006] MP3 file playing
- airsoftsoftwair
- Posts: 5830
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
[25 Sep 2006] Re: MP3 file playing
Note: This is an archived post that was originally sent to the Hollywood mailing list on Mon, 25 Sep 2006 13:35:20 +0200 (CEST)
Hi,
I'm still on vacation and haven't answered all e-mails yet. I'll do this next week when I get back.
Concerning how to check if an MP3 is playing, here's an idea (not sure if it works the way you want...):
If the MP3 is not currently playing, this function should return -1 IIRC. If the return value is <> -1, the MP3 is playing.
Hi,
I'm still on vacation and haven't answered all e-mails yet. I'll do this next week when I get back.
Concerning how to check if an MP3 is playing, here's an idea (not sure if it works the way you want...):
Code: Select all
GetAttribute(#MUSIC, <mp3id>, #ATTRPOSITION)