Class
GUPnPAVDIDLLiteResource
unstable since: 1.0
Description [src]
class GUPnPAV.DIDLLiteResource : GObject.Object
{
/* No available fields */
}
DIDL-Lite Resource
GUPnPDIDLLiteResource respresent a DIDL-Lite resource (res) element.
Available since: 1.0
Instance methods
gupnp_didl_lite_resource_get_audio_channels
Get the number of audio channels in the resource.
unstable since: 1.0
gupnp_didl_lite_resource_get_bitrate
Get the bitrate (in bytes per second) of the resource.
unstable since: 1.0
gupnp_didl_lite_resource_get_bits_per_sample
Get the sample size of the resource.
unstable since: 1.0
gupnp_didl_lite_resource_get_cleartext_size
Get the size (in bytes) of the resource.
unstable since: 1.0
gupnp_didl_lite_resource_get_color_depth
Get the color-depth of this image/video resource.
unstable since: 1.0
gupnp_didl_lite_resource_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_resource_get_duration
Get the duration (in seconds) of the resource.
unstable since: 1.0
gupnp_didl_lite_resource_get_height
Get the height of this image/video resource.
unstable since: 1.0
gupnp_didl_lite_resource_get_import_uri
Get the import URI associated with the resource.
unstable since: 1.0
gupnp_didl_lite_resource_get_protection
Get the protection system used by the resource.
unstable since: 1.0
gupnp_didl_lite_resource_get_protocol_info
Get the protocol info associated with the resource.
unstable since: 1.0
gupnp_didl_lite_resource_get_pv_namespace
Get the pointer to the DLNA metadata namespace registered with the XML document containing this object.
unstable since: 1.0
gupnp_didl_lite_resource_get_sample_freq
Get the sample frequency of the resource.
unstable since: 1.0
gupnp_didl_lite_resource_get_track_total
Get the total track count of this resource.
unstable since: 1.0
gupnp_didl_lite_resource_get_update_count
Get the update count of this resource.
unstable since: 1.0
gupnp_didl_lite_resource_get_xml_node
Get the pointer to res node in XML document.
unstable since: 1.0
gupnp_didl_lite_resource_set_audio_channels
Set the number of audio channels in the resource. Passing a negative number
will unset this property.
unstable since: 1.0
gupnp_didl_lite_resource_set_bitrate
Set the bitrate (in bytes per second) of the resource. Passing a negative
number will unset this property.
unstable since: 1.0
gupnp_didl_lite_resource_set_bits_per_sample
Set the sample size of the resource. Passing a negative number will unset
this property.
unstable since: 1.0
gupnp_didl_lite_resource_set_cleartext_size
Set the size (in bytes) of the resource. Passing a negative number will
unset this property.
unstable since: 1.0
gupnp_didl_lite_resource_set_color_depth
Set the color-depth of this image/video resource. Passing a negative number will unset this property.
unstable since: 1.0
gupnp_didl_lite_resource_set_duration
Set the duration (in seconds) of the resource. Passing a negative number
will unset this property.
unstable since: 1.0
gupnp_didl_lite_resource_set_height
Set the height of this image/video resource. Setting both width and height to a negative number will unset the resolution property.
unstable since: 1.0
gupnp_didl_lite_resource_set_import_uri
Set the import URI associated with the resource.
unstable since: 1.0
gupnp_didl_lite_resource_set_protection
Set the protection system used by the resource. Passing a negative number
will unset this property.
unstable since: 1.0
gupnp_didl_lite_resource_set_protocol_info
Set the protocol info associated with the resource.
unstable since: 1.0
gupnp_didl_lite_resource_set_sample_freq
Set the sample frequency of the resource. Passing a negative number will
unset this property.
unstable since: 1.0
gupnp_didl_lite_resource_set_size
Set the size (in bytes) of the resource. Passing a negative number will
unset this property.
unstable since: 1.0
gupnp_didl_lite_resource_set_size64
Set the size (in bytes) of the resource. Passing a negative number will
unset this property.
unstable since: 1.0
gupnp_didl_lite_resource_set_subtitle_file_type
Set the type of an external subtitle file, specified via pv:subtitleFileUri using gupnp_didl_lite_resource_set_subtitle_file_uri().
since: 0.12.4
gupnp_didl_lite_resource_set_subtitle_file_uri
Set the URI of an external subtitle file to be used with this resource.
When uri is NULL the value is removed.
since: 0.12.4
gupnp_didl_lite_resource_set_track_total
Set the total number of tracks in this resource.
unstable since: 1.0
gupnp_didl_lite_resource_set_update_count
Set the update count of this resource.
unstable since: 1.0
gupnp_didl_lite_resource_set_width
Set the width of this image/video resource. Setting both width and height to a negative number will unset the resolution property.
unstable since: 1.0
gupnp_didl_lite_resource_track_total_is_set
Check whether the total track count property of this resource is set.
unstable since: 1.0
gupnp_didl_lite_resource_unset_track_total
Unset the total track count of this resource.
unstable since: 1.0
gupnp_didl_lite_resource_unset_update_count
Unset the update count of this resource.
unstable since: 1.0
gupnp_didl_lite_resource_update_count_is_set
Check whether the update count property of this resource is set.
unstable since: 1.0
Properties
GUPnPAV.DIDLLiteResource:audio-channels
The number of audio channels in this resource.
unstable since: 1.0
GUPnPAV.DIDLLiteResource:color-depth
The color-depth of this image/video resource.
unstable since: 1.0
GUPnPAV.DIDLLiteResource:dlna-namespace
Pointer to the DLNA metadata namespace registered with the resource object.
unstable since: 1.0
GUPnPAV.DIDLLiteResource:import-uri
The Import URI associated with this resource.
unstable since: 1.0
GUPnPAV.DIDLLiteResource:protection
The protection system used for this resource.
unstable since: 1.0
GUPnPAV.DIDLLiteResource:protocol-info
The protocol info associated with this resource.
unstable since: 1.0
GUPnPAV.DIDLLiteResource:pv-namespace
Pointer to the PV metadata namespace registered with the resource object.
unstable since: 1.0
GUPnPAV.DIDLLiteResource:subtitle-file-type
Type of external subtitle file. Usually SRT or SMI.
unstable since: 1.0
GUPnPAV.DIDLLiteResource:track-total
Number of tracks in a DIDL_S or DIDL_V resource.
unstable since: 1.0
GUPnPAV.DIDLLiteResource: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 GUPnPAVDIDLLiteResourceClass {
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.