RB.Player.play

@accepts(RB.PlayerPlayType, gint64)
@returns(gboolean)
def do_play(self, play_type, crossfade):

Starts playback of the most recently opened stream. if @play_type is RB_PLAYER_PLAY_CROSSFADE, the player may attempt to crossfade the new stream with any existing streams. If it does this, the it will use @crossfade as the duration of the fade.

If @play_type is RB_PLAYER_PLAY_AFTER_EOS, the player may attempt to start the stream immediately after the current playing stream reaches EOS. This may or may not result in the phenomemon known as 'gapless playback'.

If @play_type is RB_PLAYER_PLAY_REPLACE, the player will stop any existing stream before starting the new stream. It may do this anyway, regardless of the value of @play_type.

The 'playing-stream' signal will be emitted when the new stream is actually playing. This may be before or after control returns to the caller.

play_type :

requested playback start type

crossfade :

Returns :

True if playback started successfully