Constructor

RBAutoPlaylistSourcenew_from_xml

Declaration [src]

RBSource*
rb_auto_playlist_source_new_from_xml (
  RBShell* shell,
  const char* name,
  xmlNodePtr node
)

Description [src]

Creates a new auto playlist source by parsing an XML-encoded query.

Parameters

shell

Type: RBShell

The RBShell instance.

The data is owned by the caller of the function.
name

Type: const char*

Playlist name.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
node

Type: xmlNodePtr

Libxml node containing the playlist.

Return value

Type: RBSource

The new source.

The data is owned by the called function.