RB.Player.open

@accepts(utf8, gpointer, GLib.DestroyNotify)
@returns(gboolean)
def do_open(self, uri, stream_data, stream_data_destroy):

Prepares a stream for playback. Depending on the player implementation, this may stop any existing stream being played. The stream preparation process may continue asynchronously, in which case errors may be reported from rb_player_play or using the 'error' signal.

uri :

stream_data :

arbitrary data to associate with the stream

stream_data_destroy :

function to call to destroy the stream data

Returns :

TRUE if the stream preparation was not unsuccessful