Class
GUPnPAVDIDLLiteObject
Description [src]
abstract class GUPnPAV.DIDLLiteObject : GObject.Object
{
/* No available fields */
}
DIDL-Lite Object
GUPnPDIDLLiteObject
respresent a DIDL-Lite object element.
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_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_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_xml_string
Creates a string representation of the DIDL-Lite XML fragments related to the object artists.
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_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_dlna_namespace
Get the pointer to the DLNA metadata namespace registered with the XML document containing this object.
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_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_xml_string
Creates a string representation of the DIDL-Lite XML fragment related to the object track number.
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_set_dlna_managed
Set the ‘dlna:dlnaManaged’ attribute of the object
to dlna_managed
.
gupnp_didl_lite_object_set_track_number
Set the original track number of the object
to track_number
.
Properties
GUPnPAV.DIDLLiteObject:dc-namespace
Pointer to the DublinCore namespace registered with the XML document containing this object.
GUPnPAV.DIDLLiteObject:dlna-namespace
Pointer to the DLNA metadata namespace registered with the XML document containing this object.
GUPnPAV.DIDLLiteObject:pv-namespace
Pointer to the PV metadata namespace registered with the XML document containing this object.
GUPnPAV.DIDLLiteObject:upnp-namespace
Pointer to the UPnP namespace registered with the XML document containing this object.
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.