RygelMediaObject 3 LIBRYGEL-SERVER Library
RygelMediaObject Represents a media object (container and item).

## Synopsis

    #define             RYGEL_TYPE_MEDIA_OBJECT
    void                rygel_media_object_get_writable     (RygelMediaObject *self,
                                                             GCancellable *cancellable,
                                                             GAsyncReadyCallback _callback_,
                                                             gpointer _user_data_);
    GFile *             rygel_media_object_get_writable_finish
                                                            (RygelMediaObject *self,
                                                             GAsyncResult *_res_,
                                                             GError **error);
    void                rygel_media_object_get_writables    (RygelMediaObject *self,
                                                             GCancellable *cancellable,
                                                             GAsyncReadyCallback _callback_,
                                                             gpointer _user_data_);
    GeeArrayList *      rygel_media_object_get_writables_finish
                                                            (RygelMediaObject *self,
                                                             GAsyncResult *_res_,
                                                             GError **error);
    gint                rygel_media_object_compare_string_props
                                                            (RygelMediaObject *self,
                                                             const gchar *prop1,
                                                             const gchar *prop2);
    gint                rygel_media_object_compare_int_props
                                                            (RygelMediaObject *self,
                                                             gint prop1,
                                                             gint prop2);
    RygelMediaContainer * rygel_media_object_get_parent_ref (RygelMediaObject *self);
    void                rygel_media_object_set_parent_ref   (RygelMediaObject *self,
                                                             RygelMediaContainer *value);
    const gchar *       rygel_media_object_get_title        (RygelMediaObject *self);
    void                rygel_media_object_set_title        (RygelMediaObject *self,
                                                             const gchar *value);
    struct              RygelMediaObject;

## Description

## Details

### RYGEL_TYPE_MEDIA_OBJECT

    #define RYGEL_TYPE_MEDIA_OBJECT (rygel_media_object_get_type ())

The type for RygelMediaObject.

RYGEL_TYPE_MEDIA_OBJECT

### rygel_media_object_get_writable ()

    void                rygel_media_object_get_writable     (RygelMediaObject *self,
                                                             GCancellable *cancellable,
                                                             GAsyncReadyCallback _callback_,
                                                             gpointer _user_data_);

Fetches a File object for any writable URI available for this object.

See also: ``rygel_media_object_get_writable_finish()``

self :

  the RygelMediaObject instance

cancellable :

  A GLib.Cancellable. [in][allow-none]

_callback_ :

  callback to call when the request is satisfied. [scope async]

_user_data_ :

  the data to pass to _callback_ function. [closure]

rygel_media_object_get_writable

### rygel_media_object_get_writable_finish ()

    GFile *             rygel_media_object_get_writable_finish
                                                            (RygelMediaObject *self,
                                                             GAsyncResult *_res_,
                                                             GError **error);

Fetches a File object for any writable URI available for this object.

See also: ``rygel_media_object_get_writable()``

self :

  the RygelMediaObject instance

_res_ :

  a GAsyncResult

error :

  location to store the error occuring, or `NULL` to ignore

rygel_media_object_get_writable_finish

### rygel_media_object_get_writables ()

    void                rygel_media_object_get_writables    (RygelMediaObject *self,
                                                             GCancellable *cancellable,
                                                             GAsyncReadyCallback _callback_,
                                                             gpointer _user_data_);

Fetches File objects for all writable URIs available for this object.

See also: ``rygel_media_object_get_writables_finish()``

self :

  the RygelMediaObject instance

cancellable :

  A GLib.Cancellable. [in][allow-none]

_callback_ :

  callback to call when the request is satisfied. [scope async]

_user_data_ :

  the data to pass to _callback_ function. [closure]

rygel_media_object_get_writables

### rygel_media_object_get_writables_finish ()

    GeeArrayList *      rygel_media_object_get_writables_finish
                                                            (RygelMediaObject *self,
                                                             GAsyncResult *_res_,
                                                             GError **error);

Fetches File objects for all writable URIs available for this object.

See also: ``rygel_media_object_get_writables()``

self :

  the RygelMediaObject instance

_res_ :

  a GAsyncResult

error :

  location to store the error occuring, or `NULL` to ignore

rygel_media_object_get_writables_finish

### rygel_media_object_compare_string_props ()

    gint                rygel_media_object_compare_string_props
                                                            (RygelMediaObject *self,
                                                             const gchar *prop1,
                                                             const gchar *prop2);

self :

  the RygelMediaObject instance

rygel_media_object_compare_string_props

### rygel_media_object_compare_int_props ()

    gint                rygel_media_object_compare_int_props
                                                            (RygelMediaObject *self,
                                                             gint prop1,
                                                             gint prop2);

self :

  the RygelMediaObject instance

rygel_media_object_compare_int_props

### rygel_media_object_get_parent_ref ()

    RygelMediaContainer * rygel_media_object_get_parent_ref (RygelMediaObject *self);

self :

  the RygelMediaObject instance to query

Returns :

  the value of the "parent-ref" property

rygel_media_object_get_parent_ref

### rygel_media_object_set_parent_ref ()

    void                rygel_media_object_set_parent_ref   (RygelMediaObject *self,
                                                             RygelMediaContainer *value);

self :

  the RygelMediaObject instance to modify

value :

  the new value of the "parent-ref" property

rygel_media_object_set_parent_ref

### rygel_media_object_get_title ()

    const gchar *       rygel_media_object_get_title        (RygelMediaObject *self);

self :

  the RygelMediaObject instance to query

Returns :

  the value of the "title" property

rygel_media_object_get_title

### rygel_media_object_set_title ()

    void                rygel_media_object_set_title        (RygelMediaObject *self,
                                                             const gchar *value);

self :

  the RygelMediaObject instance to modify

value :

  the new value of the "title" property

rygel_media_object_set_title

### struct RygelMediaObject

    struct RygelMediaObject {
    	GObject parent_instance;
    	RygelMediaObjectPrivate * priv;
    	gchar* id;
    	gchar* ref_id;
    	gchar* upnp_class;
    	guint64 modified;
    	GeeArrayList* uris;
    	RygelMediaContainer* parent;
    };

Represents a media object (container and item).

RygelMediaObject