Check Player Status

Download and get help for different MediaMonkey for Windows 4 Addons.

Moderators: Peke, Gurus

jaxjon
Posts: 102
Joined: Tue May 27, 2003 8:47 am
Location: Florida USA

Check Player Status

Post by jaxjon »

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
jiri
Posts: 5419
Joined: Tue Aug 14, 2001 7:00 pm
Location: Czech Republic
Contact:

Post by jiri »

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
Post Reply