Class

GUPnPAVDIDLLiteResource

Description [src]

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

DIDL-Lite Resource

GUPnPDIDLLiteResource respresent a DIDL-Lite resource (res) element.

Ancestors

Instance methods

gupnp_didl_lite_resource_get_audio_channels

Get the number of audio channels in the resource.

gupnp_didl_lite_resource_get_bitrate

Get the bitrate (in bytes per second) of the resource.

gupnp_didl_lite_resource_get_bits_per_sample

Get the sample size of the resource.

gupnp_didl_lite_resource_get_cleartext_size

Get the size (in bytes) of the resource.

gupnp_didl_lite_resource_get_color_depth

Get the color-depth of this image/video resource.

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_duration

Get the duration (in seconds) of the resource.

gupnp_didl_lite_resource_get_height

Get the height of this image/video resource.

gupnp_didl_lite_resource_get_import_uri

Get the import URI associated with the resource.

gupnp_didl_lite_resource_get_protection

Get the protection system used by the resource.

gupnp_didl_lite_resource_get_protocol_info

Get the protocol info associated with the resource.

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_get_sample_freq

Get the sample frequency of the resource.

gupnp_didl_lite_resource_get_size

Get the size (in bytes) of the resource.

gupnp_didl_lite_resource_get_size64

Get the size (in bytes) of the resource.

gupnp_didl_lite_resource_get_subtitle_file_type
No description available.

since: 0.12.4

gupnp_didl_lite_resource_get_subtitle_file_uri
No description available.

since: 0.12.4

gupnp_didl_lite_resource_get_track_total

Get the total track count of this resource.

gupnp_didl_lite_resource_get_update_count

Get the update count of this resource.

gupnp_didl_lite_resource_get_uri

Get the URI associated with the resource.

gupnp_didl_lite_resource_get_width

Get the width of this image/video resource.

gupnp_didl_lite_resource_get_xml_node

Get the pointer to res node in XML document.

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_import_uri

Set the import URI associated with the resource.

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_protocol_info

Set the protocol info associated with the resource.

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_track_total

Set the total number of tracks in this resource.

gupnp_didl_lite_resource_set_update_count

Set the update count of this resource.

gupnp_didl_lite_resource_set_uri

Set the URI associated with the resource.

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_unset_track_total

Unset the total track count of this resource.

gupnp_didl_lite_resource_unset_update_count

Unset the update count of this resource.

gupnp_didl_lite_resource_update_count_is_set

Check whether the update count property of this resource is set.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

GUPnPAV.DIDLLiteResource:audio-channels

The number of audio channels in this resource.

GUPnPAV.DIDLLiteResource:bitrate

The bitrate of this resource.

GUPnPAV.DIDLLiteResource:bits-per-sample

The sample size of this resource.

GUPnPAV.DIDLLiteResource:cleartext-size
No description available.

GUPnPAV.DIDLLiteResource:color-depth

The color-depth of this image/video resource.

GUPnPAV.DIDLLiteResource:dlna-namespace

Pointer to the DLNA metadata namespace registered with the resource object.

GUPnPAV.DIDLLiteResource:duration

The duration (in seconds) of this resource.

GUPnPAV.DIDLLiteResource:height

The height of this image/video resource.

GUPnPAV.DIDLLiteResource:import-uri

The Import URI associated with this resource.

GUPnPAV.DIDLLiteResource:protection

The protection system used for this resource.

GUPnPAV.DIDLLiteResource:protocol-info

The protocol info associated with this resource.

GUPnPAV.DIDLLiteResource:pv-namespace

Pointer to the PV metadata namespace registered with the resource object.

GUPnPAV.DIDLLiteResource:sample-freq

The sample frequency of this resource.

GUPnPAV.DIDLLiteResource:size

The size (in bytes) of this resource.

GUPnPAV.DIDLLiteResource:size64

The size (in bytes) of this resource.

GUPnPAV.DIDLLiteResource:subtitle-file-type

Type of external subtitle file. Usually SRT or SMI.

GUPnPAV.DIDLLiteResource:subtitle-file-uri

Uri to external subtitle file.

GUPnPAV.DIDLLiteResource:track-total

Number of tracks in a DIDL_S or DIDL_V resource.

GUPnPAV.DIDLLiteResource:update-count
No description available.

GUPnPAV.DIDLLiteResource:uri

The URI associated with this resource.

GUPnPAV.DIDLLiteResource:width

The width of this image/video resource.

GUPnPAV.DIDLLiteResource:xml-doc

The reference to XML document containing this object.

GUPnPAV.DIDLLiteResource:xml-node

The pointer to res 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 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.