RB.AutoPlaylistSource
Methods
Inherited: | RB.PlaylistSource (10), RB.Source (33), RB.DisplayPage (12), Gtk.Box (14), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), Gtk.Orientable (2) |
Structs: | Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5) |
Class Details
-
class
RB.
AutoPlaylistSource
(*args, **kwargs)
-
-
classmethod
new
(shell, name, local)
Parameters: |
- shell (
RB.Shell ) – the RB.Shell instance
- name (
str ) – the name of the new playlist
- local (
bool ) – if True , the playlist will be considered local
|
Returns: | the new source
|
Return type: | RB.Source
|
Creates a new automatic playlist source, initially with an empty query.
-
classmethod
new_from_xml
(shell, name, node)
Parameters: |
|
Returns: | the new source
|
Return type: | RB.Source
|
Creates a new auto playlist source by parsing an XML-encoded query.