Class
GUPnPAVDIDLLiteResource
Description [src]
class GUPnPAV.DIDLLiteResource : GObject.Object
{
/* No available fields */
}
DIDL-Lite Resource
GUPnPDIDLLiteResource
respresent a DIDL-Lite resource (res) element.
Instance methods
gupnp_didl_lite_resource_get_dlna_namespace
Get the pointer to the DLNA metadata namespace registered with the XML document containing this object.
gupnp_didl_lite_resource_get_pv_namespace
Get the pointer to the DLNA metadata namespace registered with the XML document containing this object.
gupnp_didl_lite_resource_set_audio_channels
Set the number of audio channels in the resource
. Passing a negative number
will unset this property.
gupnp_didl_lite_resource_set_bitrate
Set the bitrate (in bytes per second) of the resource
. Passing a negative
number will unset this property.
gupnp_didl_lite_resource_set_bits_per_sample
Set the sample size of the resource
. Passing a negative number will unset
this property.
gupnp_didl_lite_resource_set_cleartext_size
Set the size (in bytes) of the resource
. Passing a negative number will
unset this property.
gupnp_didl_lite_resource_set_color_depth
Set the color-depth of this image/video resource. Passing a negative number will unset this property.
gupnp_didl_lite_resource_set_duration
Set the duration (in seconds) of the resource
. Passing a negative number
will unset this property.
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.
gupnp_didl_lite_resource_set_protection
Set the protection system used by the resource
. Passing a negative number
will unset this property.
gupnp_didl_lite_resource_set_sample_freq
Set the sample frequency of the resource
. Passing a negative number will
unset this property.
gupnp_didl_lite_resource_set_size
Set the size (in bytes) of the resource
. Passing a negative number will
unset this property.
gupnp_didl_lite_resource_set_size64
Set the size (in bytes) of the resource
. Passing a negative number will
unset this property.
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_width
Set the width of this image/video resource. Setting both width and height to a negative number will unset the resolution property.
gupnp_didl_lite_resource_track_total_is_set
Check whether the total track count property of this resource is set.
gupnp_didl_lite_resource_update_count_is_set
Check whether the update count property of this resource is set.
Properties
GUPnPAV.DIDLLiteResource:dlna-namespace
Pointer to the DLNA metadata namespace registered with the resource object.
GUPnPAV.DIDLLiteResource:pv-namespace
Pointer to the PV metadata namespace registered with the resource 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 GUPnPAVDIDLLiteResourceClass {
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.