IsMusicPlaying()

Report any Hollywood bugs here
Post Reply
User avatar
Allanon
Posts: 464
Joined: Sun Feb 14, 2010 7:53 pm
Location: Italy
Contact:

IsMusicPlaying()

Post by Allanon » Mon Mar 01, 2010 9:46 pm

Hello,
I've a problem with IsMusicPlaying()

I'm testing it with some mp3 musics but seems to return always True, even if the music is stopped ( using Times = 1 ).
During the playback I'm using an interval function to check (every second) if the music is ended or not, but IsMusicPlaying() returns always TRUE: any hints?

Regards,
Fabio
----------------------------
[Allanon] Fabio Falcucci
AMC - Creative Development // Docs Site // Support Forum
Support me on Patreon for Hollywood libraries!

User avatar
airsoftsoftwair
Posts: 3309
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: IsMusicPlaying()

Post by airsoftsoftwair » Tue Mar 02, 2010 10:59 pm

Ok, seems to be a bug. I'll fix it. You can listen to the "OnMusicEnd" event as a work-around. Check the HollyAmp source code. It uses the "OnMusicEnd" event.

User avatar
Allanon
Posts: 464
Joined: Sun Feb 14, 2010 7:53 pm
Location: Italy
Contact:

Re: IsMusicPlaying()

Post by Allanon » Wed Mar 03, 2010 12:20 am

Thank you for the suggestion Andreas, I've used another workaround right now, but OnMusicEnd is better :)
----------------------------
[Allanon] Fabio Falcucci
AMC - Creative Development // Docs Site // Support Forum
Support me on Patreon for Hollywood libraries!

Post Reply