qiancang wrote:
maybe you can use the %playtime to judge the player is paused or stopped.
when the isPlaying variable is false, if playtime == 0, we can treat it as isStopped.
Thanks a lot.
But i'm afraid, it's not that effective. Since I intended to depend on this to show an animation but everytime a track changed, it also triggered the condition.
But anyways, thanks a lot. It helped me to detect another state. If media player is running.
Code:
if (!%ISPlaying) && (%title == ' ')
{
// then we can assume media not is loaded and player is not running.
}
So, now showing on off state instead of running or not running!
Regards,
digigamer