activate_source_by_uri

@accepts(utf8, guint)
@returns(gboolean)
def activate_source_by_uri(source_uri, play)

Searches for a source matching @source_uri and if found, selects it, and depending on the value of @play, may start playing from it. Device-based sources will match the device node or mount point URI. Other types of sources may have their own URI scheme or format. This is part of the DBus interface.

source_uri :

URI for the source to activate

play :

0: select source, 1: play source if not playing, 2: play source

Returns :

True if successful