Check Player Status

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Check Player Status

by jiri » Tue May 25, 2004 10:01 am

In the next release there will be added 'isPlaying' and 'isPaused' properties to the Player object, it should let you better control playback.

A small tip: You can also create scripts (with ScriptType=2 in Scripts.ini) that are executed each time a new track playback starts. Track object is assigned to 'CurrentTrack' variable in that case.

Jiri

Check Player Status

by jaxjon » Tue May 25, 2004 8:50 am

Is there a way with scripting to test if the player has stopped or if the playlist has come to an end? plr.stop tells player to stop but returns nothing.

Also, what is the value of CurrentSongIndex while the player has stopped?

Thank you

Top