RygelMediaObject

RygelMediaObject — Represents a media object (container or item).

Types and Values

Description

The derived RygelMediaContainer class represents a container and the derived MediaItem classes represent media items.

Functions

Types and Values

RYGEL_TYPE_MEDIA_OBJECT

#define RYGEL_TYPE_MEDIA_OBJECT (rygel_media_object_get_type ())

The type for RygelMediaObject.


struct RygelMediaObject

struct RygelMediaObject {
	GObject parent_instance;
	RygelMediaObjectPrivate * priv;
	RygelMediaContainer* parent_ptr;
};

Represents a media object (container or item).

The derived RygelMediaContainer class represents a container and the derived MediaItem classes represent media items.


struct RygelMediaObjectClass

struct RygelMediaObjectClass {
	GObjectClass parent_class;
	void (*add_uri) (RygelMediaObject* self, const gchar* uri);
	GUPnPDIDLLiteObject* (*serialize) (RygelMediaObject* self, RygelSerializer* serializer, RygelHTTPServer* http_server, GError** error);
	RygelDataSource* (*create_stream_source_for_resource) (RygelMediaObject* self, RygelHTTPRequest* request, RygelMediaResource* resource, GError** error);
	void (*apply_didl_lite) (RygelMediaObject* self, GUPnPDIDLLiteObject* didl_object);
	gint (*compare_by_property) (RygelMediaObject* self, RygelMediaObject* media_object, const gchar* property);
	GUPnPOCMFlags (*get_ocm_flags) (RygelMediaObject* self);
};

The class structure for RYGEL_TYPE_MEDIA_OBJECT. All the fields in this structure are private and should never be accessed directly.

Members

add_uri ()

virtual method called by rygel_media_object_add_uri()

 

serialize ()

virtual method called by rygel_media_object_serialize()

 

create_stream_source_for_resource ()

virtual method called by rygel_media_object_create_stream_source_for_resource()

 

apply_didl_lite ()

   

compare_by_property ()

   

get_ocm_flags ()

getter method for the abstract property "ocm-flags"