RB.StreamingSource

g Atk.ImplementorIface Atk.ImplementorIface Gtk.Widget Gtk.Widget Atk.ImplementorIface->Gtk.Widget GObject.GInterface GObject.GInterface GObject.GInterface->Atk.ImplementorIface Gtk.Buildable Gtk.Buildable GObject.GInterface->Gtk.Buildable Gtk.Orientable Gtk.Orientable GObject.GInterface->Gtk.Orientable GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gtk.Box Gtk.Box RB.DisplayPage RB.DisplayPage Gtk.Box->RB.DisplayPage Gtk.Buildable->Gtk.Widget Gtk.Container Gtk.Container Gtk.Container->Gtk.Box Gtk.Orientable->Gtk.Box Gtk.Widget->Gtk.Container RB.Source RB.Source RB.DisplayPage->RB.Source RB.StreamingSource RB.StreamingSource RB.Source->RB.StreamingSource

Subclasses:None

Child Properties

Inherited:Gtk.Box (5)

Style Properties

Inherited:Gtk.Widget (17)

Fields

Inherited:RB.Source (3), RB.DisplayPage (2), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)
Name Type Access Description
parent RB.Source r  

Class Details

class RB.StreamingSource(*args, **kwargs)
Bases:RB.Source
Abstract:No
Structure:RB.StreamingSourceClass
get_progress()
Returns:
text:returns buffering status text
progress:returns buffering progress fraction
Return type:(text: str, progress: float)

Provides status text and progress fraction suitable for use in a streaming source’s rb_source_get_status method.

set_streaming_album(album)
Parameters:album (str) – the new streaming song album name

Updates the streaming song album name. Call this when an updated streaming song album name is received from the stream.

set_streaming_artist(artist)
Parameters:artist (str) – the new streaming song artist name

Updates the streaming song artist name. Call this when an updated streaming song artist name is received from the stream.

set_streaming_title(title)
Parameters:title (str) – the new streaming song title

Updates the streaming song title. Call this when an updated streaming song title is received from the stream.