Printable Version of Topic

Click here to view this topic in its original format

AMIP Community _ Bug Reports _ 'change' callback not registering when repeating song

Posted by: stoff3 Mar 10 2009, 03:00 AM

Hi,

It appears that AMIP doesn't run the 'change' callback when you play the same song twice or more in a row.

Eg:

Play song 1, it gets run.
Play song 2, it gets run.
Play song 2 again, it doesn't run.

2-1-2 works of course, but it doesn't recognize repeats. Any workarounds for this if it's the intended behaviour, if not, is it possible to get a fix out?

Thanks in advance.

Posted by: Serge Mar 10 2009, 06:54 AM

Change means the new song is playing, so it's by design. AMIP cannot detect the songs with the same title being played one after another, it will think that it's the same song.

In theory it's possible to add another callback called Replay which will trigger when the song timer goes from the end of the song to the beginning of the same song. I can add such callback in the future AMIP versions but I doubt that many users will use it.

Posted by: stoff3 Mar 10 2009, 10:22 AM

QUOTE(Serge @ Mar 10 2009, 07:54 AM) *

Change means the new song is playing, so it's by design. AMIP cannot detect the songs with the same title being played one after another, it will think that it's the same song.

In theory it's possible to add another callback called Replay which will trigger when the song timer goes from the end of the song to the beginning of the same song. I can add such callback in the future AMIP versions but I doubt that many users will use it.


I see. The reason I ask is that I have AMIP set up to invoke a script which logs plays to a database, but it obviously doesn't log repeated plays as it is now. If such a callback could be added it would be great, but I understand if you prioritize other matters.

Thanks for clearing this all up.

Powered by Invision Power Board
© Invision Power Services