GUPnPAV.CDSLastChangeParser

g GObject.Object GObject.Object GUPnPAV.CDSLastChangeParser GUPnPAV.CDSLastChangeParser GObject.Object->GUPnPAV.CDSLastChangeParser

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

parse (last_change)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

GObject.Object

r

Class Details

class GUPnPAV.CDSLastChangeParser(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

GUPnPAV.CDSLastChangeParserClass

classmethod new()
Returns:

A new instance of GUPnPAV.CDSLastChangeParser.

Return type:

GUPnPAV.CDSLastChangeParser

Create a new GUPnPAV.CDSLastChangeParser.

This parser is able to parse LastChange as defined in the ContentDirectory:3 specification.

parse(last_change)
Parameters:

last_change (str) – XML string to parse

Raises:

GLib.Error

Returns:

List of GUPnPAV.CDSLastChangeEntry s

Return type:

[GUPnPAV.CDSLastChangeEntry]

Parse a LastChange XML document in the flavor defined by the ContentDirectory:3 specification.