ISDBApplicationEvents::OnPlaybackEnd: Difference between revisions

From MediaMonkey Wiki
Jump to navigation Jump to search
m (introduced)
 
Line 7: Line 7:
Receipt of this event (or indeed, of any event) is not an indicator that the player has stopped.  Testing <tt>SDBPlayer->IsPlaying</tt> on receipt of this message is not reliable; in some cases, <tt>IsPlaying</tt> will be False but the player is still active, switching to the next track to be played.
Receipt of this event (or indeed, of any event) is not an indicator that the player has stopped.  Testing <tt>SDBPlayer->IsPlaying</tt> on receipt of this message is not reliable; in some cases, <tt>IsPlaying</tt> will be False but the player is still active, switching to the next track to be played.


Introduced in MediaMonkey 3.1.0.1223.
{{Introduced|3.1.0.1223}}


[[Category:Scripting|{{PAGENAME}}]]
[[Category:Scripting|{{PAGENAME}}]]

Latest revision as of 21:41, 20 April 2013

CoClass SDBApplication, Interface ISDBApplicationEvents

Sub OnPlaybackEnd


Event description

This event is called when track playback is finished regardless of reason, i.e. either end of track is reached, user presses Stop, Next or Previous button, or there's any other reason for stopping playback. Message may be generated even when no play is active, such as on pressing Play immediately after startup, and after Shutdown.

Receipt of this event (or indeed, of any event) is not an indicator that the player has stopped. Testing SDBPlayer->IsPlaying on receipt of this message is not reliable; in some cases, IsPlaying will be False but the player is still active, switching to the next track to be played.

Introduced in MediaMonkey version 3.1.0.1223.