Class
GUPnPAVDIDLLiteObject
unstable since: 1.0
Description [src]
abstract class GUPnPAV.DIDLLiteObject : GObject.Object
{
/* No available fields */
}
DIDL-Lite Object
GUPnPDIDLLiteObject respresent a DIDL-Lite object element.
Available since: 1.0
Instance methods
gupnp_didl_lite_object_add_artist
Add a new Artist node to the object and return the associated
GUPnPDIDLLiteContributor object.
unstable since: 1.0
gupnp_didl_lite_object_add_author
Add a new author node to the object and return the associated
GUPnPDIDLLiteContributor object.
unstable since: 1.0
gupnp_didl_lite_object_add_creator
Add a new creator node to the object and return the associated
GUPnPDIDLLiteContributor object.
unstable since: 1.0
gupnp_didl_lite_object_add_descriptor
Creates a new descriptor, attaches it to object and returns it.
unstable since: 1.0
gupnp_didl_lite_object_add_resource
Creates a new resource, attaches it to object and returns it.
unstable since: 1.0
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.
unstable since: 1.0
gupnp_didl_lite_object_get_album_xml_string
Creates a string representation of the DIDL-Lite XML fragment related to the object album.
unstable since: 1.0
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.
unstable deprecated: 0.5.3 since: 1.0
gupnp_didl_lite_object_get_artists_xml_string
Creates a string representation of the DIDL-Lite XML fragments related to the object artists.
unstable since: 1.0
gupnp_didl_lite_object_get_author
Get the author of the object.
unstable deprecated: 0.5.3 since: 1.0
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.
unstable since: 1.0
gupnp_didl_lite_object_get_date_xml_string
Creates a string representation of the DIDL-Lite XML fragment related to the object date.
unstable since: 1.0
gupnp_didl_lite_object_get_dc_namespace
Get the pointer to the DublinCore namespace registered with the XML document containing this object.
unstable since: 1.0
gupnp_didl_lite_object_get_dlna_managed
Get the ‘dlna:dlnaManaged’ attribute of the object.
unstable since: 1.0
gupnp_didl_lite_object_get_dlna_namespace
Get the pointer to the DLNA metadata namespace registered with the XML document containing this object.
unstable since: 1.0
gupnp_didl_lite_object_get_properties
Use this function to retreive property nodes by name.
unstable since: 1.0
gupnp_didl_lite_object_get_pv_namespace
Get the pointer to the PV metadata namespace registered with the XML document containing this object.
unstable since: 1.0
gupnp_didl_lite_object_get_resources
Use this function to retreive resources from the object.
unstable since: 1.0
gupnp_didl_lite_object_get_title_xml_string
Creates a string representation of the DIDL-Lite XML fragment related to the object title.
unstable since: 1.0
gupnp_didl_lite_object_get_track_number
Get the original track number of the object.
unstable since: 1.0
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.
unstable since: 1.0
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.
unstable since: 1.0
gupnp_didl_lite_object_get_upnp_namespace
Get the pointer to the UPnP namespace registered with the XML document.
unstable since: 1.0
gupnp_didl_lite_object_get_xml_node
Get the pointer to object node in XML document.
unstable since: 1.0
gupnp_didl_lite_object_get_xml_string
Get the representation of this object as an XML string.
unstable since: 1.0
gupnp_didl_lite_object_is_restricted_set
Whehter the restricted attribute exists on object.
unstable since: 1.0
gupnp_didl_lite_object_set_album_art
Set the URI to album art of the object to album_art.
unstable since: 1.0
gupnp_didl_lite_object_set_artist
Set the Artist of the object to artist.
unstable deprecated: 0.5.3 since: 1.0
gupnp_didl_lite_object_set_author
Set the Author of the object to author.
unstable deprecated: 0.5.3 since: 1.0
gupnp_didl_lite_object_set_description
Set the description of the object to description.
unstable since: 1.0
gupnp_didl_lite_object_set_dlna_managed
Set the ‘dlna:dlnaManaged’ attribute of the object to dlna_managed.
unstable since: 1.0
gupnp_didl_lite_object_set_parent_id
Set the ID of the parent of the object to parent_id.
unstable since: 1.0
gupnp_didl_lite_object_set_restricted
Set the restricted status of object to restricted.
unstable since: 1.0
gupnp_didl_lite_object_set_track_number
Set the original track number of the object to track_number.
unstable since: 1.0
gupnp_didl_lite_object_set_upnp_class
Set the UPnP class of the object to upnp_class.
unstable since: 1.0
gupnp_didl_lite_object_set_write_status
Set the write status of the object to write_status.
unstable since: 1.0
gupnp_didl_lite_object_unset_artists
Unset the artists properties of the object.
unstable since: 1.0
gupnp_didl_lite_object_unset_update_id
Unset the update ID property of the object.
unstable since: 1.0
gupnp_didl_lite_object_update_id_is_set
Get whether the update ID of the object is set.
unstable since: 1.0
Properties
GUPnPAV.DIDLLiteObject:dc-namespace
Pointer to the DublinCore namespace registered with the XML document containing this object.
unstable since: 1.0
GUPnPAV.DIDLLiteObject:dlna-namespace
Pointer to the DLNA metadata namespace registered with the XML document containing this object.
unstable since: 1.0
GUPnPAV.DIDLLiteObject:pv-namespace
Pointer to the PV metadata namespace registered with the XML document containing this object.
unstable since: 1.0
GUPnPAV.DIDLLiteObject:upnp-namespace
Pointer to the UPnP namespace registered with the XML document containing this object.
unstable since: 1.0
GUPnPAV.DIDLLiteObject:xml-doc
The reference to XML document containing this object.
unstable since: 1.0
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.
unstable since: 2.0
Class structure
struct GUPnPAVDIDLLiteObjectClass {
GObjectClass parent_class;
void (* _gupnp_reserved1) (
void
);
void (* _gupnp_reserved2) (
void
);
void (* _gupnp_reserved3) (
void
);
void (* _gupnp_reserved4) (
void
);
}
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.