Rygel.MetaConfig – librygel-core – Vala Binding Reference

Rygel.MetaConfig – librygel-core Reference Manual

# MetaConfig

## Object Hierarchy:

## Description:

public class MetaConfig : `Object`, Configuration

Manages all the configuration sources for Rygel.

Abstracts Rygel and it's plugins from Configuration implementations. It keeps all real configuration sources in a list and returns the value provided by the first one. If none of them provides the value, it emits an error.

Namespace: Rygel
Package: librygel-core

## Content:

### Static methods:

- public static MetaConfig get_default ()
- public static void register_configuration (Configuration config)
- public static void register_default_configurations ()

### Creation methods:

- public MetaConfig ()

### Methods:

- public `bool` get_upnp_enabled () throws `Error`
- public `string` get_interface () throws `Error`
- public `int` get_port () throws `Error`
- public `bool` get_transcoding () throws `Error`
- public `bool` get_mp3_transcoder () throws `Error`
- public `bool` get_mp2ts_transcoder () throws `Error`
- public `bool` get_lpcm_transcoder () throws `Error`
- public `bool` get_wmv_transcoder () throws `Error`
- public `bool` get_aac_transcoder () throws `Error`
- public `bool` get_avc_transcoder () throws `Error`
- public `bool` get_allow_upload () throws `Error`
- public `bool` get_allow_deletion () throws `Error`
- public `string` get_log_levels () throws `Error`
- public `string` get_plugin_path () throws `Error`
- public `string` get_video_upload_folder () throws `Error`
- public `string` get_music_upload_folder () throws `Error`
- public `string` get_picture_upload_folder () throws `Error`
- public `bool` get_enabled (`string` section) throws `Error`
- public `string` get_title (`string` section) throws `Error`
- public `string` get_string (`string` section, `string` key) throws `Error`
- public `ArrayList`<`string`> get_string_list (`string` section, `string` key) throws `Error`
- public `int` get_int (`string` section, `string` key, `int` min, `int` max) throws `Error`
- public `ArrayList`<`int`> get_int_list (`string` section, `string` key) throws `Error`
- public `bool` get_bool (`string` section, `string` key) throws `Error`