Top | ![]() |
![]() |
![]() |
![]() |
int | audio-channels | Read / Write |
int | bitrate | Read / Write |
int | bits-per-sample | Read / Write |
gint64 | cleartext-size | Read / Write |
int | color-depth | Read / Write |
GUPnPDLNAConversion | dlna-conversion | Read / Write |
GUPnPDLNAFlags | dlna-flags | Read / Write |
GUPnPDLNAOperation | dlna-operation | Read / Write |
char * | dlna-profile | Read / Write |
glong | duration | Read / Write |
char * | extension | Read / Write |
int | height | Read / Write |
char * | import-uri | Read / Write |
char * | mime-type | Read / Write |
char * | network | Read / Write |
char * | protocol | Read / Write |
int | sample-freq | Read / Write |
gint64 | size | Read / Write |
char * | uri | Read / Write |
int | width | Read / Write |
#define | RYGEL_TYPE_MEDIA_RESOURCE |
struct | RygelMediaResource |
struct | RygelMediaResourceClass |
RygelMediaResource *
rygel_media_resource_dup (RygelMediaResource *self
);
GUPnPDIDLLiteResource * rygel_media_resource_serialize (RygelMediaResource *self
,GUPnPDIDLLiteResource *didl_resource
,GHashTable *replacements
);
void rygel_media_resource_set_protocol_info (RygelMediaResource *self
,GUPnPProtocolInfo *pi
);
GUPnPProtocolInfo * rygel_media_resource_get_protocol_info (RygelMediaResource *self
,GHashTable *replacements
);
gboolean
rygel_media_resource_supports_arbitrary_byte_seek
(RygelMediaResource *self
);
gboolean
rygel_media_resource_supports_arbitrary_time_seek
(RygelMediaResource *self
);
gboolean
rygel_media_resource_supports_limited_byte_seek
(RygelMediaResource *self
);
gboolean
rygel_media_resource_supports_limited_time_seek
(RygelMediaResource *self
);
gboolean
rygel_media_resource_supports_limited_cleartext_byte_seek
(RygelMediaResource *self
);
gboolean
rygel_media_resource_supports_full_cleartext_byte_seek
(RygelMediaResource *self
);
gboolean
rygel_media_resource_is_link_protection_enabled
(RygelMediaResource *self
);
gboolean
rygel_media_resource_is_dlna_content (RygelMediaResource *self
);
gchar *
rygel_media_resource_get_default_transfer_mode
(RygelMediaResource *self
);
gboolean rygel_media_resource_supports_transfer_mode (RygelMediaResource *self
,const gchar *transfer_mode
);
gboolean
rygel_media_resource_is_streamable (RygelMediaResource *self
);
gboolean
rygel_media_resource_is_cleartext_range_support_enabled
(RygelMediaResource *self
);
gboolean
rygel_media_resource_supports_playspeed
(RygelMediaResource *self
);
gboolean rygel_media_resource_is_dlna_protocol_flag_set (RygelMediaResource *self
,glong flags
);
gboolean rygel_media_resource_is_dlna_operation_mode_set (RygelMediaResource *self
,glong flags
);
gchar *
rygel_media_resource_to_string (RygelMediaResource *self
);
RygelMediaResource * rygel_media_resource_new_from_resource (const gchar *name
,RygelMediaResource *that
);
Copy constructor
RygelMediaResource * rygel_media_resource_new_from_didl_lite_resource (const gchar *name
,GUPnPDIDLLiteResource *didl_resource
);
const gchar *
rygel_media_resource_get_uri (RygelMediaResource *self
);
Get and return the current value of the "uri" property.
void rygel_media_resource_set_uri (RygelMediaResource *self
,const gchar *value
);
Set the value of the "uri" property to value
.
const gchar *
rygel_media_resource_get_import_uri (RygelMediaResource *self
);
Get and return the current value of the "import-uri" property.
void rygel_media_resource_set_import_uri (RygelMediaResource *self
,const gchar *value
);
Set the value of the "import-uri" property to value
.
self |
the RygelMediaResource instance to modify |
|
value |
the new value of the "import-uri" property |
const gchar *
rygel_media_resource_get_extension (RygelMediaResource *self
);
Get and return the current value of the "extension" property.
void rygel_media_resource_set_extension (RygelMediaResource *self
,const gchar *value
);
Set the value of the "extension" property to value
.
self |
the RygelMediaResource instance to modify |
|
value |
the new value of the "extension" property |
gint64
rygel_media_resource_get_size (RygelMediaResource *self
);
Get and return the current value of the "size" property.
void rygel_media_resource_set_size (RygelMediaResource *self
,gint64 value
);
Set the value of the "size" property to value
.
self |
the RygelMediaResource instance to modify |
|
value |
the new value of the "size" property |
gint64
rygel_media_resource_get_cleartext_size
(RygelMediaResource *self
);
Get and return the current value of the "cleartext-size" property.
void rygel_media_resource_set_cleartext_size (RygelMediaResource *self
,gint64 value
);
Set the value of the "cleartext-size" property to value
.
self |
the RygelMediaResource instance to modify |
|
value |
the new value of the "cleartext-size" property |
glong
rygel_media_resource_get_duration (RygelMediaResource *self
);
Get and return the current value of the "duration" property.
void rygel_media_resource_set_duration (RygelMediaResource *self
,glong value
);
Set the value of the "duration" property to value
.
self |
the RygelMediaResource instance to modify |
|
value |
the new value of the "duration" property |
gint
rygel_media_resource_get_bitrate (RygelMediaResource *self
);
Get and return the current value of the "bitrate" property.
void rygel_media_resource_set_bitrate (RygelMediaResource *self
,gint value
);
Set the value of the "bitrate" property to value
.
self |
the RygelMediaResource instance to modify |
|
value |
the new value of the "bitrate" property |
gint
rygel_media_resource_get_bits_per_sample
(RygelMediaResource *self
);
Get and return the current value of the "bits-per-sample" property.
void rygel_media_resource_set_bits_per_sample (RygelMediaResource *self
,gint value
);
Set the value of the "bits-per-sample" property to value
.
self |
the RygelMediaResource instance to modify |
|
value |
the new value of the "bits-per-sample" property |
gint
rygel_media_resource_get_color_depth (RygelMediaResource *self
);
Get and return the current value of the "color-depth" property.
void rygel_media_resource_set_color_depth (RygelMediaResource *self
,gint value
);
Set the value of the "color-depth" property to value
.
self |
the RygelMediaResource instance to modify |
|
value |
the new value of the "color-depth" property |
gint
rygel_media_resource_get_width (RygelMediaResource *self
);
Get and return the current value of the "width" property.
void rygel_media_resource_set_width (RygelMediaResource *self
,gint value
);
Set the value of the "width" property to value
.
self |
the RygelMediaResource instance to modify |
|
value |
the new value of the "width" property |
gint
rygel_media_resource_get_height (RygelMediaResource *self
);
Get and return the current value of the "height" property.
void rygel_media_resource_set_height (RygelMediaResource *self
,gint value
);
Set the value of the "height" property to value
.
self |
the RygelMediaResource instance to modify |
|
value |
the new value of the "height" property |
gint
rygel_media_resource_get_audio_channels
(RygelMediaResource *self
);
Get and return the current value of the "audio-channels" property.
void rygel_media_resource_set_audio_channels (RygelMediaResource *self
,gint value
);
Set the value of the "audio-channels" property to value
.
self |
the RygelMediaResource instance to modify |
|
value |
the new value of the "audio-channels" property |
gint
rygel_media_resource_get_sample_freq (RygelMediaResource *self
);
Get and return the current value of the "sample-freq" property.
void rygel_media_resource_set_sample_freq (RygelMediaResource *self
,gint value
);
Set the value of the "sample-freq" property to value
.
self |
the RygelMediaResource instance to modify |
|
value |
the new value of the "sample-freq" property |
const gchar *
rygel_media_resource_get_protocol (RygelMediaResource *self
);
Get and return the current value of the "protocol" property.
void rygel_media_resource_set_protocol (RygelMediaResource *self
,const gchar *value
);
Set the value of the "protocol" property to value
.
self |
the RygelMediaResource instance to modify |
|
value |
the new value of the "protocol" property |
const gchar *
rygel_media_resource_get_mime_type (RygelMediaResource *self
);
Get and return the current value of the "mime-type" property.
void rygel_media_resource_set_mime_type (RygelMediaResource *self
,const gchar *value
);
Set the value of the "mime-type" property to value
.
self |
the RygelMediaResource instance to modify |
|
value |
the new value of the "mime-type" property |
const gchar *
rygel_media_resource_get_dlna_profile (RygelMediaResource *self
);
Get and return the current value of the "dlna-profile" property.
void rygel_media_resource_set_dlna_profile (RygelMediaResource *self
,const gchar *value
);
Set the value of the "dlna-profile" property to value
.
self |
the RygelMediaResource instance to modify |
|
value |
the new value of the "dlna-profile" property |
const gchar *
rygel_media_resource_get_network (RygelMediaResource *self
);
Get and return the current value of the "network" property.
void rygel_media_resource_set_network (RygelMediaResource *self
,const gchar *value
);
Set the value of the "network" property to value
.
self |
the RygelMediaResource instance to modify |
|
value |
the new value of the "network" property |
GUPnPDLNAConversion
rygel_media_resource_get_dlna_conversion
(RygelMediaResource *self
);
Get and return the current value of the "dlna-conversion" property.
void rygel_media_resource_set_dlna_conversion (RygelMediaResource *self
,GUPnPDLNAConversion value
);
Set the value of the "dlna-conversion" property to value
.
self |
the RygelMediaResource instance to modify |
|
value |
the new value of the "dlna-conversion" property |
GUPnPDLNAFlags
rygel_media_resource_get_dlna_flags (RygelMediaResource *self
);
Get and return the current value of the "dlna-flags" property.
void rygel_media_resource_set_dlna_flags (RygelMediaResource *self
,GUPnPDLNAFlags value
);
Set the value of the "dlna-flags" property to value
.
self |
the RygelMediaResource instance to modify |
|
value |
the new value of the "dlna-flags" property |
GUPnPDLNAOperation
rygel_media_resource_get_dlna_operation
(RygelMediaResource *self
);
Get and return the current value of the "dlna-operation" property.
void rygel_media_resource_set_dlna_operation (RygelMediaResource *self
,GUPnPDLNAOperation value
);
Set the value of the "dlna-operation" property to value
.
self |
the RygelMediaResource instance to modify |
|
value |
the new value of the "dlna-operation" property |
#define RYGEL_TYPE_MEDIA_RESOURCE (rygel_media_resource_get_type ())
The type for RygelMediaResource.
struct RygelMediaResource;
Represents a media resource (Music, Video, Image, etc).
struct RygelMediaResourceClass { GObjectClass parent_class; };
The class structure for RYGEL_TYPE_MEDIA_RESOURCE
. All the fields in this structure are private and should never be accessed directly.
“audio-channels”
property “audio-channels” int
audio-channels.
Owner: RygelMediaResource
Flags: Read / Write
Default value: -1
“bitrate”
property “bitrate” int
bitrate.
Owner: RygelMediaResource
Flags: Read / Write
Default value: -1
“bits-per-sample”
property “bits-per-sample” int
bits-per-sample.
Owner: RygelMediaResource
Flags: Read / Write
Default value: -1
“cleartext-size”
property“cleartext-size” gint64
cleartext-size.
Owner: RygelMediaResource
Flags: Read / Write
Default value: -1
“color-depth”
property “color-depth” int
color-depth.
Owner: RygelMediaResource
Flags: Read / Write
Default value: -1
“dlna-conversion”
property “dlna-conversion” GUPnPDLNAConversion
dlna-conversion.
Owner: RygelMediaResource
Flags: Read / Write
“dlna-flags”
property “dlna-flags” GUPnPDLNAFlags
dlna-flags.
Owner: RygelMediaResource
Flags: Read / Write
“dlna-operation”
property “dlna-operation” GUPnPDLNAOperation
dlna-operation.
Owner: RygelMediaResource
Flags: Read / Write
“dlna-profile”
property “dlna-profile” char *
dlna-profile.
Owner: RygelMediaResource
Flags: Read / Write
Default value: NULL
“duration”
property“duration” glong
duration.
Owner: RygelMediaResource
Flags: Read / Write
Default value: -1
“extension”
property “extension” char *
extension.
Owner: RygelMediaResource
Flags: Read / Write
Default value: NULL
“height”
property “height” int
height.
Owner: RygelMediaResource
Flags: Read / Write
Default value: -1
“import-uri”
property “import-uri” char *
import-uri.
Owner: RygelMediaResource
Flags: Read / Write
Default value: NULL
“mime-type”
property “mime-type” char *
mime-type.
Owner: RygelMediaResource
Flags: Read / Write
Default value: NULL
“network”
property “network” char *
network.
Owner: RygelMediaResource
Flags: Read / Write
Default value: NULL
“protocol”
property “protocol” char *
protocol.
Owner: RygelMediaResource
Flags: Read / Write
Default value: NULL
“sample-freq”
property “sample-freq” int
sample-freq.
Owner: RygelMediaResource
Flags: Read / Write
Default value: -1
“size”
property“size” gint64
size.
Owner: RygelMediaResource
Flags: Read / Write
Default value: -1
“uri”
property “uri” char *
uri.
Owner: RygelMediaResource
Flags: Read / Write
Default value: NULL