ISDBPlayer::StopAfterCurrent

From MediaMonkey Wiki
Revision as of 13:22, 24 April 2013 by Michal.kocarek (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

CoClass SDBPlayer, Interface ISDBPlayer

Property Get/Let StopAfterCurrent As Boolean

Method description

Stops playback after currently playing track.

Introduced in MediaMonkey version 3.1.2.


Example

'This example will show how to correctly implement
'Correct = As Track is playing we set stop after current
SDB.Player.Play
SDB.Player.StopAfterCurrent = True
MsgBox( "Enabled")

'Incorrect = As Track is not playing setting stop after current doesn't have effect (got reset when player starts playing)
SDB.Player.Stop
SDB.Player.StopAfterCurrent = True
SDB.Player.Play
MsgBox( "Disabled")