### Class

# GUPnPAV DIDLLiteObject

#### Description [src]

    abstract class GUPnPAV.DIDLLiteObject : GObject.Object
    {
      /* No available fields */
    }

DIDL-Lite Object

`GUPnPDIDLLiteObject` respresent a DIDL-Lite object element.

#### Ancestors

- GObject

#### Descendants

- GUPnPDIDLLiteContainer
- GUPnPDIDLLiteItem

#### Instance methods

###### gupnp_didl_lite_object_add_artist

Add a new Artist node to the `object` and return the associated `GUPnPDIDLLiteContributor` object.

###### gupnp_didl_lite_object_add_author

Add a new author node to the `object` and return the associated `GUPnPDIDLLiteContributor` object.

###### gupnp_didl_lite_object_add_creator

Add a new creator node to the `object` and return the associated `GUPnPDIDLLiteContributor` object.

###### gupnp_didl_lite_object_add_descriptor

Creates a new descriptor, attaches it to `object` and returns it.

###### gupnp_didl_lite_object_add_resource

Creates a new resource, attaches it to `object` and returns it.

###### gupnp_didl_lite_object_apply_fragments

Updates object by applying `new_fragments` in places of `current_fragments`. For `current_size` and `new_size` -1 can be passed when respectively `current_fragments` and `new_fragments` are NULL terminated.

###### gupnp_didl_lite_object_get_album

Get the album of the `object`.

###### gupnp_didl_lite_object_get_album_art

Get the URI to album art of the `object`.

###### gupnp_didl_lite_object_get_album_xml_string

Creates a string representation of the DIDL-Lite XML fragment related to the object album.

###### gupnp_didl_lite_object_get_artist

Get the artist of the `object`. If role is not `NULL`, it is set to the role of the artist if available.

deprecated: 0.5.3

###### gupnp_didl_lite_object_get_artists

Get the artists of the `object`.

###### gupnp_didl_lite_object_get_artists_xml_string

Creates a string representation of the DIDL-Lite XML fragments related to the object artists.

###### gupnp_didl_lite_object_get_author

Get the author of the `object`.

deprecated: 0.5.3

###### gupnp_didl_lite_object_get_authors

Get the authors of the `object`.

###### gupnp_didl_lite_object_get_compat_resource

Use this function to get a resource from the `object` that is compatible with any of the protocols specified in the `sink_protocol_info`. The value of `sink_protocol_info` will typically be acquired from ‘Sink’ argument of ‘GetProtocolInfo’ action or ‘SinkProtocolInfo’ state-variable of a ConnectionManager service.

###### gupnp_didl_lite_object_get_creator

Get the creator of the `object`.

###### gupnp_didl_lite_object_get_creators

Get the creators of the `object`.

###### gupnp_didl_lite_object_get_date

Get the date of the `object`.

###### gupnp_didl_lite_object_get_date_xml_string

Creates a string representation of the DIDL-Lite XML fragment related to the object date.

###### gupnp_didl_lite_object_get_dc_namespace

Get the pointer to the DublinCore namespace registered with the XML document containing this object.

###### gupnp_didl_lite_object_get_description

Get the description of the `object`.

###### gupnp_didl_lite_object_get_descriptors

Get the descriptors of the `object`.

###### gupnp_didl_lite_object_get_dlna_managed

Get the ‘dlna:dlnaManaged’ attribute of the `object`.

###### gupnp_didl_lite_object_get_dlna_namespace

Get the pointer to the DLNA metadata namespace registered with the XML document containing this object.

###### gupnp_didl_lite_object_get_genre

Get the genre of the `object`.

###### gupnp_didl_lite_object_get_id

Get the ID of the `object`.

###### gupnp_didl_lite_object_get_parent_id

Get the ID of the parent of the `object`.

###### gupnp_didl_lite_object_get_properties

Use this function to retreive property nodes by name.

###### gupnp_didl_lite_object_get_pv_namespace

Get the pointer to the PV metadata namespace registered with the XML document containing this object.

###### gupnp_didl_lite_object_get_resources

Use this function to retreive resources from the `object`.

###### gupnp_didl_lite_object_get_restricted

Whether the `object` is restricted or not.

###### gupnp_didl_lite_object_get_title

Get the title of the `object`.

###### gupnp_didl_lite_object_get_title_xml_string

Creates a string representation of the DIDL-Lite XML fragment related to the object title.

###### gupnp_didl_lite_object_get_track_number

Get the original track number of the `object`.

###### gupnp_didl_lite_object_get_track_number_xml_string

Creates a string representation of the DIDL-Lite XML fragment related to the object track number.

###### gupnp_didl_lite_object_get_update_id

Get the update ID of the `object`.

###### gupnp_didl_lite_object_get_upnp_class

Get the UPnP class of the `object`.

###### gupnp_didl_lite_object_get_upnp_class_xml_string

Creates a string representation of the DIDL-Lite XML fragment related to the object UPnP class.

###### gupnp_didl_lite_object_get_upnp_namespace

Get the pointer to the UPnP namespace registered with the XML document.

###### gupnp_didl_lite_object_get_write_status

Get the write status of the `object`.

###### gupnp_didl_lite_object_get_xml_node

Get the pointer to object node in XML document.

###### gupnp_didl_lite_object_get_xml_string

Get the representation of this object as an XML string.

###### gupnp_didl_lite_object_is_restricted_set

Whehter the restricted attribute exists on `object`.

###### gupnp_didl_lite_object_set_album

Set the album of the `object` to `album`.

###### gupnp_didl_lite_object_set_album_art

Set the URI to album art of the `object` to `album_art`.

###### gupnp_didl_lite_object_set_artist

Set the Artist of the `object` to `artist`.

deprecated: 0.5.3

###### gupnp_didl_lite_object_set_author

Set the Author of the `object` to `author`.

deprecated: 0.5.3

###### gupnp_didl_lite_object_set_creator

Set the creator of the `object` to `creator`.

###### gupnp_didl_lite_object_set_date

Set the date of the `object` to `date`.

###### gupnp_didl_lite_object_set_description

Set the description of the `object` to `description`.

###### gupnp_didl_lite_object_set_dlna_managed

Set the ‘dlna:dlnaManaged’ attribute of the `object` to `dlna_managed`.

###### gupnp_didl_lite_object_set_genre

Set the genre of the `object` to `genre`.

###### gupnp_didl_lite_object_set_id

Set the ID of the `object` to `id`.

###### gupnp_didl_lite_object_set_parent_id

Set the ID of the parent of the `object` to `parent_id`.

###### gupnp_didl_lite_object_set_restricted

Set the restricted status of `object` to `restricted`.

###### gupnp_didl_lite_object_set_title

Set the title of the `object` to `title`.

###### gupnp_didl_lite_object_set_track_number

Set the original track number of the `object` to `track_number`.

###### gupnp_didl_lite_object_set_update_id

Set the update ID of the `object`.

###### gupnp_didl_lite_object_set_upnp_class

Set the UPnP class of the `object` to `upnp_class`.

###### gupnp_didl_lite_object_set_write_status

Set the write status of the `object` to `write_status`.

###### gupnp_didl_lite_object_unset_artists

Unset the artists properties of the `object`.

###### gupnp_didl_lite_object_unset_update_id

Unset the update ID property of the `object`.

###### gupnp_didl_lite_object_update_id_is_set

Get whether the update ID of the `object` is set.

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

#### Properties

###### GUPnPAV.DIDLLiteObject:album

The album of this object.

###### GUPnPAV.DIDLLiteObject:album-art

The URI to album art of this object.

###### GUPnPAV.DIDLLiteObject:artist

The artist of this object.

deprecated: 0.5.3

###### GUPnPAV.DIDLLiteObject:author

The author of this object.

deprecated: 0.5.3

###### GUPnPAV.DIDLLiteObject:creator

The creator of this object.

###### GUPnPAV.DIDLLiteObject:date

The date of this object.

###### GUPnPAV.DIDLLiteObject:dc-namespace

Pointer to the DublinCore namespace registered with the XML document containing this object.

###### GUPnPAV.DIDLLiteObject:description

The description of this object.

###### GUPnPAV.DIDLLiteObject:dlna-managed

The ‘dlna:dlnaManaged’ attribute.

###### GUPnPAV.DIDLLiteObject:dlna-namespace

Pointer to the DLNA metadata namespace registered with the XML document containing this object.

###### GUPnPAV.DIDLLiteObject:genre

The genre of this object.

###### GUPnPAV.DIDLLiteObject:id

The ID of this object.

###### GUPnPAV.DIDLLiteObject:parent-id

The ID of the parent container of this object.

###### GUPnPAV.DIDLLiteObject:pv-namespace

Pointer to the PV metadata namespace registered with the XML document containing this object.

###### GUPnPAV.DIDLLiteObject:restricted

Whether this object is restricted.

###### GUPnPAV.DIDLLiteObject:title

The title of this object.

###### GUPnPAV.DIDLLiteObject:track-number

The original track number of this object.

###### GUPnPAV.DIDLLiteObject:update-id

Update ID of this object.

###### GUPnPAV.DIDLLiteObject:upnp-class

The UPnP class of this object.

###### GUPnPAV.DIDLLiteObject:upnp-namespace

Pointer to the UPnP namespace registered with the XML document containing this object.

###### GUPnPAV.DIDLLiteObject:write-status

The write status of this object.

###### GUPnPAV.DIDLLiteObject:xml-doc

The reference to XML document containing this object.

###### GUPnPAV.DIDLLiteObject:xml-node

The pointer to object node in XML document.

#### Signals

##### Signals inherited from GObject (1)

###### GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

#### Class structure

    struct GUPnPAVDIDLLiteObjectClass {
      GObjectClass parent_class;
      void (* _gupnp_reserved1) (
    void
      );
      void (* _gupnp_reserved2) (
    void
      );
      void (* _gupnp_reserved3) (
    void
      );
      void (* _gupnp_reserved4) (
    void
      );

    }

No description available.

###### Class members

`parent_class: GObjectClass`

  No description available.

`_gupnp_reserved1: void (* _gupnp_reserved1) ( void )`

  No description available.

`_gupnp_reserved2: void (* _gupnp_reserved2) ( void )`

  No description available.

`_gupnp_reserved3: void (* _gupnp_reserved3) ( void )`

  No description available.

`_gupnp_reserved4: void (* _gupnp_reserved4) ( void )`

  No description available.