Check Player Status

Download and get help for different MediaMonkey Addons.

Moderators: Peke, Gurus

Check Player Status

Postby 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
jaxjon
 
Posts: 102
Joined: Tue May 27, 2003 8:47 am
Location: Florida USA

Postby mockturtle » 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
mockturtle
 
Posts: 8
Joined: Wed Jun 18, 2008 4:49 pm


Return to Need Help with Addons?

Who is online

Users browsing this forum: No registered users and 8 guests