RygelPlugin

RygelPlugin — This represents a Rygel plugin.

Types and Values

Description

Plugin libraries should provide an object of this class or a subclass in their module_init() function.

It is generally convenient to derive from RygelMediaRendererPlugin from librygel-renderer, or from RygelMediaServerPlugin from librygel-server.

Plugins may change their behaviour based on their configuration. See rygel_meta_config_get_default().

Functions

Types and Values

RYGEL_TYPE_PLUGIN

#define RYGEL_TYPE_PLUGIN (rygel_plugin_get_type ())

The type for RygelPlugin.


struct RygelPlugin

struct RygelPlugin {
	GUPnPResourceFactory parent_instance;
	RygelPluginPrivate * priv;
};

This represents a Rygel plugin.

Plugin libraries should provide an object of this class or a subclass in their module_init() function.

It is generally convenient to derive from RygelMediaRendererPlugin from librygel-renderer, or from RygelMediaServerPlugin from librygel-server.

Plugins may change their behaviour based on their configuration. See rygel_meta_config_get_default().


struct RygelPluginClass

struct RygelPluginClass {
	GUPnPResourceFactoryClass parent_class;
	void (*apply_hacks) (RygelPlugin* self, RygelRootDevice* device, const gchar* description_path, GError** error);
};

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

Members

apply_hacks ()

virtual method called by rygel_plugin_apply_hacks()

 

enum RygelPluginCapabilities

RygelPluginCapabilities is a set of flags that represent various capabilities of plugins.

Members

RYGEL_PLUGIN_CAPABILITIES_NONE

   

RYGEL_PLUGIN_CAPABILITIES_IMAGE_UPLOAD

   

RYGEL_PLUGIN_CAPABILITIES_VIDEO_UPLOAD

   

RYGEL_PLUGIN_CAPABILITIES_AUDIO_UPLOAD

   

RYGEL_PLUGIN_CAPABILITIES_UPLOAD

   

RYGEL_PLUGIN_CAPABILITIES_TRACK_CHANGES

   

RYGEL_PLUGIN_CAPABILITIES_CREATE_CONTAINERS

   

RYGEL_PLUGIN_CAPABILITIES_DIAGNOSTICS

   

RYGEL_PLUGIN_CAPABILITIES_ENERGY_MANAGEMENT