GUPnPAV.DIDLLiteItem

g GObject.Object GObject.Object GUPnPAV.DIDLLiteObject GUPnPAV.DIDLLiteObject GObject.Object->GUPnPAV.DIDLLiteObject GUPnPAV.DIDLLiteItem GUPnPAV.DIDLLiteItem GUPnPAV.DIDLLiteObject->GUPnPAV.DIDLLiteItem

Subclasses:

None

Methods

Inherited:

GUPnPAV.DIDLLiteObject (63), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_lifetime ()

get_ref_id ()

set_lifetime (lifetime)

set_ref_id (ref_id)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

GUPnPAV.DIDLLiteObject (22)

Name

Type

Flags

Short Description

lifetime

r/w

The lifetime (in seconds) of this item.

ref-id

str

r/w

The ref ID of this item.

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

GUPnPAV.DIDLLiteObject

r

Class Details

class GUPnPAV.DIDLLiteItem(**kwargs)
Bases:

GUPnPAV.DIDLLiteObject

Abstract:

No

Structure:

GUPnPAV.DIDLLiteItemClass

get_lifetime()
Returns:

-1 if unset or the lifetime (in seconds) of the current item.

Return type:

int

get_ref_id()
Returns:

The ref ID of the self, or None.

Return type:

str

Get the ref ID of the self.

set_lifetime(lifetime)
Parameters:

lifetime (int) – The lifetime (in seconds) of this item in a media collection.

set_ref_id(ref_id)
Parameters:

ref_id (str) – The ref ID

Set the ref ID of the self.

Property Details

GUPnPAV.DIDLLiteItem.props.lifetime
Name:

lifetime

Type:

Default Value:

-1

Flags:

READABLE, WRITABLE

The lifetime in seconds of this DIDLLite item in a media collection.

GUPnPAV.DIDLLiteItem.props.ref_id
Name:

ref-id

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

The ref ID of this item.