/* rygel-meta-config.c generated by valac 0.20.1, the Vala compiler
 * generated from rygel-meta-config.vala, do not modify */

/*
 * Copyright (C) 2008,2009 Nokia Corporation.
 * Copyright (C) 2008,2009 Zeeshan Ali (Khattak) <zeeshanak@gnome.org>.
 * Copyright (C) 2012 Intel Corporation.
 *
 * Author: Zeeshan Ali (Khattak) <zeeshanak@gnome.org>
 *                               <zeeshan.ali@nokia.com>
 *         Krzesimir Nowak <krnowak@openismus.com>
 *         Jens Georg <jensg@openismus.com>
 *
 * This file is part of Rygel.
 *
 * Rygel is free software; you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * Rygel is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program; if not, write to the Free Software Foundation,
 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 */

#include <glib.h>
#include <glib-object.h>
#include <stdlib.h>
#include <string.h>
#include <gee.h>
#include <glib/gi18n-lib.h>


#define RYGEL_TYPE_CONFIGURATION (rygel_configuration_get_type ())
#define RYGEL_CONFIGURATION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), RYGEL_TYPE_CONFIGURATION, RygelConfiguration))
#define RYGEL_IS_CONFIGURATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), RYGEL_TYPE_CONFIGURATION))
#define RYGEL_CONFIGURATION_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), RYGEL_TYPE_CONFIGURATION, RygelConfigurationIface))

typedef struct _RygelConfiguration RygelConfiguration;
typedef struct _RygelConfigurationIface RygelConfigurationIface;

#define RYGEL_TYPE_META_CONFIG (rygel_meta_config_get_type ())
#define RYGEL_META_CONFIG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), RYGEL_TYPE_META_CONFIG, RygelMetaConfig))
#define RYGEL_META_CONFIG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), RYGEL_TYPE_META_CONFIG, RygelMetaConfigClass))
#define RYGEL_IS_META_CONFIG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), RYGEL_TYPE_META_CONFIG))
#define RYGEL_IS_META_CONFIG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), RYGEL_TYPE_META_CONFIG))
#define RYGEL_META_CONFIG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), RYGEL_TYPE_META_CONFIG, RygelMetaConfigClass))

typedef struct _RygelMetaConfig RygelMetaConfig;
typedef struct _RygelMetaConfigClass RygelMetaConfigClass;
typedef struct _RygelMetaConfigPrivate RygelMetaConfigPrivate;

#define RYGEL_TYPE_CONFIGURATION_ENTRY (rygel_configuration_entry_get_type ())

#define RYGEL_TYPE_SECTION_ENTRY (rygel_section_entry_get_type ())
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))
#define _g_regex_unref0(var) ((var == NULL) ? NULL : (var = (g_regex_unref (var), NULL)))

struct _RygelConfigurationIface {
	GTypeInterface parent_iface;
	gboolean (*get_upnp_enabled) (RygelConfiguration* self, GError** error);
	gchar* (*get_interface) (RygelConfiguration* self, GError** error);
	gchar** (*get_interfaces) (RygelConfiguration* self, GError** error);
	gint (*get_port) (RygelConfiguration* self, GError** error);
	gboolean (*get_transcoding) (RygelConfiguration* self, GError** error);
	gboolean (*get_allow_upload) (RygelConfiguration* self, GError** error);
	gboolean (*get_allow_deletion) (RygelConfiguration* self, GError** error);
	gchar* (*get_log_levels) (RygelConfiguration* self, GError** error);
	gchar* (*get_plugin_path) (RygelConfiguration* self, GError** error);
	gchar* (*get_engine_path) (RygelConfiguration* self, GError** error);
	gchar* (*get_media_engine) (RygelConfiguration* self, GError** error);
	gchar* (*get_video_upload_folder) (RygelConfiguration* self, GError** error);
	gchar* (*get_music_upload_folder) (RygelConfiguration* self, GError** error);
	gchar* (*get_picture_upload_folder) (RygelConfiguration* self, GError** error);
	gboolean (*get_enabled) (RygelConfiguration* self, const gchar* section, GError** error);
	gchar* (*get_title) (RygelConfiguration* self, const gchar* section, GError** error);
	gchar* (*get_string) (RygelConfiguration* self, const gchar* section, const gchar* key, GError** error);
	GeeArrayList* (*get_string_list) (RygelConfiguration* self, const gchar* section, const gchar* key, GError** error);
	gint (*get_int) (RygelConfiguration* self, const gchar* section, const gchar* key, gint min, gint max, GError** error);
	GeeArrayList* (*get_int_list) (RygelConfiguration* self, const gchar* section, const gchar* key, GError** error);
	gboolean (*get_bool) (RygelConfiguration* self, const gchar* section, const gchar* key, GError** error);
};

struct _RygelMetaConfig {
	GObject parent_instance;
	RygelMetaConfigPrivate * priv;
};

struct _RygelMetaConfigClass {
	GObjectClass parent_class;
};

typedef enum  {
	RYGEL_CONFIGURATION_ENTRY_UPNP_ENABLED,
	RYGEL_CONFIGURATION_ENTRY_INTERFACE,
	RYGEL_CONFIGURATION_ENTRY_PORT,
	RYGEL_CONFIGURATION_ENTRY_TRANSCODING,
	RYGEL_CONFIGURATION_ENTRY_ALLOW_UPLOAD,
	RYGEL_CONFIGURATION_ENTRY_ALLOW_DELETION,
	RYGEL_CONFIGURATION_ENTRY_LOG_LEVELS,
	RYGEL_CONFIGURATION_ENTRY_PLUGIN_PATH,
	RYGEL_CONFIGURATION_ENTRY_VIDEO_UPLOAD_FOLDER,
	RYGEL_CONFIGURATION_ENTRY_MUSIC_UPLOAD_FOLDER,
	RYGEL_CONFIGURATION_ENTRY_PICTURE_UPLOAD_FOLDER
} RygelConfigurationEntry;

typedef enum  {
	RYGEL_SECTION_ENTRY_TITLE,
	RYGEL_SECTION_ENTRY_ENABLED
} RygelSectionEntry;

typedef enum  {
	RYGEL_CONFIGURATION_ERROR_NO_VALUE_SET,
	RYGEL_CONFIGURATION_ERROR_VALUE_OUT_OF_RANGE
} RygelConfigurationError;
#define RYGEL_CONFIGURATION_ERROR rygel_configuration_error_quark ()

static gpointer rygel_meta_config_parent_class = NULL;
static RygelMetaConfig* rygel_meta_config_meta_config;
static RygelMetaConfig* rygel_meta_config_meta_config = NULL;
static GeeArrayList* rygel_meta_config_configs;
static GeeArrayList* rygel_meta_config_configs = NULL;
static RygelConfigurationIface* rygel_meta_config_rygel_configuration_parent_iface = NULL;

GType rygel_configuration_get_type (void) G_GNUC_CONST;
GType rygel_meta_config_get_type (void) G_GNUC_CONST;
enum  {
	RYGEL_META_CONFIG_DUMMY_PROPERTY
};
static void rygel_meta_config_connect_signals (RygelMetaConfig* self, RygelConfiguration* config);
GType rygel_configuration_entry_get_type (void) G_GNUC_CONST;
static void rygel_meta_config_on_configuration_changed (RygelMetaConfig* self, RygelConfiguration* affected_config, RygelConfigurationEntry entry);
static void _rygel_meta_config_on_configuration_changed_rygel_configuration_configuration_changed (RygelConfiguration* _sender, RygelConfigurationEntry entry, gpointer self);
GType rygel_section_entry_get_type (void) G_GNUC_CONST;
static void rygel_meta_config_on_section_changed (RygelMetaConfig* self, RygelConfiguration* affected_config, const gchar* section, RygelSectionEntry entry);
static void _rygel_meta_config_on_section_changed_rygel_configuration_section_changed (RygelConfiguration* _sender, const gchar* section, RygelSectionEntry entry, gpointer self);
static void rygel_meta_config_on_setting_changed (RygelMetaConfig* self, RygelConfiguration* affected_config, const gchar* section, const gchar* key);
static void _rygel_meta_config_on_setting_changed_rygel_configuration_setting_changed (RygelConfiguration* _sender, const gchar* section, const gchar* key, gpointer self);
RygelMetaConfig* rygel_meta_config_get_default (void);
RygelMetaConfig* rygel_meta_config_new (void);
RygelMetaConfig* rygel_meta_config_construct (GType object_type);
void rygel_meta_config_register_configuration (RygelConfiguration* config);
static gboolean rygel_meta_config_real_get_upnp_enabled (RygelConfiguration* base, GError** error);
gboolean rygel_configuration_get_upnp_enabled (RygelConfiguration* self, GError** error);
GQuark rygel_configuration_error_quark (void);
static gchar* rygel_meta_config_real_get_interface (RygelConfiguration* base, GError** error);
gchar* rygel_configuration_get_interface (RygelConfiguration* self, GError** error) G_GNUC_DEPRECATED;
static gchar** rygel_meta_config_real_get_interfaces (RygelConfiguration* base, GError** error);
gchar** rygel_configuration_get_interfaces (RygelConfiguration* self, GError** error);
static gint rygel_meta_config_real_get_port (RygelConfiguration* base, GError** error);
gint rygel_configuration_get_port (RygelConfiguration* self, GError** error);
static gboolean rygel_meta_config_real_get_transcoding (RygelConfiguration* base, GError** error);
gboolean rygel_configuration_get_transcoding (RygelConfiguration* self, GError** error);
static gboolean rygel_meta_config_real_get_allow_upload (RygelConfiguration* base, GError** error);
gboolean rygel_configuration_get_allow_upload (RygelConfiguration* self, GError** error);
static gboolean rygel_meta_config_real_get_allow_deletion (RygelConfiguration* base, GError** error);
gboolean rygel_configuration_get_allow_deletion (RygelConfiguration* self, GError** error);
static gchar* rygel_meta_config_real_get_log_levels (RygelConfiguration* base, GError** error);
gchar* rygel_configuration_get_log_levels (RygelConfiguration* self, GError** error);
static gchar* rygel_meta_config_real_get_plugin_path (RygelConfiguration* base, GError** error);
gchar* rygel_configuration_get_plugin_path (RygelConfiguration* self, GError** error);
static gchar* rygel_meta_config_real_get_media_engine (RygelConfiguration* base, GError** error);
gchar* rygel_configuration_get_media_engine (RygelConfiguration* self, GError** error);
static gchar* rygel_meta_config_real_get_engine_path (RygelConfiguration* base, GError** error);
gchar* rygel_configuration_get_engine_path (RygelConfiguration* self, GError** error);
static gchar* rygel_meta_config_real_get_video_upload_folder (RygelConfiguration* base, GError** error);
gchar* rygel_configuration_get_video_upload_folder (RygelConfiguration* self, GError** error);
static gchar* rygel_meta_config_real_get_music_upload_folder (RygelConfiguration* base, GError** error);
gchar* rygel_configuration_get_music_upload_folder (RygelConfiguration* self, GError** error);
static gchar* rygel_meta_config_real_get_picture_upload_folder (RygelConfiguration* base, GError** error);
gchar* rygel_configuration_get_picture_upload_folder (RygelConfiguration* self, GError** error);
static gboolean rygel_meta_config_real_get_enabled (RygelConfiguration* base, const gchar* section, GError** error);
gboolean rygel_configuration_get_enabled (RygelConfiguration* self, const gchar* section, GError** error);
static gchar* rygel_meta_config_real_get_title (RygelConfiguration* base, const gchar* section, GError** error);
gchar* rygel_configuration_get_title (RygelConfiguration* self, const gchar* section, GError** error);
static gchar* rygel_meta_config_real_get_string (RygelConfiguration* base, const gchar* section, const gchar* key, GError** error);
gchar* rygel_configuration_get_string (RygelConfiguration* self, const gchar* section, const gchar* key, GError** error);
static GeeArrayList* rygel_meta_config_real_get_string_list (RygelConfiguration* base, const gchar* section, const gchar* key, GError** error);
GeeArrayList* rygel_configuration_get_string_list (RygelConfiguration* self, const gchar* section, const gchar* key, GError** error);
static gint rygel_meta_config_real_get_int (RygelConfiguration* base, const gchar* section, const gchar* key, gint min, gint max, GError** error);
gint rygel_configuration_get_int (RygelConfiguration* self, const gchar* section, const gchar* key, gint min, gint max, GError** error);
static GeeArrayList* rygel_meta_config_real_get_int_list (RygelConfiguration* base, const gchar* section, const gchar* key, GError** error);
GeeArrayList* rygel_configuration_get_int_list (RygelConfiguration* self, const gchar* section, const gchar* key, GError** error);
static gboolean rygel_meta_config_real_get_bool (RygelConfiguration* base, const gchar* section, const gchar* key, GError** error);
gboolean rygel_configuration_get_bool (RygelConfiguration* self, const gchar* section, const gchar* key, GError** error);
static gboolean rygel_meta_config_configuration_value_available (RygelMetaConfig* self, RygelConfiguration* config, RygelConfigurationEntry entry);
static gboolean rygel_meta_config_setting_value_available (RygelMetaConfig* self, RygelConfiguration* config, const gchar* section, RygelSectionEntry entry);
static void rygel_meta_config_finalize (GObject* obj);
static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func);
static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func);
static gint _vala_array_length (gpointer array);


static void _rygel_meta_config_on_configuration_changed_rygel_configuration_configuration_changed (RygelConfiguration* _sender, RygelConfigurationEntry entry, gpointer self) {
#line 44 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	rygel_meta_config_on_configuration_changed (self, _sender, entry);
#line 205 "rygel-meta-config.c"
}


static void _rygel_meta_config_on_section_changed_rygel_configuration_section_changed (RygelConfiguration* _sender, const gchar* section, RygelSectionEntry entry, gpointer self) {
#line 45 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	rygel_meta_config_on_section_changed (self, _sender, section, entry);
#line 212 "rygel-meta-config.c"
}


static void _rygel_meta_config_on_setting_changed_rygel_configuration_setting_changed (RygelConfiguration* _sender, const gchar* section, const gchar* key, gpointer self) {
#line 46 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	rygel_meta_config_on_setting_changed (self, _sender, section, key);
#line 219 "rygel-meta-config.c"
}


static void rygel_meta_config_connect_signals (RygelMetaConfig* self, RygelConfiguration* config) {
	RygelConfiguration* _tmp0_;
	RygelConfiguration* _tmp1_;
	RygelConfiguration* _tmp2_;
#line 43 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	g_return_if_fail (self != NULL);
#line 43 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	g_return_if_fail (config != NULL);
#line 44 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp0_ = config;
#line 44 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	g_signal_connect_object (_tmp0_, "configuration-changed", (GCallback) _rygel_meta_config_on_configuration_changed_rygel_configuration_configuration_changed, self, 0);
#line 45 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp1_ = config;
#line 45 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	g_signal_connect_object (_tmp1_, "section-changed", (GCallback) _rygel_meta_config_on_section_changed_rygel_configuration_section_changed, self, 0);
#line 46 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp2_ = config;
#line 46 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	g_signal_connect_object (_tmp2_, "setting-changed", (GCallback) _rygel_meta_config_on_setting_changed_rygel_configuration_setting_changed, self, 0);
#line 243 "rygel-meta-config.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 57 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	return self ? g_object_ref (self) : NULL;
#line 250 "rygel-meta-config.c"
}


RygelMetaConfig* rygel_meta_config_get_default (void) {
	RygelMetaConfig* result = NULL;
	GeeArrayList* _tmp0_;
	RygelMetaConfig* _tmp2_;
	RygelMetaConfig* _tmp17_;
	RygelMetaConfig* _tmp18_;
#line 50 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp0_ = rygel_meta_config_configs;
#line 50 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	if (_tmp0_ == NULL) {
#line 264 "rygel-meta-config.c"
		GeeArrayList* _tmp1_;
#line 51 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp1_ = gee_array_list_new (RYGEL_TYPE_CONFIGURATION, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
#line 51 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_g_object_unref0 (rygel_meta_config_configs);
#line 51 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		rygel_meta_config_configs = _tmp1_;
#line 272 "rygel-meta-config.c"
	}
#line 54 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp2_ = rygel_meta_config_meta_config;
#line 54 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	if (_tmp2_ == NULL) {
#line 278 "rygel-meta-config.c"
		RygelMetaConfig* _tmp3_;
#line 55 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp3_ = rygel_meta_config_new ();
#line 55 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_g_object_unref0 (rygel_meta_config_meta_config);
#line 55 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		rygel_meta_config_meta_config = _tmp3_;
#line 286 "rygel-meta-config.c"
		{
			GeeArrayList* _tmp4_;
			GeeArrayList* _tmp5_;
			GeeArrayList* _config_list;
			GeeArrayList* _tmp6_;
			gint _tmp7_;
			gint _tmp8_;
			gint _config_size;
			gint _config_index;
#line 57 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp4_ = rygel_meta_config_configs;
#line 57 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp5_ = _g_object_ref0 (_tmp4_);
#line 57 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_config_list = _tmp5_;
#line 57 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp6_ = _config_list;
#line 57 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp7_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp6_);
#line 57 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp8_ = _tmp7_;
#line 57 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_config_size = _tmp8_;
#line 57 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_config_index = -1;
#line 57 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			while (TRUE) {
#line 314 "rygel-meta-config.c"
				gint _tmp9_;
				gint _tmp10_;
				gint _tmp11_;
				GeeArrayList* _tmp12_;
				gint _tmp13_;
				gpointer _tmp14_ = NULL;
				RygelConfiguration* config;
				RygelMetaConfig* _tmp15_;
				RygelConfiguration* _tmp16_;
#line 57 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp9_ = _config_index;
#line 57 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_config_index = _tmp9_ + 1;
#line 57 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp10_ = _config_index;
#line 57 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp11_ = _config_size;
#line 57 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				if (!(_tmp10_ < _tmp11_)) {
#line 57 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
					break;
#line 336 "rygel-meta-config.c"
				}
#line 57 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp12_ = _config_list;
#line 57 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp13_ = _config_index;
#line 57 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp14_ = gee_abstract_list_get ((GeeAbstractList*) _tmp12_, _tmp13_);
#line 57 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				config = (RygelConfiguration*) _tmp14_;
#line 58 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp15_ = rygel_meta_config_meta_config;
#line 58 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp16_ = config;
#line 58 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				rygel_meta_config_connect_signals (_tmp15_, _tmp16_);
#line 57 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (config);
#line 354 "rygel-meta-config.c"
			}
#line 57 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_g_object_unref0 (_config_list);
#line 358 "rygel-meta-config.c"
		}
	}
#line 62 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp17_ = rygel_meta_config_meta_config;
#line 62 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp18_ = _g_object_ref0 (_tmp17_);
#line 62 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	result = _tmp18_;
#line 62 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	return result;
#line 369 "rygel-meta-config.c"
}


void rygel_meta_config_register_configuration (RygelConfiguration* config) {
	GeeArrayList* _tmp0_;
	GeeArrayList* _tmp2_;
	RygelConfiguration* _tmp3_;
	RygelMetaConfig* _tmp4_;
#line 65 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	g_return_if_fail (config != NULL);
#line 66 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp0_ = rygel_meta_config_configs;
#line 66 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	if (_tmp0_ == NULL) {
#line 384 "rygel-meta-config.c"
		GeeArrayList* _tmp1_;
#line 67 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp1_ = gee_array_list_new (RYGEL_TYPE_CONFIGURATION, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
#line 67 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_g_object_unref0 (rygel_meta_config_configs);
#line 67 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		rygel_meta_config_configs = _tmp1_;
#line 392 "rygel-meta-config.c"
	}
#line 69 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp2_ = rygel_meta_config_configs;
#line 69 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp3_ = config;
#line 69 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp2_, _tmp3_);
#line 71 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp4_ = rygel_meta_config_meta_config;
#line 71 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	if (_tmp4_ != NULL) {
#line 404 "rygel-meta-config.c"
		RygelMetaConfig* _tmp5_;
		RygelConfiguration* _tmp6_;
#line 72 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp5_ = rygel_meta_config_meta_config;
#line 72 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp6_ = config;
#line 72 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		rygel_meta_config_connect_signals (_tmp5_, _tmp6_);
#line 413 "rygel-meta-config.c"
	}
}


static gboolean rygel_meta_config_real_get_upnp_enabled (RygelConfiguration* base, GError** error) {
	RygelMetaConfig * self;
	gboolean result = FALSE;
	gboolean val;
	gboolean unavailable;
	gboolean _tmp14_;
	GError * _inner_error_ = NULL;
#line 76 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	self = (RygelMetaConfig*) base;
#line 77 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	val = TRUE;
#line 78 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	unavailable = TRUE;
#line 431 "rygel-meta-config.c"
	{
		GeeArrayList* _tmp0_;
		GeeArrayList* _tmp1_;
		GeeArrayList* _config_list;
		GeeArrayList* _tmp2_;
		gint _tmp3_;
		gint _tmp4_;
		gint _config_size;
		gint _config_index;
#line 80 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp0_ = rygel_meta_config_configs;
#line 80 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp1_ = _g_object_ref0 (_tmp0_);
#line 80 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_list = _tmp1_;
#line 80 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp2_ = _config_list;
#line 80 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp3_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp2_);
#line 80 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp4_ = _tmp3_;
#line 80 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_size = _tmp4_;
#line 80 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_index = -1;
#line 80 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		while (TRUE) {
#line 459 "rygel-meta-config.c"
			gint _tmp5_;
			gint _tmp6_;
			gint _tmp7_;
			GeeArrayList* _tmp8_;
			gint _tmp9_;
			gpointer _tmp10_ = NULL;
			RygelConfiguration* config;
#line 80 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp5_ = _config_index;
#line 80 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_config_index = _tmp5_ + 1;
#line 80 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp6_ = _config_index;
#line 80 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp7_ = _config_size;
#line 80 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			if (!(_tmp6_ < _tmp7_)) {
#line 80 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 479 "rygel-meta-config.c"
			}
#line 80 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp8_ = _config_list;
#line 80 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp9_ = _config_index;
#line 80 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp10_ = gee_abstract_list_get ((GeeAbstractList*) _tmp8_, _tmp9_);
#line 80 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			config = (RygelConfiguration*) _tmp10_;
#line 489 "rygel-meta-config.c"
			{
				RygelConfiguration* _tmp11_;
				gboolean _tmp12_ = FALSE;
				gboolean _tmp13_;
#line 82 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp11_ = config;
#line 82 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp12_ = rygel_configuration_get_upnp_enabled (_tmp11_, &_inner_error_);
#line 82 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp13_ = _tmp12_;
#line 82 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				if (_inner_error_ != NULL) {
#line 502 "rygel-meta-config.c"
					goto __catch6_g_error;
				}
#line 82 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				val = _tmp13_;
#line 83 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				unavailable = FALSE;
#line 84 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (config);
#line 84 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 513 "rygel-meta-config.c"
			}
			goto __finally6;
			__catch6_g_error:
			{
				GError* err = NULL;
#line 81 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				err = _inner_error_;
#line 81 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_inner_error_ = NULL;
#line 81 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_error_free0 (err);
#line 525 "rygel-meta-config.c"
			}
			__finally6:
#line 81 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			if (_inner_error_ != NULL) {
#line 81 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				g_propagate_error (error, _inner_error_);
#line 81 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (config);
#line 81 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (_config_list);
#line 81 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				return FALSE;
#line 538 "rygel-meta-config.c"
			}
#line 80 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_g_object_unref0 (config);
#line 542 "rygel-meta-config.c"
		}
#line 80 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_g_object_unref0 (_config_list);
#line 546 "rygel-meta-config.c"
	}
#line 88 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp14_ = unavailable;
#line 88 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	if (_tmp14_) {
#line 552 "rygel-meta-config.c"
		const gchar* _tmp15_ = NULL;
		GError* _tmp16_;
#line 89 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp15_ = _ ("No value available");
#line 89 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp16_ = g_error_new_literal (RYGEL_CONFIGURATION_ERROR, RYGEL_CONFIGURATION_ERROR_NO_VALUE_SET, _tmp15_);
#line 89 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_inner_error_ = _tmp16_;
#line 89 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		g_propagate_error (error, _inner_error_);
#line 89 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		return FALSE;
#line 565 "rygel-meta-config.c"
	}
#line 92 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	result = val;
#line 92 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	return result;
#line 571 "rygel-meta-config.c"
}


static gchar* rygel_meta_config_real_get_interface (RygelConfiguration* base, GError** error) {
	RygelMetaConfig * self;
	gchar* result = NULL;
	gchar* val;
	gboolean unavailable;
	gboolean _tmp14_;
	GError * _inner_error_ = NULL;
#line 95 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	self = (RygelMetaConfig*) base;
#line 96 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	val = NULL;
#line 97 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	unavailable = TRUE;
#line 588 "rygel-meta-config.c"
	{
		GeeArrayList* _tmp0_;
		GeeArrayList* _tmp1_;
		GeeArrayList* _config_list;
		GeeArrayList* _tmp2_;
		gint _tmp3_;
		gint _tmp4_;
		gint _config_size;
		gint _config_index;
#line 99 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp0_ = rygel_meta_config_configs;
#line 99 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp1_ = _g_object_ref0 (_tmp0_);
#line 99 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_list = _tmp1_;
#line 99 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp2_ = _config_list;
#line 99 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp3_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp2_);
#line 99 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp4_ = _tmp3_;
#line 99 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_size = _tmp4_;
#line 99 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_index = -1;
#line 99 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		while (TRUE) {
#line 616 "rygel-meta-config.c"
			gint _tmp5_;
			gint _tmp6_;
			gint _tmp7_;
			GeeArrayList* _tmp8_;
			gint _tmp9_;
			gpointer _tmp10_ = NULL;
			RygelConfiguration* config;
#line 99 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp5_ = _config_index;
#line 99 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_config_index = _tmp5_ + 1;
#line 99 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp6_ = _config_index;
#line 99 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp7_ = _config_size;
#line 99 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			if (!(_tmp6_ < _tmp7_)) {
#line 99 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 636 "rygel-meta-config.c"
			}
#line 99 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp8_ = _config_list;
#line 99 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp9_ = _config_index;
#line 99 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp10_ = gee_abstract_list_get ((GeeAbstractList*) _tmp8_, _tmp9_);
#line 99 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			config = (RygelConfiguration*) _tmp10_;
#line 646 "rygel-meta-config.c"
			{
				RygelConfiguration* _tmp11_;
				gchar* _tmp12_ = NULL;
				gchar* _tmp13_;
#line 101 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp11_ = config;
#line 101 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp12_ = rygel_configuration_get_interface (_tmp11_, &_inner_error_);
#line 101 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp13_ = _tmp12_;
#line 101 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				if (_inner_error_ != NULL) {
#line 659 "rygel-meta-config.c"
					goto __catch7_g_error;
				}
#line 101 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_free0 (val);
#line 101 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				val = _tmp13_;
#line 102 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				unavailable = FALSE;
#line 103 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (config);
#line 103 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 672 "rygel-meta-config.c"
			}
			goto __finally7;
			__catch7_g_error:
			{
				GError* err = NULL;
#line 100 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				err = _inner_error_;
#line 100 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_inner_error_ = NULL;
#line 100 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_error_free0 (err);
#line 684 "rygel-meta-config.c"
			}
			__finally7:
#line 100 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			if (_inner_error_ != NULL) {
#line 100 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				g_propagate_error (error, _inner_error_);
#line 100 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (config);
#line 100 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (_config_list);
#line 100 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_free0 (val);
#line 100 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				return NULL;
#line 699 "rygel-meta-config.c"
			}
#line 99 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_g_object_unref0 (config);
#line 703 "rygel-meta-config.c"
		}
#line 99 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_g_object_unref0 (_config_list);
#line 707 "rygel-meta-config.c"
	}
#line 107 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp14_ = unavailable;
#line 107 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	if (_tmp14_) {
#line 713 "rygel-meta-config.c"
		const gchar* _tmp15_ = NULL;
		GError* _tmp16_;
#line 108 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp15_ = _ ("No value available");
#line 108 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp16_ = g_error_new_literal (RYGEL_CONFIGURATION_ERROR, RYGEL_CONFIGURATION_ERROR_NO_VALUE_SET, _tmp15_);
#line 108 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_inner_error_ = _tmp16_;
#line 108 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		g_propagate_error (error, _inner_error_);
#line 108 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_g_free0 (val);
#line 108 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		return NULL;
#line 728 "rygel-meta-config.c"
	}
#line 111 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	result = val;
#line 111 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	return result;
#line 734 "rygel-meta-config.c"
}


static gchar** rygel_meta_config_real_get_interfaces (RygelConfiguration* base, GError** error) {
	RygelMetaConfig * self;
	gchar** result = NULL;
	gchar** val;
	gint val_length1;
	gint _val_size_;
	gboolean unavailable;
	gboolean _tmp15_;
	GError * _inner_error_ = NULL;
#line 115 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	self = (RygelMetaConfig*) base;
#line 116 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	val = NULL;
#line 116 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	val_length1 = 0;
#line 116 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_val_size_ = val_length1;
#line 117 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	unavailable = TRUE;
#line 757 "rygel-meta-config.c"
	{
		GeeArrayList* _tmp0_;
		GeeArrayList* _tmp1_;
		GeeArrayList* _config_list;
		GeeArrayList* _tmp2_;
		gint _tmp3_;
		gint _tmp4_;
		gint _config_size;
		gint _config_index;
#line 119 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp0_ = rygel_meta_config_configs;
#line 119 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp1_ = _g_object_ref0 (_tmp0_);
#line 119 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_list = _tmp1_;
#line 119 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp2_ = _config_list;
#line 119 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp3_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp2_);
#line 119 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp4_ = _tmp3_;
#line 119 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_size = _tmp4_;
#line 119 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_index = -1;
#line 119 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		while (TRUE) {
#line 785 "rygel-meta-config.c"
			gint _tmp5_;
			gint _tmp6_;
			gint _tmp7_;
			GeeArrayList* _tmp8_;
			gint _tmp9_;
			gpointer _tmp10_ = NULL;
			RygelConfiguration* config;
#line 119 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp5_ = _config_index;
#line 119 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_config_index = _tmp5_ + 1;
#line 119 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp6_ = _config_index;
#line 119 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp7_ = _config_size;
#line 119 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			if (!(_tmp6_ < _tmp7_)) {
#line 119 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 805 "rygel-meta-config.c"
			}
#line 119 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp8_ = _config_list;
#line 119 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp9_ = _config_index;
#line 119 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp10_ = gee_abstract_list_get ((GeeAbstractList*) _tmp8_, _tmp9_);
#line 119 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			config = (RygelConfiguration*) _tmp10_;
#line 815 "rygel-meta-config.c"
			{
				RygelConfiguration* _tmp11_;
				gchar** _tmp12_;
				gchar** _tmp13_ = NULL;
				gchar** _tmp14_;
				gint _tmp14__length1;
				gint __tmp14__size_;
#line 121 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp11_ = config;
#line 121 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp13_ = _tmp12_ = rygel_configuration_get_interfaces (_tmp11_, &_inner_error_);
#line 121 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp14_ = _tmp13_;
#line 121 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp14__length1 = _vala_array_length (_tmp12_);
#line 121 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				__tmp14__size_ = _tmp14__length1;
#line 121 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				if (_inner_error_ != NULL) {
#line 835 "rygel-meta-config.c"
					goto __catch8_g_error;
				}
#line 121 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				val = (_vala_array_free (val, val_length1, (GDestroyNotify) g_free), NULL);
#line 121 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				val = _tmp14_;
#line 121 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				val_length1 = _tmp14__length1;
#line 121 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_val_size_ = val_length1;
#line 122 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				unavailable = FALSE;
#line 123 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (config);
#line 123 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 852 "rygel-meta-config.c"
			}
			goto __finally8;
			__catch8_g_error:
			{
				GError* _error_ = NULL;
#line 120 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_error_ = _inner_error_;
#line 120 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_inner_error_ = NULL;
#line 120 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_error_free0 (_error_);
#line 864 "rygel-meta-config.c"
			}
			__finally8:
#line 120 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			if (_inner_error_ != NULL) {
#line 120 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				g_propagate_error (error, _inner_error_);
#line 120 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (config);
#line 120 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (_config_list);
#line 120 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				val = (_vala_array_free (val, val_length1, (GDestroyNotify) g_free), NULL);
#line 120 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				return NULL;
#line 879 "rygel-meta-config.c"
			}
#line 119 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_g_object_unref0 (config);
#line 883 "rygel-meta-config.c"
		}
#line 119 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_g_object_unref0 (_config_list);
#line 887 "rygel-meta-config.c"
	}
#line 127 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp15_ = unavailable;
#line 127 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	if (_tmp15_) {
#line 893 "rygel-meta-config.c"
		const gchar* _tmp16_ = NULL;
		GError* _tmp17_;
#line 128 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp16_ = _ ("No value available");
#line 128 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp17_ = g_error_new_literal (RYGEL_CONFIGURATION_ERROR, RYGEL_CONFIGURATION_ERROR_NO_VALUE_SET, _tmp16_);
#line 128 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_inner_error_ = _tmp17_;
#line 128 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		g_propagate_error (error, _inner_error_);
#line 128 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		val = (_vala_array_free (val, val_length1, (GDestroyNotify) g_free), NULL);
#line 128 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		return NULL;
#line 908 "rygel-meta-config.c"
	}
#line 131 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	result = val;
#line 131 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	return result;
#line 914 "rygel-meta-config.c"
}


static gint rygel_meta_config_real_get_port (RygelConfiguration* base, GError** error) {
	RygelMetaConfig * self;
	gint result = 0;
	gint val;
	gboolean unavailable;
	gboolean _tmp14_;
	GError * _inner_error_ = NULL;
#line 134 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	self = (RygelMetaConfig*) base;
#line 135 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	val = 0;
#line 136 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	unavailable = TRUE;
#line 931 "rygel-meta-config.c"
	{
		GeeArrayList* _tmp0_;
		GeeArrayList* _tmp1_;
		GeeArrayList* _config_list;
		GeeArrayList* _tmp2_;
		gint _tmp3_;
		gint _tmp4_;
		gint _config_size;
		gint _config_index;
#line 138 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp0_ = rygel_meta_config_configs;
#line 138 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp1_ = _g_object_ref0 (_tmp0_);
#line 138 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_list = _tmp1_;
#line 138 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp2_ = _config_list;
#line 138 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp3_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp2_);
#line 138 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp4_ = _tmp3_;
#line 138 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_size = _tmp4_;
#line 138 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_index = -1;
#line 138 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		while (TRUE) {
#line 959 "rygel-meta-config.c"
			gint _tmp5_;
			gint _tmp6_;
			gint _tmp7_;
			GeeArrayList* _tmp8_;
			gint _tmp9_;
			gpointer _tmp10_ = NULL;
			RygelConfiguration* config;
#line 138 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp5_ = _config_index;
#line 138 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_config_index = _tmp5_ + 1;
#line 138 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp6_ = _config_index;
#line 138 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp7_ = _config_size;
#line 138 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			if (!(_tmp6_ < _tmp7_)) {
#line 138 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 979 "rygel-meta-config.c"
			}
#line 138 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp8_ = _config_list;
#line 138 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp9_ = _config_index;
#line 138 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp10_ = gee_abstract_list_get ((GeeAbstractList*) _tmp8_, _tmp9_);
#line 138 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			config = (RygelConfiguration*) _tmp10_;
#line 989 "rygel-meta-config.c"
			{
				RygelConfiguration* _tmp11_;
				gint _tmp12_ = 0;
				gint _tmp13_;
#line 140 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp11_ = config;
#line 140 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp12_ = rygel_configuration_get_port (_tmp11_, &_inner_error_);
#line 140 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp13_ = _tmp12_;
#line 140 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				if (_inner_error_ != NULL) {
#line 1002 "rygel-meta-config.c"
					goto __catch9_g_error;
				}
#line 140 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				val = _tmp13_;
#line 141 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				unavailable = FALSE;
#line 142 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (config);
#line 142 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 1013 "rygel-meta-config.c"
			}
			goto __finally9;
			__catch9_g_error:
			{
				GError* err = NULL;
#line 139 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				err = _inner_error_;
#line 139 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_inner_error_ = NULL;
#line 139 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_error_free0 (err);
#line 1025 "rygel-meta-config.c"
			}
			__finally9:
#line 139 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			if (_inner_error_ != NULL) {
#line 139 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				g_propagate_error (error, _inner_error_);
#line 139 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (config);
#line 139 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (_config_list);
#line 139 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				return 0;
#line 1038 "rygel-meta-config.c"
			}
#line 138 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_g_object_unref0 (config);
#line 1042 "rygel-meta-config.c"
		}
#line 138 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_g_object_unref0 (_config_list);
#line 1046 "rygel-meta-config.c"
	}
#line 146 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp14_ = unavailable;
#line 146 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	if (_tmp14_) {
#line 1052 "rygel-meta-config.c"
		const gchar* _tmp15_ = NULL;
		GError* _tmp16_;
#line 147 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp15_ = _ ("No value available");
#line 147 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp16_ = g_error_new_literal (RYGEL_CONFIGURATION_ERROR, RYGEL_CONFIGURATION_ERROR_NO_VALUE_SET, _tmp15_);
#line 147 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_inner_error_ = _tmp16_;
#line 147 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		g_propagate_error (error, _inner_error_);
#line 147 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		return 0;
#line 1065 "rygel-meta-config.c"
	}
#line 150 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	result = val;
#line 150 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	return result;
#line 1071 "rygel-meta-config.c"
}


static gboolean rygel_meta_config_real_get_transcoding (RygelConfiguration* base, GError** error) {
	RygelMetaConfig * self;
	gboolean result = FALSE;
	gboolean val;
	gboolean unavailable;
	gboolean _tmp14_;
	GError * _inner_error_ = NULL;
#line 153 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	self = (RygelMetaConfig*) base;
#line 154 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	val = TRUE;
#line 155 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	unavailable = TRUE;
#line 1088 "rygel-meta-config.c"
	{
		GeeArrayList* _tmp0_;
		GeeArrayList* _tmp1_;
		GeeArrayList* _config_list;
		GeeArrayList* _tmp2_;
		gint _tmp3_;
		gint _tmp4_;
		gint _config_size;
		gint _config_index;
#line 157 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp0_ = rygel_meta_config_configs;
#line 157 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp1_ = _g_object_ref0 (_tmp0_);
#line 157 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_list = _tmp1_;
#line 157 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp2_ = _config_list;
#line 157 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp3_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp2_);
#line 157 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp4_ = _tmp3_;
#line 157 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_size = _tmp4_;
#line 157 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_index = -1;
#line 157 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		while (TRUE) {
#line 1116 "rygel-meta-config.c"
			gint _tmp5_;
			gint _tmp6_;
			gint _tmp7_;
			GeeArrayList* _tmp8_;
			gint _tmp9_;
			gpointer _tmp10_ = NULL;
			RygelConfiguration* config;
#line 157 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp5_ = _config_index;
#line 157 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_config_index = _tmp5_ + 1;
#line 157 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp6_ = _config_index;
#line 157 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp7_ = _config_size;
#line 157 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			if (!(_tmp6_ < _tmp7_)) {
#line 157 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 1136 "rygel-meta-config.c"
			}
#line 157 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp8_ = _config_list;
#line 157 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp9_ = _config_index;
#line 157 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp10_ = gee_abstract_list_get ((GeeAbstractList*) _tmp8_, _tmp9_);
#line 157 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			config = (RygelConfiguration*) _tmp10_;
#line 1146 "rygel-meta-config.c"
			{
				RygelConfiguration* _tmp11_;
				gboolean _tmp12_ = FALSE;
				gboolean _tmp13_;
#line 159 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp11_ = config;
#line 159 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp12_ = rygel_configuration_get_transcoding (_tmp11_, &_inner_error_);
#line 159 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp13_ = _tmp12_;
#line 159 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				if (_inner_error_ != NULL) {
#line 1159 "rygel-meta-config.c"
					goto __catch10_g_error;
				}
#line 159 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				val = _tmp13_;
#line 160 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				unavailable = FALSE;
#line 161 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (config);
#line 161 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 1170 "rygel-meta-config.c"
			}
			goto __finally10;
			__catch10_g_error:
			{
				GError* err = NULL;
#line 158 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				err = _inner_error_;
#line 158 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_inner_error_ = NULL;
#line 158 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_error_free0 (err);
#line 1182 "rygel-meta-config.c"
			}
			__finally10:
#line 158 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			if (_inner_error_ != NULL) {
#line 158 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				g_propagate_error (error, _inner_error_);
#line 158 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (config);
#line 158 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (_config_list);
#line 158 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				return FALSE;
#line 1195 "rygel-meta-config.c"
			}
#line 157 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_g_object_unref0 (config);
#line 1199 "rygel-meta-config.c"
		}
#line 157 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_g_object_unref0 (_config_list);
#line 1203 "rygel-meta-config.c"
	}
#line 165 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp14_ = unavailable;
#line 165 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	if (_tmp14_) {
#line 1209 "rygel-meta-config.c"
		const gchar* _tmp15_ = NULL;
		GError* _tmp16_;
#line 166 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp15_ = _ ("No value available");
#line 166 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp16_ = g_error_new_literal (RYGEL_CONFIGURATION_ERROR, RYGEL_CONFIGURATION_ERROR_NO_VALUE_SET, _tmp15_);
#line 166 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_inner_error_ = _tmp16_;
#line 166 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		g_propagate_error (error, _inner_error_);
#line 166 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		return FALSE;
#line 1222 "rygel-meta-config.c"
	}
#line 169 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	result = val;
#line 169 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	return result;
#line 1228 "rygel-meta-config.c"
}


static gboolean rygel_meta_config_real_get_allow_upload (RygelConfiguration* base, GError** error) {
	RygelMetaConfig * self;
	gboolean result = FALSE;
	gboolean val;
	gboolean unavailable;
	gboolean _tmp14_;
	GError * _inner_error_ = NULL;
#line 172 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	self = (RygelMetaConfig*) base;
#line 173 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	val = TRUE;
#line 174 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	unavailable = TRUE;
#line 1245 "rygel-meta-config.c"
	{
		GeeArrayList* _tmp0_;
		GeeArrayList* _tmp1_;
		GeeArrayList* _config_list;
		GeeArrayList* _tmp2_;
		gint _tmp3_;
		gint _tmp4_;
		gint _config_size;
		gint _config_index;
#line 176 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp0_ = rygel_meta_config_configs;
#line 176 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp1_ = _g_object_ref0 (_tmp0_);
#line 176 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_list = _tmp1_;
#line 176 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp2_ = _config_list;
#line 176 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp3_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp2_);
#line 176 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp4_ = _tmp3_;
#line 176 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_size = _tmp4_;
#line 176 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_index = -1;
#line 176 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		while (TRUE) {
#line 1273 "rygel-meta-config.c"
			gint _tmp5_;
			gint _tmp6_;
			gint _tmp7_;
			GeeArrayList* _tmp8_;
			gint _tmp9_;
			gpointer _tmp10_ = NULL;
			RygelConfiguration* config;
#line 176 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp5_ = _config_index;
#line 176 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_config_index = _tmp5_ + 1;
#line 176 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp6_ = _config_index;
#line 176 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp7_ = _config_size;
#line 176 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			if (!(_tmp6_ < _tmp7_)) {
#line 176 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 1293 "rygel-meta-config.c"
			}
#line 176 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp8_ = _config_list;
#line 176 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp9_ = _config_index;
#line 176 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp10_ = gee_abstract_list_get ((GeeAbstractList*) _tmp8_, _tmp9_);
#line 176 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			config = (RygelConfiguration*) _tmp10_;
#line 1303 "rygel-meta-config.c"
			{
				RygelConfiguration* _tmp11_;
				gboolean _tmp12_ = FALSE;
				gboolean _tmp13_;
#line 178 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp11_ = config;
#line 178 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp12_ = rygel_configuration_get_allow_upload (_tmp11_, &_inner_error_);
#line 178 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp13_ = _tmp12_;
#line 178 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				if (_inner_error_ != NULL) {
#line 1316 "rygel-meta-config.c"
					goto __catch11_g_error;
				}
#line 178 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				val = _tmp13_;
#line 179 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				unavailable = FALSE;
#line 180 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (config);
#line 180 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 1327 "rygel-meta-config.c"
			}
			goto __finally11;
			__catch11_g_error:
			{
				GError* err = NULL;
#line 177 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				err = _inner_error_;
#line 177 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_inner_error_ = NULL;
#line 177 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_error_free0 (err);
#line 1339 "rygel-meta-config.c"
			}
			__finally11:
#line 177 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			if (_inner_error_ != NULL) {
#line 177 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				g_propagate_error (error, _inner_error_);
#line 177 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (config);
#line 177 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (_config_list);
#line 177 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				return FALSE;
#line 1352 "rygel-meta-config.c"
			}
#line 176 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_g_object_unref0 (config);
#line 1356 "rygel-meta-config.c"
		}
#line 176 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_g_object_unref0 (_config_list);
#line 1360 "rygel-meta-config.c"
	}
#line 184 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp14_ = unavailable;
#line 184 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	if (_tmp14_) {
#line 1366 "rygel-meta-config.c"
		const gchar* _tmp15_ = NULL;
		GError* _tmp16_;
#line 185 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp15_ = _ ("No value available");
#line 185 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp16_ = g_error_new_literal (RYGEL_CONFIGURATION_ERROR, RYGEL_CONFIGURATION_ERROR_NO_VALUE_SET, _tmp15_);
#line 185 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_inner_error_ = _tmp16_;
#line 185 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		g_propagate_error (error, _inner_error_);
#line 185 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		return FALSE;
#line 1379 "rygel-meta-config.c"
	}
#line 188 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	result = val;
#line 188 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	return result;
#line 1385 "rygel-meta-config.c"
}


static gboolean rygel_meta_config_real_get_allow_deletion (RygelConfiguration* base, GError** error) {
	RygelMetaConfig * self;
	gboolean result = FALSE;
	gboolean val;
	gboolean unavailable;
	gboolean _tmp14_;
	GError * _inner_error_ = NULL;
#line 191 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	self = (RygelMetaConfig*) base;
#line 192 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	val = TRUE;
#line 193 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	unavailable = TRUE;
#line 1402 "rygel-meta-config.c"
	{
		GeeArrayList* _tmp0_;
		GeeArrayList* _tmp1_;
		GeeArrayList* _config_list;
		GeeArrayList* _tmp2_;
		gint _tmp3_;
		gint _tmp4_;
		gint _config_size;
		gint _config_index;
#line 195 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp0_ = rygel_meta_config_configs;
#line 195 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp1_ = _g_object_ref0 (_tmp0_);
#line 195 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_list = _tmp1_;
#line 195 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp2_ = _config_list;
#line 195 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp3_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp2_);
#line 195 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp4_ = _tmp3_;
#line 195 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_size = _tmp4_;
#line 195 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_index = -1;
#line 195 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		while (TRUE) {
#line 1430 "rygel-meta-config.c"
			gint _tmp5_;
			gint _tmp6_;
			gint _tmp7_;
			GeeArrayList* _tmp8_;
			gint _tmp9_;
			gpointer _tmp10_ = NULL;
			RygelConfiguration* config;
#line 195 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp5_ = _config_index;
#line 195 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_config_index = _tmp5_ + 1;
#line 195 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp6_ = _config_index;
#line 195 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp7_ = _config_size;
#line 195 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			if (!(_tmp6_ < _tmp7_)) {
#line 195 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 1450 "rygel-meta-config.c"
			}
#line 195 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp8_ = _config_list;
#line 195 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp9_ = _config_index;
#line 195 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp10_ = gee_abstract_list_get ((GeeAbstractList*) _tmp8_, _tmp9_);
#line 195 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			config = (RygelConfiguration*) _tmp10_;
#line 1460 "rygel-meta-config.c"
			{
				RygelConfiguration* _tmp11_;
				gboolean _tmp12_ = FALSE;
				gboolean _tmp13_;
#line 197 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp11_ = config;
#line 197 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp12_ = rygel_configuration_get_allow_deletion (_tmp11_, &_inner_error_);
#line 197 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp13_ = _tmp12_;
#line 197 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				if (_inner_error_ != NULL) {
#line 1473 "rygel-meta-config.c"
					goto __catch12_g_error;
				}
#line 197 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				val = _tmp13_;
#line 198 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				unavailable = FALSE;
#line 199 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (config);
#line 199 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 1484 "rygel-meta-config.c"
			}
			goto __finally12;
			__catch12_g_error:
			{
				GError* err = NULL;
#line 196 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				err = _inner_error_;
#line 196 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_inner_error_ = NULL;
#line 196 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_error_free0 (err);
#line 1496 "rygel-meta-config.c"
			}
			__finally12:
#line 196 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			if (_inner_error_ != NULL) {
#line 196 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				g_propagate_error (error, _inner_error_);
#line 196 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (config);
#line 196 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (_config_list);
#line 196 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				return FALSE;
#line 1509 "rygel-meta-config.c"
			}
#line 195 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_g_object_unref0 (config);
#line 1513 "rygel-meta-config.c"
		}
#line 195 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_g_object_unref0 (_config_list);
#line 1517 "rygel-meta-config.c"
	}
#line 203 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp14_ = unavailable;
#line 203 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	if (_tmp14_) {
#line 1523 "rygel-meta-config.c"
		const gchar* _tmp15_ = NULL;
		GError* _tmp16_;
#line 204 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp15_ = _ ("No value available");
#line 204 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp16_ = g_error_new_literal (RYGEL_CONFIGURATION_ERROR, RYGEL_CONFIGURATION_ERROR_NO_VALUE_SET, _tmp15_);
#line 204 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_inner_error_ = _tmp16_;
#line 204 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		g_propagate_error (error, _inner_error_);
#line 204 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		return FALSE;
#line 1536 "rygel-meta-config.c"
	}
#line 207 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	result = val;
#line 207 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	return result;
#line 1542 "rygel-meta-config.c"
}


static gchar* rygel_meta_config_real_get_log_levels (RygelConfiguration* base, GError** error) {
	RygelMetaConfig * self;
	gchar* result = NULL;
	gchar* val;
	gboolean unavailable;
	gboolean _tmp14_;
	GError * _inner_error_ = NULL;
#line 210 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	self = (RygelMetaConfig*) base;
#line 211 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	val = NULL;
#line 212 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	unavailable = TRUE;
#line 1559 "rygel-meta-config.c"
	{
		GeeArrayList* _tmp0_;
		GeeArrayList* _tmp1_;
		GeeArrayList* _config_list;
		GeeArrayList* _tmp2_;
		gint _tmp3_;
		gint _tmp4_;
		gint _config_size;
		gint _config_index;
#line 214 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp0_ = rygel_meta_config_configs;
#line 214 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp1_ = _g_object_ref0 (_tmp0_);
#line 214 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_list = _tmp1_;
#line 214 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp2_ = _config_list;
#line 214 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp3_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp2_);
#line 214 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp4_ = _tmp3_;
#line 214 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_size = _tmp4_;
#line 214 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_index = -1;
#line 214 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		while (TRUE) {
#line 1587 "rygel-meta-config.c"
			gint _tmp5_;
			gint _tmp6_;
			gint _tmp7_;
			GeeArrayList* _tmp8_;
			gint _tmp9_;
			gpointer _tmp10_ = NULL;
			RygelConfiguration* config;
#line 214 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp5_ = _config_index;
#line 214 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_config_index = _tmp5_ + 1;
#line 214 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp6_ = _config_index;
#line 214 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp7_ = _config_size;
#line 214 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			if (!(_tmp6_ < _tmp7_)) {
#line 214 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 1607 "rygel-meta-config.c"
			}
#line 214 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp8_ = _config_list;
#line 214 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp9_ = _config_index;
#line 214 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp10_ = gee_abstract_list_get ((GeeAbstractList*) _tmp8_, _tmp9_);
#line 214 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			config = (RygelConfiguration*) _tmp10_;
#line 1617 "rygel-meta-config.c"
			{
				RygelConfiguration* _tmp11_;
				gchar* _tmp12_ = NULL;
				gchar* _tmp13_;
#line 216 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp11_ = config;
#line 216 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp12_ = rygel_configuration_get_log_levels (_tmp11_, &_inner_error_);
#line 216 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp13_ = _tmp12_;
#line 216 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				if (_inner_error_ != NULL) {
#line 1630 "rygel-meta-config.c"
					goto __catch13_g_error;
				}
#line 216 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_free0 (val);
#line 216 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				val = _tmp13_;
#line 217 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				unavailable = FALSE;
#line 218 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (config);
#line 218 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 1643 "rygel-meta-config.c"
			}
			goto __finally13;
			__catch13_g_error:
			{
				GError* err = NULL;
#line 215 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				err = _inner_error_;
#line 215 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_inner_error_ = NULL;
#line 215 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_error_free0 (err);
#line 1655 "rygel-meta-config.c"
			}
			__finally13:
#line 215 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			if (_inner_error_ != NULL) {
#line 215 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				g_propagate_error (error, _inner_error_);
#line 215 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (config);
#line 215 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (_config_list);
#line 215 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_free0 (val);
#line 215 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				return NULL;
#line 1670 "rygel-meta-config.c"
			}
#line 214 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_g_object_unref0 (config);
#line 1674 "rygel-meta-config.c"
		}
#line 214 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_g_object_unref0 (_config_list);
#line 1678 "rygel-meta-config.c"
	}
#line 222 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp14_ = unavailable;
#line 222 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	if (_tmp14_) {
#line 1684 "rygel-meta-config.c"
		const gchar* _tmp15_ = NULL;
		GError* _tmp16_;
#line 223 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp15_ = _ ("No value available");
#line 223 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp16_ = g_error_new_literal (RYGEL_CONFIGURATION_ERROR, RYGEL_CONFIGURATION_ERROR_NO_VALUE_SET, _tmp15_);
#line 223 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_inner_error_ = _tmp16_;
#line 223 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		g_propagate_error (error, _inner_error_);
#line 223 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_g_free0 (val);
#line 223 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		return NULL;
#line 1699 "rygel-meta-config.c"
	}
#line 226 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	result = val;
#line 226 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	return result;
#line 1705 "rygel-meta-config.c"
}


static gchar* rygel_meta_config_real_get_plugin_path (RygelConfiguration* base, GError** error) {
	RygelMetaConfig * self;
	gchar* result = NULL;
	gchar* val;
	gboolean unavailable;
	gboolean _tmp14_;
	GError * _inner_error_ = NULL;
#line 229 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	self = (RygelMetaConfig*) base;
#line 230 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	val = NULL;
#line 231 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	unavailable = TRUE;
#line 1722 "rygel-meta-config.c"
	{
		GeeArrayList* _tmp0_;
		GeeArrayList* _tmp1_;
		GeeArrayList* _config_list;
		GeeArrayList* _tmp2_;
		gint _tmp3_;
		gint _tmp4_;
		gint _config_size;
		gint _config_index;
#line 233 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp0_ = rygel_meta_config_configs;
#line 233 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp1_ = _g_object_ref0 (_tmp0_);
#line 233 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_list = _tmp1_;
#line 233 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp2_ = _config_list;
#line 233 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp3_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp2_);
#line 233 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp4_ = _tmp3_;
#line 233 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_size = _tmp4_;
#line 233 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_index = -1;
#line 233 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		while (TRUE) {
#line 1750 "rygel-meta-config.c"
			gint _tmp5_;
			gint _tmp6_;
			gint _tmp7_;
			GeeArrayList* _tmp8_;
			gint _tmp9_;
			gpointer _tmp10_ = NULL;
			RygelConfiguration* config;
#line 233 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp5_ = _config_index;
#line 233 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_config_index = _tmp5_ + 1;
#line 233 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp6_ = _config_index;
#line 233 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp7_ = _config_size;
#line 233 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			if (!(_tmp6_ < _tmp7_)) {
#line 233 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 1770 "rygel-meta-config.c"
			}
#line 233 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp8_ = _config_list;
#line 233 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp9_ = _config_index;
#line 233 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp10_ = gee_abstract_list_get ((GeeAbstractList*) _tmp8_, _tmp9_);
#line 233 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			config = (RygelConfiguration*) _tmp10_;
#line 1780 "rygel-meta-config.c"
			{
				RygelConfiguration* _tmp11_;
				gchar* _tmp12_ = NULL;
				gchar* _tmp13_;
#line 235 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp11_ = config;
#line 235 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp12_ = rygel_configuration_get_plugin_path (_tmp11_, &_inner_error_);
#line 235 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp13_ = _tmp12_;
#line 235 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				if (_inner_error_ != NULL) {
#line 1793 "rygel-meta-config.c"
					goto __catch14_g_error;
				}
#line 235 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_free0 (val);
#line 235 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				val = _tmp13_;
#line 236 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				unavailable = FALSE;
#line 237 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (config);
#line 237 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 1806 "rygel-meta-config.c"
			}
			goto __finally14;
			__catch14_g_error:
			{
				GError* err = NULL;
#line 234 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				err = _inner_error_;
#line 234 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_inner_error_ = NULL;
#line 234 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_error_free0 (err);
#line 1818 "rygel-meta-config.c"
			}
			__finally14:
#line 234 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			if (_inner_error_ != NULL) {
#line 234 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				g_propagate_error (error, _inner_error_);
#line 234 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (config);
#line 234 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (_config_list);
#line 234 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_free0 (val);
#line 234 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				return NULL;
#line 1833 "rygel-meta-config.c"
			}
#line 233 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_g_object_unref0 (config);
#line 1837 "rygel-meta-config.c"
		}
#line 233 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_g_object_unref0 (_config_list);
#line 1841 "rygel-meta-config.c"
	}
#line 241 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp14_ = unavailable;
#line 241 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	if (_tmp14_) {
#line 1847 "rygel-meta-config.c"
		const gchar* _tmp15_ = NULL;
		GError* _tmp16_;
#line 242 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp15_ = _ ("No value available");
#line 242 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp16_ = g_error_new_literal (RYGEL_CONFIGURATION_ERROR, RYGEL_CONFIGURATION_ERROR_NO_VALUE_SET, _tmp15_);
#line 242 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_inner_error_ = _tmp16_;
#line 242 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		g_propagate_error (error, _inner_error_);
#line 242 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_g_free0 (val);
#line 242 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		return NULL;
#line 1862 "rygel-meta-config.c"
	}
#line 245 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	result = val;
#line 245 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	return result;
#line 1868 "rygel-meta-config.c"
}


static gchar* rygel_meta_config_real_get_media_engine (RygelConfiguration* base, GError** error) {
	RygelMetaConfig * self;
	gchar* result = NULL;
	gchar* val;
	gboolean unavailable;
	gboolean _tmp14_;
	GError * _inner_error_ = NULL;
#line 248 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	self = (RygelMetaConfig*) base;
#line 249 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	val = NULL;
#line 250 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	unavailable = TRUE;
#line 1885 "rygel-meta-config.c"
	{
		GeeArrayList* _tmp0_;
		GeeArrayList* _tmp1_;
		GeeArrayList* _config_list;
		GeeArrayList* _tmp2_;
		gint _tmp3_;
		gint _tmp4_;
		gint _config_size;
		gint _config_index;
#line 252 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp0_ = rygel_meta_config_configs;
#line 252 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp1_ = _g_object_ref0 (_tmp0_);
#line 252 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_list = _tmp1_;
#line 252 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp2_ = _config_list;
#line 252 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp3_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp2_);
#line 252 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp4_ = _tmp3_;
#line 252 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_size = _tmp4_;
#line 252 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_index = -1;
#line 252 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		while (TRUE) {
#line 1913 "rygel-meta-config.c"
			gint _tmp5_;
			gint _tmp6_;
			gint _tmp7_;
			GeeArrayList* _tmp8_;
			gint _tmp9_;
			gpointer _tmp10_ = NULL;
			RygelConfiguration* config;
#line 252 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp5_ = _config_index;
#line 252 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_config_index = _tmp5_ + 1;
#line 252 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp6_ = _config_index;
#line 252 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp7_ = _config_size;
#line 252 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			if (!(_tmp6_ < _tmp7_)) {
#line 252 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 1933 "rygel-meta-config.c"
			}
#line 252 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp8_ = _config_list;
#line 252 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp9_ = _config_index;
#line 252 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp10_ = gee_abstract_list_get ((GeeAbstractList*) _tmp8_, _tmp9_);
#line 252 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			config = (RygelConfiguration*) _tmp10_;
#line 1943 "rygel-meta-config.c"
			{
				RygelConfiguration* _tmp11_;
				gchar* _tmp12_ = NULL;
				gchar* _tmp13_;
#line 254 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp11_ = config;
#line 254 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp12_ = rygel_configuration_get_media_engine (_tmp11_, &_inner_error_);
#line 254 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp13_ = _tmp12_;
#line 254 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				if (_inner_error_ != NULL) {
#line 1956 "rygel-meta-config.c"
					goto __catch15_g_error;
				}
#line 254 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_free0 (val);
#line 254 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				val = _tmp13_;
#line 255 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				unavailable = FALSE;
#line 256 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (config);
#line 256 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 1969 "rygel-meta-config.c"
			}
			goto __finally15;
			__catch15_g_error:
			{
				GError* err = NULL;
#line 253 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				err = _inner_error_;
#line 253 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_inner_error_ = NULL;
#line 253 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_error_free0 (err);
#line 1981 "rygel-meta-config.c"
			}
			__finally15:
#line 253 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			if (_inner_error_ != NULL) {
#line 253 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				g_propagate_error (error, _inner_error_);
#line 253 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (config);
#line 253 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (_config_list);
#line 253 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_free0 (val);
#line 253 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				return NULL;
#line 1996 "rygel-meta-config.c"
			}
#line 252 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_g_object_unref0 (config);
#line 2000 "rygel-meta-config.c"
		}
#line 252 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_g_object_unref0 (_config_list);
#line 2004 "rygel-meta-config.c"
	}
#line 260 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp14_ = unavailable;
#line 260 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	if (_tmp14_) {
#line 2010 "rygel-meta-config.c"
		const gchar* _tmp15_ = NULL;
		GError* _tmp16_;
#line 261 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp15_ = _ ("No value available");
#line 261 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp16_ = g_error_new_literal (RYGEL_CONFIGURATION_ERROR, RYGEL_CONFIGURATION_ERROR_NO_VALUE_SET, _tmp15_);
#line 261 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_inner_error_ = _tmp16_;
#line 261 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		g_propagate_error (error, _inner_error_);
#line 261 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_g_free0 (val);
#line 261 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		return NULL;
#line 2025 "rygel-meta-config.c"
	}
#line 264 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	result = val;
#line 264 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	return result;
#line 2031 "rygel-meta-config.c"
}


static gchar* rygel_meta_config_real_get_engine_path (RygelConfiguration* base, GError** error) {
	RygelMetaConfig * self;
	gchar* result = NULL;
	gchar* val;
	gboolean unavailable;
	gboolean _tmp14_;
	GError * _inner_error_ = NULL;
#line 267 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	self = (RygelMetaConfig*) base;
#line 268 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	val = NULL;
#line 269 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	unavailable = TRUE;
#line 2048 "rygel-meta-config.c"
	{
		GeeArrayList* _tmp0_;
		GeeArrayList* _tmp1_;
		GeeArrayList* _config_list;
		GeeArrayList* _tmp2_;
		gint _tmp3_;
		gint _tmp4_;
		gint _config_size;
		gint _config_index;
#line 271 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp0_ = rygel_meta_config_configs;
#line 271 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp1_ = _g_object_ref0 (_tmp0_);
#line 271 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_list = _tmp1_;
#line 271 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp2_ = _config_list;
#line 271 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp3_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp2_);
#line 271 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp4_ = _tmp3_;
#line 271 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_size = _tmp4_;
#line 271 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_index = -1;
#line 271 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		while (TRUE) {
#line 2076 "rygel-meta-config.c"
			gint _tmp5_;
			gint _tmp6_;
			gint _tmp7_;
			GeeArrayList* _tmp8_;
			gint _tmp9_;
			gpointer _tmp10_ = NULL;
			RygelConfiguration* config;
#line 271 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp5_ = _config_index;
#line 271 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_config_index = _tmp5_ + 1;
#line 271 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp6_ = _config_index;
#line 271 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp7_ = _config_size;
#line 271 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			if (!(_tmp6_ < _tmp7_)) {
#line 271 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 2096 "rygel-meta-config.c"
			}
#line 271 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp8_ = _config_list;
#line 271 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp9_ = _config_index;
#line 271 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp10_ = gee_abstract_list_get ((GeeAbstractList*) _tmp8_, _tmp9_);
#line 271 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			config = (RygelConfiguration*) _tmp10_;
#line 2106 "rygel-meta-config.c"
			{
				RygelConfiguration* _tmp11_;
				gchar* _tmp12_ = NULL;
				gchar* _tmp13_;
#line 273 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp11_ = config;
#line 273 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp12_ = rygel_configuration_get_engine_path (_tmp11_, &_inner_error_);
#line 273 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp13_ = _tmp12_;
#line 273 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				if (_inner_error_ != NULL) {
#line 2119 "rygel-meta-config.c"
					goto __catch16_g_error;
				}
#line 273 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_free0 (val);
#line 273 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				val = _tmp13_;
#line 274 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				unavailable = FALSE;
#line 275 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (config);
#line 275 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 2132 "rygel-meta-config.c"
			}
			goto __finally16;
			__catch16_g_error:
			{
				GError* err = NULL;
#line 272 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				err = _inner_error_;
#line 272 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_inner_error_ = NULL;
#line 272 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_error_free0 (err);
#line 2144 "rygel-meta-config.c"
			}
			__finally16:
#line 272 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			if (_inner_error_ != NULL) {
#line 272 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				g_propagate_error (error, _inner_error_);
#line 272 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (config);
#line 272 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (_config_list);
#line 272 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_free0 (val);
#line 272 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				return NULL;
#line 2159 "rygel-meta-config.c"
			}
#line 271 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_g_object_unref0 (config);
#line 2163 "rygel-meta-config.c"
		}
#line 271 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_g_object_unref0 (_config_list);
#line 2167 "rygel-meta-config.c"
	}
#line 279 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp14_ = unavailable;
#line 279 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	if (_tmp14_) {
#line 2173 "rygel-meta-config.c"
		const gchar* _tmp15_ = NULL;
		GError* _tmp16_;
#line 280 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp15_ = _ ("No value available");
#line 280 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp16_ = g_error_new_literal (RYGEL_CONFIGURATION_ERROR, RYGEL_CONFIGURATION_ERROR_NO_VALUE_SET, _tmp15_);
#line 280 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_inner_error_ = _tmp16_;
#line 280 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		g_propagate_error (error, _inner_error_);
#line 280 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_g_free0 (val);
#line 280 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		return NULL;
#line 2188 "rygel-meta-config.c"
	}
#line 283 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	result = val;
#line 283 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	return result;
#line 2194 "rygel-meta-config.c"
}


static gchar* string_replace (const gchar* self, const gchar* old, const gchar* replacement) {
	gchar* result = NULL;
	GError * _inner_error_ = NULL;
#line 1242 "/usr/share/vala-0.20/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1242 "/usr/share/vala-0.20/vapi/glib-2.0.vapi"
	g_return_val_if_fail (old != NULL, NULL);
#line 1242 "/usr/share/vala-0.20/vapi/glib-2.0.vapi"
	g_return_val_if_fail (replacement != NULL, NULL);
#line 2207 "rygel-meta-config.c"
	{
		const gchar* _tmp0_;
		gchar* _tmp1_ = NULL;
		gchar* _tmp2_;
		GRegex* _tmp3_;
		GRegex* _tmp4_;
		GRegex* regex;
		GRegex* _tmp5_;
		const gchar* _tmp6_;
		gchar* _tmp7_ = NULL;
		gchar* _tmp8_;
#line 1244 "/usr/share/vala-0.20/vapi/glib-2.0.vapi"
		_tmp0_ = old;
#line 1244 "/usr/share/vala-0.20/vapi/glib-2.0.vapi"
		_tmp1_ = g_regex_escape_string (_tmp0_, -1);
#line 1244 "/usr/share/vala-0.20/vapi/glib-2.0.vapi"
		_tmp2_ = _tmp1_;
#line 1244 "/usr/share/vala-0.20/vapi/glib-2.0.vapi"
		_tmp3_ = g_regex_new (_tmp2_, 0, 0, &_inner_error_);
#line 1244 "/usr/share/vala-0.20/vapi/glib-2.0.vapi"
		_tmp4_ = _tmp3_;
#line 1244 "/usr/share/vala-0.20/vapi/glib-2.0.vapi"
		_g_free0 (_tmp2_);
#line 1244 "/usr/share/vala-0.20/vapi/glib-2.0.vapi"
		regex = _tmp4_;
#line 1244 "/usr/share/vala-0.20/vapi/glib-2.0.vapi"
		if (_inner_error_ != NULL) {
#line 1244 "/usr/share/vala-0.20/vapi/glib-2.0.vapi"
			if (_inner_error_->domain == G_REGEX_ERROR) {
#line 2237 "rygel-meta-config.c"
				goto __catch18_g_regex_error;
			}
#line 1244 "/usr/share/vala-0.20/vapi/glib-2.0.vapi"
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1244 "/usr/share/vala-0.20/vapi/glib-2.0.vapi"
			g_clear_error (&_inner_error_);
#line 1244 "/usr/share/vala-0.20/vapi/glib-2.0.vapi"
			return NULL;
#line 2246 "rygel-meta-config.c"
		}
#line 1245 "/usr/share/vala-0.20/vapi/glib-2.0.vapi"
		_tmp5_ = regex;
#line 1245 "/usr/share/vala-0.20/vapi/glib-2.0.vapi"
		_tmp6_ = replacement;
#line 1245 "/usr/share/vala-0.20/vapi/glib-2.0.vapi"
		_tmp7_ = g_regex_replace_literal (_tmp5_, self, (gssize) (-1), 0, _tmp6_, 0, &_inner_error_);
#line 1245 "/usr/share/vala-0.20/vapi/glib-2.0.vapi"
		_tmp8_ = _tmp7_;
#line 1245 "/usr/share/vala-0.20/vapi/glib-2.0.vapi"
		if (_inner_error_ != NULL) {
#line 1245 "/usr/share/vala-0.20/vapi/glib-2.0.vapi"
			_g_regex_unref0 (regex);
#line 1245 "/usr/share/vala-0.20/vapi/glib-2.0.vapi"
			if (_inner_error_->domain == G_REGEX_ERROR) {
#line 2262 "rygel-meta-config.c"
				goto __catch18_g_regex_error;
			}
#line 1245 "/usr/share/vala-0.20/vapi/glib-2.0.vapi"
			_g_regex_unref0 (regex);
#line 1245 "/usr/share/vala-0.20/vapi/glib-2.0.vapi"
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1245 "/usr/share/vala-0.20/vapi/glib-2.0.vapi"
			g_clear_error (&_inner_error_);
#line 1245 "/usr/share/vala-0.20/vapi/glib-2.0.vapi"
			return NULL;
#line 2273 "rygel-meta-config.c"
		}
#line 1245 "/usr/share/vala-0.20/vapi/glib-2.0.vapi"
		result = _tmp8_;
#line 1245 "/usr/share/vala-0.20/vapi/glib-2.0.vapi"
		_g_regex_unref0 (regex);
#line 1245 "/usr/share/vala-0.20/vapi/glib-2.0.vapi"
		return result;
#line 2281 "rygel-meta-config.c"
	}
	goto __finally18;
	__catch18_g_regex_error:
	{
		GError* e = NULL;
#line 1243 "/usr/share/vala-0.20/vapi/glib-2.0.vapi"
		e = _inner_error_;
#line 1243 "/usr/share/vala-0.20/vapi/glib-2.0.vapi"
		_inner_error_ = NULL;
#line 1247 "/usr/share/vala-0.20/vapi/glib-2.0.vapi"
		g_assert_not_reached ();
#line 1243 "/usr/share/vala-0.20/vapi/glib-2.0.vapi"
		_g_error_free0 (e);
#line 2295 "rygel-meta-config.c"
	}
	__finally18:
#line 1243 "/usr/share/vala-0.20/vapi/glib-2.0.vapi"
	if (_inner_error_ != NULL) {
#line 1243 "/usr/share/vala-0.20/vapi/glib-2.0.vapi"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1243 "/usr/share/vala-0.20/vapi/glib-2.0.vapi"
		g_clear_error (&_inner_error_);
#line 1243 "/usr/share/vala-0.20/vapi/glib-2.0.vapi"
		return NULL;
#line 2306 "rygel-meta-config.c"
	}
}


static gchar* rygel_meta_config_real_get_video_upload_folder (RygelConfiguration* base, GError** error) {
	RygelMetaConfig * self;
	gchar* result = NULL;
	const gchar* _tmp0_ = NULL;
	const gchar* _default_;
	const gchar* _tmp1_;
	gchar* _tmp2_;
	gchar* value;
	const gchar* _tmp17_;
	const gchar* _tmp18_;
	gchar* _tmp19_ = NULL;
	GError * _inner_error_ = NULL;
#line 286 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	self = (RygelMetaConfig*) base;
#line 287 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp0_ = g_get_user_special_dir (G_USER_DIRECTORY_VIDEOS);
#line 287 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_default_ = _tmp0_;
#line 289 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp1_ = _default_;
#line 289 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp2_ = g_strdup (_tmp1_);
#line 289 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	value = _tmp2_;
#line 2335 "rygel-meta-config.c"
	{
		GeeArrayList* _tmp3_;
		GeeArrayList* _tmp4_;
		GeeArrayList* _config_list;
		GeeArrayList* _tmp5_;
		gint _tmp6_;
		gint _tmp7_;
		gint _config_size;
		gint _config_index;
#line 291 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp3_ = rygel_meta_config_configs;
#line 291 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp4_ = _g_object_ref0 (_tmp3_);
#line 291 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_list = _tmp4_;
#line 291 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp5_ = _config_list;
#line 291 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp6_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp5_);
#line 291 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp7_ = _tmp6_;
#line 291 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_size = _tmp7_;
#line 291 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_index = -1;
#line 291 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		while (TRUE) {
#line 2363 "rygel-meta-config.c"
			gint _tmp8_;
			gint _tmp9_;
			gint _tmp10_;
			GeeArrayList* _tmp11_;
			gint _tmp12_;
			gpointer _tmp13_ = NULL;
			RygelConfiguration* config;
#line 291 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp8_ = _config_index;
#line 291 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_config_index = _tmp8_ + 1;
#line 291 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp9_ = _config_index;
#line 291 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp10_ = _config_size;
#line 291 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			if (!(_tmp9_ < _tmp10_)) {
#line 291 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 2383 "rygel-meta-config.c"
			}
#line 291 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp11_ = _config_list;
#line 291 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp12_ = _config_index;
#line 291 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp13_ = gee_abstract_list_get ((GeeAbstractList*) _tmp11_, _tmp12_);
#line 291 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			config = (RygelConfiguration*) _tmp13_;
#line 2393 "rygel-meta-config.c"
			{
				RygelConfiguration* _tmp14_;
				gchar* _tmp15_ = NULL;
				gchar* _tmp16_;
#line 293 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp14_ = config;
#line 293 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp15_ = rygel_configuration_get_video_upload_folder (_tmp14_, &_inner_error_);
#line 293 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp16_ = _tmp15_;
#line 293 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				if (_inner_error_ != NULL) {
#line 2406 "rygel-meta-config.c"
					goto __catch17_g_error;
				}
#line 293 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_free0 (value);
#line 293 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				value = _tmp16_;
#line 2413 "rygel-meta-config.c"
			}
			goto __finally17;
			__catch17_g_error:
			{
				GError* err = NULL;
#line 292 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				err = _inner_error_;
#line 292 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_inner_error_ = NULL;
#line 292 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_error_free0 (err);
#line 2425 "rygel-meta-config.c"
			}
			__finally17:
#line 292 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			if (_inner_error_ != NULL) {
#line 292 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				g_propagate_error (error, _inner_error_);
#line 292 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (config);
#line 292 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (_config_list);
#line 292 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_free0 (value);
#line 292 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				return NULL;
#line 2440 "rygel-meta-config.c"
			}
#line 291 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_g_object_unref0 (config);
#line 2444 "rygel-meta-config.c"
		}
#line 291 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_g_object_unref0 (_config_list);
#line 2448 "rygel-meta-config.c"
	}
#line 297 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp17_ = value;
#line 297 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp18_ = _default_;
#line 297 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp19_ = string_replace (_tmp17_, "@VIDEOS@", _tmp18_);
#line 297 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	result = _tmp19_;
#line 297 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_g_free0 (value);
#line 297 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	return result;
#line 2462 "rygel-meta-config.c"
}


static gchar* rygel_meta_config_real_get_music_upload_folder (RygelConfiguration* base, GError** error) {
	RygelMetaConfig * self;
	gchar* result = NULL;
	const gchar* _tmp0_ = NULL;
	const gchar* _default_;
	const gchar* _tmp1_;
	gchar* _tmp2_;
	gchar* value;
	const gchar* _tmp17_;
	const gchar* _tmp18_;
	gchar* _tmp19_ = NULL;
	GError * _inner_error_ = NULL;
#line 300 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	self = (RygelMetaConfig*) base;
#line 301 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp0_ = g_get_user_special_dir (G_USER_DIRECTORY_MUSIC);
#line 301 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_default_ = _tmp0_;
#line 304 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp1_ = _default_;
#line 304 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp2_ = g_strdup (_tmp1_);
#line 304 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	value = _tmp2_;
#line 2490 "rygel-meta-config.c"
	{
		GeeArrayList* _tmp3_;
		GeeArrayList* _tmp4_;
		GeeArrayList* _config_list;
		GeeArrayList* _tmp5_;
		gint _tmp6_;
		gint _tmp7_;
		gint _config_size;
		gint _config_index;
#line 306 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp3_ = rygel_meta_config_configs;
#line 306 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp4_ = _g_object_ref0 (_tmp3_);
#line 306 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_list = _tmp4_;
#line 306 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp5_ = _config_list;
#line 306 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp6_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp5_);
#line 306 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp7_ = _tmp6_;
#line 306 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_size = _tmp7_;
#line 306 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_index = -1;
#line 306 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		while (TRUE) {
#line 2518 "rygel-meta-config.c"
			gint _tmp8_;
			gint _tmp9_;
			gint _tmp10_;
			GeeArrayList* _tmp11_;
			gint _tmp12_;
			gpointer _tmp13_ = NULL;
			RygelConfiguration* config;
#line 306 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp8_ = _config_index;
#line 306 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_config_index = _tmp8_ + 1;
#line 306 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp9_ = _config_index;
#line 306 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp10_ = _config_size;
#line 306 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			if (!(_tmp9_ < _tmp10_)) {
#line 306 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 2538 "rygel-meta-config.c"
			}
#line 306 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp11_ = _config_list;
#line 306 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp12_ = _config_index;
#line 306 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp13_ = gee_abstract_list_get ((GeeAbstractList*) _tmp11_, _tmp12_);
#line 306 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			config = (RygelConfiguration*) _tmp13_;
#line 2548 "rygel-meta-config.c"
			{
				RygelConfiguration* _tmp14_;
				gchar* _tmp15_ = NULL;
				gchar* _tmp16_;
#line 308 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp14_ = config;
#line 308 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp15_ = rygel_configuration_get_music_upload_folder (_tmp14_, &_inner_error_);
#line 308 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp16_ = _tmp15_;
#line 308 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				if (_inner_error_ != NULL) {
#line 2561 "rygel-meta-config.c"
					goto __catch19_g_error;
				}
#line 308 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_free0 (value);
#line 308 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				value = _tmp16_;
#line 2568 "rygel-meta-config.c"
			}
			goto __finally19;
			__catch19_g_error:
			{
				GError* err = NULL;
#line 307 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				err = _inner_error_;
#line 307 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_inner_error_ = NULL;
#line 307 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_error_free0 (err);
#line 2580 "rygel-meta-config.c"
			}
			__finally19:
#line 307 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			if (_inner_error_ != NULL) {
#line 307 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				g_propagate_error (error, _inner_error_);
#line 307 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (config);
#line 307 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (_config_list);
#line 307 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_free0 (value);
#line 307 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				return NULL;
#line 2595 "rygel-meta-config.c"
			}
#line 306 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_g_object_unref0 (config);
#line 2599 "rygel-meta-config.c"
		}
#line 306 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_g_object_unref0 (_config_list);
#line 2603 "rygel-meta-config.c"
	}
#line 312 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp17_ = value;
#line 312 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp18_ = _default_;
#line 312 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp19_ = string_replace (_tmp17_, "@MUSIC@", _tmp18_);
#line 312 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	result = _tmp19_;
#line 312 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_g_free0 (value);
#line 312 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	return result;
#line 2617 "rygel-meta-config.c"
}


static gchar* rygel_meta_config_real_get_picture_upload_folder (RygelConfiguration* base, GError** error) {
	RygelMetaConfig * self;
	gchar* result = NULL;
	const gchar* _tmp0_ = NULL;
	const gchar* _default_;
	const gchar* _tmp1_;
	gchar* _tmp2_;
	gchar* value;
	const gchar* _tmp17_;
	const gchar* _tmp18_;
	gchar* _tmp19_ = NULL;
	GError * _inner_error_ = NULL;
#line 315 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	self = (RygelMetaConfig*) base;
#line 316 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp0_ = g_get_user_special_dir (G_USER_DIRECTORY_PICTURES);
#line 316 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_default_ = _tmp0_;
#line 318 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp1_ = _default_;
#line 318 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp2_ = g_strdup (_tmp1_);
#line 318 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	value = _tmp2_;
#line 2645 "rygel-meta-config.c"
	{
		GeeArrayList* _tmp3_;
		GeeArrayList* _tmp4_;
		GeeArrayList* _config_list;
		GeeArrayList* _tmp5_;
		gint _tmp6_;
		gint _tmp7_;
		gint _config_size;
		gint _config_index;
#line 320 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp3_ = rygel_meta_config_configs;
#line 320 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp4_ = _g_object_ref0 (_tmp3_);
#line 320 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_list = _tmp4_;
#line 320 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp5_ = _config_list;
#line 320 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp6_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp5_);
#line 320 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp7_ = _tmp6_;
#line 320 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_size = _tmp7_;
#line 320 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_index = -1;
#line 320 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		while (TRUE) {
#line 2673 "rygel-meta-config.c"
			gint _tmp8_;
			gint _tmp9_;
			gint _tmp10_;
			GeeArrayList* _tmp11_;
			gint _tmp12_;
			gpointer _tmp13_ = NULL;
			RygelConfiguration* config;
#line 320 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp8_ = _config_index;
#line 320 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_config_index = _tmp8_ + 1;
#line 320 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp9_ = _config_index;
#line 320 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp10_ = _config_size;
#line 320 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			if (!(_tmp9_ < _tmp10_)) {
#line 320 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 2693 "rygel-meta-config.c"
			}
#line 320 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp11_ = _config_list;
#line 320 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp12_ = _config_index;
#line 320 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp13_ = gee_abstract_list_get ((GeeAbstractList*) _tmp11_, _tmp12_);
#line 320 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			config = (RygelConfiguration*) _tmp13_;
#line 2703 "rygel-meta-config.c"
			{
				RygelConfiguration* _tmp14_;
				gchar* _tmp15_ = NULL;
				gchar* _tmp16_;
#line 322 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp14_ = config;
#line 322 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp15_ = rygel_configuration_get_picture_upload_folder (_tmp14_, &_inner_error_);
#line 322 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp16_ = _tmp15_;
#line 322 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				if (_inner_error_ != NULL) {
#line 2716 "rygel-meta-config.c"
					goto __catch20_g_error;
				}
#line 322 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_free0 (value);
#line 322 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				value = _tmp16_;
#line 2723 "rygel-meta-config.c"
			}
			goto __finally20;
			__catch20_g_error:
			{
				GError* err = NULL;
#line 321 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				err = _inner_error_;
#line 321 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_inner_error_ = NULL;
#line 321 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_error_free0 (err);
#line 2735 "rygel-meta-config.c"
			}
			__finally20:
#line 321 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			if (_inner_error_ != NULL) {
#line 321 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				g_propagate_error (error, _inner_error_);
#line 321 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (config);
#line 321 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (_config_list);
#line 321 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_free0 (value);
#line 321 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				return NULL;
#line 2750 "rygel-meta-config.c"
			}
#line 320 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_g_object_unref0 (config);
#line 2754 "rygel-meta-config.c"
		}
#line 320 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_g_object_unref0 (_config_list);
#line 2758 "rygel-meta-config.c"
	}
#line 326 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp17_ = value;
#line 326 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp18_ = _default_;
#line 326 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp19_ = string_replace (_tmp17_, "@PICTURES@", _tmp18_);
#line 326 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	result = _tmp19_;
#line 326 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_g_free0 (value);
#line 326 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	return result;
#line 2772 "rygel-meta-config.c"
}


static gboolean rygel_meta_config_real_get_enabled (RygelConfiguration* base, const gchar* section, GError** error) {
	RygelMetaConfig * self;
	gboolean result = FALSE;
	gboolean val;
	gboolean unavailable;
	gboolean _tmp15_;
	GError * _inner_error_ = NULL;
#line 330 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	self = (RygelMetaConfig*) base;
#line 330 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	g_return_val_if_fail (section != NULL, FALSE);
#line 331 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	val = TRUE;
#line 332 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	unavailable = TRUE;
#line 2791 "rygel-meta-config.c"
	{
		GeeArrayList* _tmp0_;
		GeeArrayList* _tmp1_;
		GeeArrayList* _config_list;
		GeeArrayList* _tmp2_;
		gint _tmp3_;
		gint _tmp4_;
		gint _config_size;
		gint _config_index;
#line 334 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp0_ = rygel_meta_config_configs;
#line 334 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp1_ = _g_object_ref0 (_tmp0_);
#line 334 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_list = _tmp1_;
#line 334 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp2_ = _config_list;
#line 334 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp3_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp2_);
#line 334 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp4_ = _tmp3_;
#line 334 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_size = _tmp4_;
#line 334 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_index = -1;
#line 334 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		while (TRUE) {
#line 2819 "rygel-meta-config.c"
			gint _tmp5_;
			gint _tmp6_;
			gint _tmp7_;
			GeeArrayList* _tmp8_;
			gint _tmp9_;
			gpointer _tmp10_ = NULL;
			RygelConfiguration* config;
#line 334 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp5_ = _config_index;
#line 334 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_config_index = _tmp5_ + 1;
#line 334 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp6_ = _config_index;
#line 334 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp7_ = _config_size;
#line 334 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			if (!(_tmp6_ < _tmp7_)) {
#line 334 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 2839 "rygel-meta-config.c"
			}
#line 334 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp8_ = _config_list;
#line 334 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp9_ = _config_index;
#line 334 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp10_ = gee_abstract_list_get ((GeeAbstractList*) _tmp8_, _tmp9_);
#line 334 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			config = (RygelConfiguration*) _tmp10_;
#line 2849 "rygel-meta-config.c"
			{
				RygelConfiguration* _tmp11_;
				const gchar* _tmp12_;
				gboolean _tmp13_ = FALSE;
				gboolean _tmp14_;
#line 336 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp11_ = config;
#line 336 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp12_ = section;
#line 336 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp13_ = rygel_configuration_get_enabled (_tmp11_, _tmp12_, &_inner_error_);
#line 336 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp14_ = _tmp13_;
#line 336 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				if (_inner_error_ != NULL) {
#line 2865 "rygel-meta-config.c"
					goto __catch21_g_error;
				}
#line 336 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				val = _tmp14_;
#line 337 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				unavailable = FALSE;
#line 338 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (config);
#line 338 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 2876 "rygel-meta-config.c"
			}
			goto __finally21;
			__catch21_g_error:
			{
				GError* err = NULL;
#line 335 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				err = _inner_error_;
#line 335 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_inner_error_ = NULL;
#line 335 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_error_free0 (err);
#line 2888 "rygel-meta-config.c"
			}
			__finally21:
#line 335 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			if (_inner_error_ != NULL) {
#line 335 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				g_propagate_error (error, _inner_error_);
#line 335 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (config);
#line 335 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (_config_list);
#line 335 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				return FALSE;
#line 2901 "rygel-meta-config.c"
			}
#line 334 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_g_object_unref0 (config);
#line 2905 "rygel-meta-config.c"
		}
#line 334 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_g_object_unref0 (_config_list);
#line 2909 "rygel-meta-config.c"
	}
#line 342 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp15_ = unavailable;
#line 342 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	if (_tmp15_) {
#line 2915 "rygel-meta-config.c"
		const gchar* _tmp16_ = NULL;
		gchar* _tmp17_;
		gchar* msg;
		const gchar* _tmp18_;
		const gchar* _tmp19_;
		GError* _tmp20_;
#line 344 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp16_ = _ ("No value set for '%s/enabled'");
#line 344 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp17_ = g_strdup (_tmp16_);
#line 344 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		msg = _tmp17_;
#line 345 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp18_ = msg;
#line 345 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp19_ = section;
#line 345 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp20_ = g_error_new (RYGEL_CONFIGURATION_ERROR, RYGEL_CONFIGURATION_ERROR_NO_VALUE_SET, _tmp18_, _tmp19_);
#line 345 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_inner_error_ = _tmp20_;
#line 345 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		g_propagate_error (error, _inner_error_);
#line 345 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_g_free0 (msg);
#line 345 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		return FALSE;
#line 2942 "rygel-meta-config.c"
	}
#line 348 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	result = val;
#line 348 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	return result;
#line 2948 "rygel-meta-config.c"
}


static gchar* rygel_meta_config_real_get_title (RygelConfiguration* base, const gchar* section, GError** error) {
	RygelMetaConfig * self;
	gchar* result = NULL;
	gchar* val;
	const gchar* _tmp15_;
	GError * _inner_error_ = NULL;
#line 351 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	self = (RygelMetaConfig*) base;
#line 351 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	g_return_val_if_fail (section != NULL, NULL);
#line 352 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	val = NULL;
#line 2964 "rygel-meta-config.c"
	{
		GeeArrayList* _tmp0_;
		GeeArrayList* _tmp1_;
		GeeArrayList* _config_list;
		GeeArrayList* _tmp2_;
		gint _tmp3_;
		gint _tmp4_;
		gint _config_size;
		gint _config_index;
#line 354 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp0_ = rygel_meta_config_configs;
#line 354 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp1_ = _g_object_ref0 (_tmp0_);
#line 354 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_list = _tmp1_;
#line 354 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp2_ = _config_list;
#line 354 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp3_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp2_);
#line 354 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp4_ = _tmp3_;
#line 354 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_size = _tmp4_;
#line 354 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_index = -1;
#line 354 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		while (TRUE) {
#line 2992 "rygel-meta-config.c"
			gint _tmp5_;
			gint _tmp6_;
			gint _tmp7_;
			GeeArrayList* _tmp8_;
			gint _tmp9_;
			gpointer _tmp10_ = NULL;
			RygelConfiguration* config;
#line 354 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp5_ = _config_index;
#line 354 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_config_index = _tmp5_ + 1;
#line 354 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp6_ = _config_index;
#line 354 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp7_ = _config_size;
#line 354 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			if (!(_tmp6_ < _tmp7_)) {
#line 354 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 3012 "rygel-meta-config.c"
			}
#line 354 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp8_ = _config_list;
#line 354 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp9_ = _config_index;
#line 354 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp10_ = gee_abstract_list_get ((GeeAbstractList*) _tmp8_, _tmp9_);
#line 354 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			config = (RygelConfiguration*) _tmp10_;
#line 3022 "rygel-meta-config.c"
			{
				RygelConfiguration* _tmp11_;
				const gchar* _tmp12_;
				gchar* _tmp13_ = NULL;
				gchar* _tmp14_;
#line 356 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp11_ = config;
#line 356 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp12_ = section;
#line 356 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp13_ = rygel_configuration_get_title (_tmp11_, _tmp12_, &_inner_error_);
#line 356 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp14_ = _tmp13_;
#line 356 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				if (_inner_error_ != NULL) {
#line 3038 "rygel-meta-config.c"
					goto __catch22_g_error;
				}
#line 356 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_free0 (val);
#line 356 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				val = _tmp14_;
#line 357 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (config);
#line 357 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 3049 "rygel-meta-config.c"
			}
			goto __finally22;
			__catch22_g_error:
			{
				GError* err = NULL;
#line 355 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				err = _inner_error_;
#line 355 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_inner_error_ = NULL;
#line 355 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_error_free0 (err);
#line 3061 "rygel-meta-config.c"
			}
			__finally22:
#line 355 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			if (_inner_error_ != NULL) {
#line 355 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				g_propagate_error (error, _inner_error_);
#line 355 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (config);
#line 355 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (_config_list);
#line 355 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_free0 (val);
#line 355 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				return NULL;
#line 3076 "rygel-meta-config.c"
			}
#line 354 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_g_object_unref0 (config);
#line 3080 "rygel-meta-config.c"
		}
#line 354 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_g_object_unref0 (_config_list);
#line 3084 "rygel-meta-config.c"
	}
#line 361 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp15_ = val;
#line 361 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	if (_tmp15_ == NULL) {
#line 3090 "rygel-meta-config.c"
		const gchar* _tmp16_ = NULL;
		gchar* _tmp17_;
		gchar* msg;
		const gchar* _tmp18_;
		const gchar* _tmp19_;
		GError* _tmp20_;
#line 363 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp16_ = _ ("No value set for '%s/title'");
#line 363 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp17_ = g_strdup (_tmp16_);
#line 363 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		msg = _tmp17_;
#line 364 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp18_ = msg;
#line 364 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp19_ = section;
#line 364 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp20_ = g_error_new (RYGEL_CONFIGURATION_ERROR, RYGEL_CONFIGURATION_ERROR_NO_VALUE_SET, _tmp18_, _tmp19_);
#line 364 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_inner_error_ = _tmp20_;
#line 364 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		g_propagate_error (error, _inner_error_);
#line 364 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_g_free0 (msg);
#line 364 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_g_free0 (val);
#line 364 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		return NULL;
#line 3119 "rygel-meta-config.c"
	}
#line 367 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	result = val;
#line 367 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	return result;
#line 3125 "rygel-meta-config.c"
}


static gchar* rygel_meta_config_real_get_string (RygelConfiguration* base, const gchar* section, const gchar* key, GError** error) {
	RygelMetaConfig * self;
	gchar* result = NULL;
	gchar* val;
	const gchar* _tmp16_;
	GError * _inner_error_ = NULL;
#line 370 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	self = (RygelMetaConfig*) base;
#line 370 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	g_return_val_if_fail (section != NULL, NULL);
#line 370 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	g_return_val_if_fail (key != NULL, NULL);
#line 372 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	val = NULL;
#line 3143 "rygel-meta-config.c"
	{
		GeeArrayList* _tmp0_;
		GeeArrayList* _tmp1_;
		GeeArrayList* _config_list;
		GeeArrayList* _tmp2_;
		gint _tmp3_;
		gint _tmp4_;
		gint _config_size;
		gint _config_index;
#line 374 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp0_ = rygel_meta_config_configs;
#line 374 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp1_ = _g_object_ref0 (_tmp0_);
#line 374 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_list = _tmp1_;
#line 374 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp2_ = _config_list;
#line 374 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp3_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp2_);
#line 374 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp4_ = _tmp3_;
#line 374 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_size = _tmp4_;
#line 374 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_index = -1;
#line 374 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		while (TRUE) {
#line 3171 "rygel-meta-config.c"
			gint _tmp5_;
			gint _tmp6_;
			gint _tmp7_;
			GeeArrayList* _tmp8_;
			gint _tmp9_;
			gpointer _tmp10_ = NULL;
			RygelConfiguration* config;
#line 374 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp5_ = _config_index;
#line 374 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_config_index = _tmp5_ + 1;
#line 374 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp6_ = _config_index;
#line 374 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp7_ = _config_size;
#line 374 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			if (!(_tmp6_ < _tmp7_)) {
#line 374 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 3191 "rygel-meta-config.c"
			}
#line 374 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp8_ = _config_list;
#line 374 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp9_ = _config_index;
#line 374 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp10_ = gee_abstract_list_get ((GeeAbstractList*) _tmp8_, _tmp9_);
#line 374 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			config = (RygelConfiguration*) _tmp10_;
#line 3201 "rygel-meta-config.c"
			{
				RygelConfiguration* _tmp11_;
				const gchar* _tmp12_;
				const gchar* _tmp13_;
				gchar* _tmp14_ = NULL;
				gchar* _tmp15_;
#line 376 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp11_ = config;
#line 376 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp12_ = section;
#line 376 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp13_ = key;
#line 376 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp14_ = rygel_configuration_get_string (_tmp11_, _tmp12_, _tmp13_, &_inner_error_);
#line 376 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp15_ = _tmp14_;
#line 376 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				if (_inner_error_ != NULL) {
#line 3220 "rygel-meta-config.c"
					goto __catch23_g_error;
				}
#line 376 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_free0 (val);
#line 376 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				val = _tmp15_;
#line 377 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (config);
#line 377 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 3231 "rygel-meta-config.c"
			}
			goto __finally23;
			__catch23_g_error:
			{
				GError* err = NULL;
#line 375 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				err = _inner_error_;
#line 375 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_inner_error_ = NULL;
#line 375 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_error_free0 (err);
#line 3243 "rygel-meta-config.c"
			}
			__finally23:
#line 375 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			if (_inner_error_ != NULL) {
#line 375 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				g_propagate_error (error, _inner_error_);
#line 375 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (config);
#line 375 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (_config_list);
#line 375 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_free0 (val);
#line 375 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				return NULL;
#line 3258 "rygel-meta-config.c"
			}
#line 374 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_g_object_unref0 (config);
#line 3262 "rygel-meta-config.c"
		}
#line 374 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_g_object_unref0 (_config_list);
#line 3266 "rygel-meta-config.c"
	}
#line 381 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp16_ = val;
#line 381 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	if (_tmp16_ == NULL) {
#line 3272 "rygel-meta-config.c"
		const gchar* _tmp17_ = NULL;
		const gchar* _tmp18_;
		const gchar* _tmp19_;
		GError* _tmp20_;
#line 382 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp17_ = _ ("No value available for '%s/%s'");
#line 382 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp18_ = section;
#line 382 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp19_ = key;
#line 382 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp20_ = g_error_new (RYGEL_CONFIGURATION_ERROR, RYGEL_CONFIGURATION_ERROR_NO_VALUE_SET, _tmp17_, _tmp18_, _tmp19_);
#line 382 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_inner_error_ = _tmp20_;
#line 382 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		g_propagate_error (error, _inner_error_);
#line 382 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_g_free0 (val);
#line 382 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		return NULL;
#line 3293 "rygel-meta-config.c"
	}
#line 388 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	result = val;
#line 388 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	return result;
#line 3299 "rygel-meta-config.c"
}


static GeeArrayList* rygel_meta_config_real_get_string_list (RygelConfiguration* base, const gchar* section, const gchar* key, GError** error) {
	RygelMetaConfig * self;
	GeeArrayList* result = NULL;
	GeeArrayList* val;
	GeeArrayList* _tmp16_;
	GError * _inner_error_ = NULL;
#line 391 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	self = (RygelMetaConfig*) base;
#line 391 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	g_return_val_if_fail (section != NULL, NULL);
#line 391 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	g_return_val_if_fail (key != NULL, NULL);
#line 394 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	val = NULL;
#line 3317 "rygel-meta-config.c"
	{
		GeeArrayList* _tmp0_;
		GeeArrayList* _tmp1_;
		GeeArrayList* _config_list;
		GeeArrayList* _tmp2_;
		gint _tmp3_;
		gint _tmp4_;
		gint _config_size;
		gint _config_index;
#line 396 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp0_ = rygel_meta_config_configs;
#line 396 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp1_ = _g_object_ref0 (_tmp0_);
#line 396 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_list = _tmp1_;
#line 396 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp2_ = _config_list;
#line 396 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp3_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp2_);
#line 396 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp4_ = _tmp3_;
#line 396 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_size = _tmp4_;
#line 396 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_index = -1;
#line 396 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		while (TRUE) {
#line 3345 "rygel-meta-config.c"
			gint _tmp5_;
			gint _tmp6_;
			gint _tmp7_;
			GeeArrayList* _tmp8_;
			gint _tmp9_;
			gpointer _tmp10_ = NULL;
			RygelConfiguration* config;
#line 396 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp5_ = _config_index;
#line 396 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_config_index = _tmp5_ + 1;
#line 396 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp6_ = _config_index;
#line 396 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp7_ = _config_size;
#line 396 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			if (!(_tmp6_ < _tmp7_)) {
#line 396 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 3365 "rygel-meta-config.c"
			}
#line 396 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp8_ = _config_list;
#line 396 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp9_ = _config_index;
#line 396 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp10_ = gee_abstract_list_get ((GeeAbstractList*) _tmp8_, _tmp9_);
#line 396 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			config = (RygelConfiguration*) _tmp10_;
#line 3375 "rygel-meta-config.c"
			{
				RygelConfiguration* _tmp11_;
				const gchar* _tmp12_;
				const gchar* _tmp13_;
				GeeArrayList* _tmp14_ = NULL;
				GeeArrayList* _tmp15_;
#line 398 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp11_ = config;
#line 398 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp12_ = section;
#line 398 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp13_ = key;
#line 398 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp14_ = rygel_configuration_get_string_list (_tmp11_, _tmp12_, _tmp13_, &_inner_error_);
#line 398 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp15_ = _tmp14_;
#line 398 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				if (_inner_error_ != NULL) {
#line 3394 "rygel-meta-config.c"
					goto __catch24_g_error;
				}
#line 398 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (val);
#line 398 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				val = _tmp15_;
#line 399 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (config);
#line 399 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 3405 "rygel-meta-config.c"
			}
			goto __finally24;
			__catch24_g_error:
			{
				GError* err = NULL;
#line 397 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				err = _inner_error_;
#line 397 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_inner_error_ = NULL;
#line 397 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_error_free0 (err);
#line 3417 "rygel-meta-config.c"
			}
			__finally24:
#line 397 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			if (_inner_error_ != NULL) {
#line 397 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				g_propagate_error (error, _inner_error_);
#line 397 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (config);
#line 397 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (_config_list);
#line 397 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (val);
#line 397 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				return NULL;
#line 3432 "rygel-meta-config.c"
			}
#line 396 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_g_object_unref0 (config);
#line 3436 "rygel-meta-config.c"
		}
#line 396 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_g_object_unref0 (_config_list);
#line 3440 "rygel-meta-config.c"
	}
#line 403 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp16_ = val;
#line 403 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	if (_tmp16_ == NULL) {
#line 3446 "rygel-meta-config.c"
		const gchar* _tmp17_ = NULL;
		const gchar* _tmp18_;
		const gchar* _tmp19_;
		GError* _tmp20_;
#line 404 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp17_ = _ ("No value available for '%s/%s'");
#line 404 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp18_ = section;
#line 404 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp19_ = key;
#line 404 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp20_ = g_error_new (RYGEL_CONFIGURATION_ERROR, RYGEL_CONFIGURATION_ERROR_NO_VALUE_SET, _tmp17_, _tmp18_, _tmp19_);
#line 404 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_inner_error_ = _tmp20_;
#line 404 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		g_propagate_error (error, _inner_error_);
#line 404 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_g_object_unref0 (val);
#line 404 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		return NULL;
#line 3467 "rygel-meta-config.c"
	}
#line 410 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	result = val;
#line 410 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	return result;
#line 3473 "rygel-meta-config.c"
}


static gint rygel_meta_config_real_get_int (RygelConfiguration* base, const gchar* section, const gchar* key, gint min, gint max, GError** error) {
	RygelMetaConfig * self;
	gint result = 0;
	gint val;
	gboolean unavailable;
	gboolean _tmp18_;
	GError * _inner_error_ = NULL;
#line 413 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	self = (RygelMetaConfig*) base;
#line 413 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	g_return_val_if_fail (section != NULL, 0);
#line 413 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	g_return_val_if_fail (key != NULL, 0);
#line 418 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	val = 0;
#line 419 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	unavailable = TRUE;
#line 3494 "rygel-meta-config.c"
	{
		GeeArrayList* _tmp0_;
		GeeArrayList* _tmp1_;
		GeeArrayList* _config_list;
		GeeArrayList* _tmp2_;
		gint _tmp3_;
		gint _tmp4_;
		gint _config_size;
		gint _config_index;
#line 421 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp0_ = rygel_meta_config_configs;
#line 421 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp1_ = _g_object_ref0 (_tmp0_);
#line 421 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_list = _tmp1_;
#line 421 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp2_ = _config_list;
#line 421 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp3_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp2_);
#line 421 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp4_ = _tmp3_;
#line 421 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_size = _tmp4_;
#line 421 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_index = -1;
#line 421 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		while (TRUE) {
#line 3522 "rygel-meta-config.c"
			gint _tmp5_;
			gint _tmp6_;
			gint _tmp7_;
			GeeArrayList* _tmp8_;
			gint _tmp9_;
			gpointer _tmp10_ = NULL;
			RygelConfiguration* config;
#line 421 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp5_ = _config_index;
#line 421 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_config_index = _tmp5_ + 1;
#line 421 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp6_ = _config_index;
#line 421 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp7_ = _config_size;
#line 421 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			if (!(_tmp6_ < _tmp7_)) {
#line 421 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 3542 "rygel-meta-config.c"
			}
#line 421 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp8_ = _config_list;
#line 421 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp9_ = _config_index;
#line 421 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp10_ = gee_abstract_list_get ((GeeAbstractList*) _tmp8_, _tmp9_);
#line 421 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			config = (RygelConfiguration*) _tmp10_;
#line 3552 "rygel-meta-config.c"
			{
				RygelConfiguration* _tmp11_;
				const gchar* _tmp12_;
				const gchar* _tmp13_;
				gint _tmp14_;
				gint _tmp15_;
				gint _tmp16_ = 0;
				gint _tmp17_;
#line 423 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp11_ = config;
#line 423 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp12_ = section;
#line 423 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp13_ = key;
#line 423 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp14_ = min;
#line 423 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp15_ = max;
#line 423 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp16_ = rygel_configuration_get_int (_tmp11_, _tmp12_, _tmp13_, _tmp14_, _tmp15_, &_inner_error_);
#line 423 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp17_ = _tmp16_;
#line 423 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				if (_inner_error_ != NULL) {
#line 3577 "rygel-meta-config.c"
					goto __catch25_g_error;
				}
#line 423 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				val = _tmp17_;
#line 424 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				unavailable = FALSE;
#line 425 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (config);
#line 425 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 3588 "rygel-meta-config.c"
			}
			goto __finally25;
			__catch25_g_error:
			{
				GError* err = NULL;
#line 422 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				err = _inner_error_;
#line 422 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_inner_error_ = NULL;
#line 422 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_error_free0 (err);
#line 3600 "rygel-meta-config.c"
			}
			__finally25:
#line 422 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			if (_inner_error_ != NULL) {
#line 422 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				g_propagate_error (error, _inner_error_);
#line 422 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (config);
#line 422 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (_config_list);
#line 422 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				return 0;
#line 3613 "rygel-meta-config.c"
			}
#line 421 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_g_object_unref0 (config);
#line 3617 "rygel-meta-config.c"
		}
#line 421 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_g_object_unref0 (_config_list);
#line 3621 "rygel-meta-config.c"
	}
#line 429 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp18_ = unavailable;
#line 429 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	if (_tmp18_) {
#line 3627 "rygel-meta-config.c"
		const gchar* _tmp19_ = NULL;
		const gchar* _tmp20_;
		const gchar* _tmp21_;
		GError* _tmp22_;
#line 430 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp19_ = _ ("No value available for '%s/%s'");
#line 430 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp20_ = section;
#line 430 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp21_ = key;
#line 430 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp22_ = g_error_new (RYGEL_CONFIGURATION_ERROR, RYGEL_CONFIGURATION_ERROR_NO_VALUE_SET, _tmp19_, _tmp20_, _tmp21_);
#line 430 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_inner_error_ = _tmp22_;
#line 430 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		g_propagate_error (error, _inner_error_);
#line 430 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		return 0;
#line 3646 "rygel-meta-config.c"
	}
#line 436 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	result = val;
#line 436 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	return result;
#line 3652 "rygel-meta-config.c"
}


static GeeArrayList* rygel_meta_config_real_get_int_list (RygelConfiguration* base, const gchar* section, const gchar* key, GError** error) {
	RygelMetaConfig * self;
	GeeArrayList* result = NULL;
	GeeArrayList* val;
	GeeArrayList* _tmp16_;
	GError * _inner_error_ = NULL;
#line 439 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	self = (RygelMetaConfig*) base;
#line 439 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	g_return_val_if_fail (section != NULL, NULL);
#line 439 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	g_return_val_if_fail (key != NULL, NULL);
#line 442 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	val = NULL;
#line 3670 "rygel-meta-config.c"
	{
		GeeArrayList* _tmp0_;
		GeeArrayList* _tmp1_;
		GeeArrayList* _config_list;
		GeeArrayList* _tmp2_;
		gint _tmp3_;
		gint _tmp4_;
		gint _config_size;
		gint _config_index;
#line 444 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp0_ = rygel_meta_config_configs;
#line 444 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp1_ = _g_object_ref0 (_tmp0_);
#line 444 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_list = _tmp1_;
#line 444 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp2_ = _config_list;
#line 444 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp3_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp2_);
#line 444 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp4_ = _tmp3_;
#line 444 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_size = _tmp4_;
#line 444 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_index = -1;
#line 444 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		while (TRUE) {
#line 3698 "rygel-meta-config.c"
			gint _tmp5_;
			gint _tmp6_;
			gint _tmp7_;
			GeeArrayList* _tmp8_;
			gint _tmp9_;
			gpointer _tmp10_ = NULL;
			RygelConfiguration* config;
#line 444 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp5_ = _config_index;
#line 444 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_config_index = _tmp5_ + 1;
#line 444 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp6_ = _config_index;
#line 444 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp7_ = _config_size;
#line 444 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			if (!(_tmp6_ < _tmp7_)) {
#line 444 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 3718 "rygel-meta-config.c"
			}
#line 444 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp8_ = _config_list;
#line 444 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp9_ = _config_index;
#line 444 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp10_ = gee_abstract_list_get ((GeeAbstractList*) _tmp8_, _tmp9_);
#line 444 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			config = (RygelConfiguration*) _tmp10_;
#line 3728 "rygel-meta-config.c"
			{
				RygelConfiguration* _tmp11_;
				const gchar* _tmp12_;
				const gchar* _tmp13_;
				GeeArrayList* _tmp14_ = NULL;
				GeeArrayList* _tmp15_;
#line 446 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp11_ = config;
#line 446 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp12_ = section;
#line 446 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp13_ = key;
#line 446 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp14_ = rygel_configuration_get_int_list (_tmp11_, _tmp12_, _tmp13_, &_inner_error_);
#line 446 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp15_ = _tmp14_;
#line 446 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				if (_inner_error_ != NULL) {
#line 3747 "rygel-meta-config.c"
					goto __catch26_g_error;
				}
#line 446 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (val);
#line 446 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				val = _tmp15_;
#line 447 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (config);
#line 447 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 3758 "rygel-meta-config.c"
			}
			goto __finally26;
			__catch26_g_error:
			{
				GError* err = NULL;
#line 445 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				err = _inner_error_;
#line 445 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_inner_error_ = NULL;
#line 445 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_error_free0 (err);
#line 3770 "rygel-meta-config.c"
			}
			__finally26:
#line 445 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			if (_inner_error_ != NULL) {
#line 445 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				g_propagate_error (error, _inner_error_);
#line 445 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (config);
#line 445 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (_config_list);
#line 445 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (val);
#line 445 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				return NULL;
#line 3785 "rygel-meta-config.c"
			}
#line 444 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_g_object_unref0 (config);
#line 3789 "rygel-meta-config.c"
		}
#line 444 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_g_object_unref0 (_config_list);
#line 3793 "rygel-meta-config.c"
	}
#line 451 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp16_ = val;
#line 451 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	if (_tmp16_ == NULL) {
#line 3799 "rygel-meta-config.c"
		const gchar* _tmp17_ = NULL;
		const gchar* _tmp18_;
		const gchar* _tmp19_;
		GError* _tmp20_;
#line 452 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp17_ = _ ("No value available for '%s/%s'");
#line 452 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp18_ = section;
#line 452 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp19_ = key;
#line 452 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp20_ = g_error_new (RYGEL_CONFIGURATION_ERROR, RYGEL_CONFIGURATION_ERROR_NO_VALUE_SET, _tmp17_, _tmp18_, _tmp19_);
#line 452 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_inner_error_ = _tmp20_;
#line 452 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		g_propagate_error (error, _inner_error_);
#line 452 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_g_object_unref0 (val);
#line 452 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		return NULL;
#line 3820 "rygel-meta-config.c"
	}
#line 458 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	result = val;
#line 458 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	return result;
#line 3826 "rygel-meta-config.c"
}


static gboolean rygel_meta_config_real_get_bool (RygelConfiguration* base, const gchar* section, const gchar* key, GError** error) {
	RygelMetaConfig * self;
	gboolean result = FALSE;
	gboolean val;
	gboolean unavailable;
	gboolean _tmp16_;
	GError * _inner_error_ = NULL;
#line 461 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	self = (RygelMetaConfig*) base;
#line 461 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	g_return_val_if_fail (section != NULL, FALSE);
#line 461 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	g_return_val_if_fail (key != NULL, FALSE);
#line 464 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	val = FALSE;
#line 465 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	unavailable = TRUE;
#line 3847 "rygel-meta-config.c"
	{
		GeeArrayList* _tmp0_;
		GeeArrayList* _tmp1_;
		GeeArrayList* _config_list;
		GeeArrayList* _tmp2_;
		gint _tmp3_;
		gint _tmp4_;
		gint _config_size;
		gint _config_index;
#line 467 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp0_ = rygel_meta_config_configs;
#line 467 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp1_ = _g_object_ref0 (_tmp0_);
#line 467 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_list = _tmp1_;
#line 467 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp2_ = _config_list;
#line 467 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp3_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp2_);
#line 467 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp4_ = _tmp3_;
#line 467 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_size = _tmp4_;
#line 467 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_index = -1;
#line 467 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		while (TRUE) {
#line 3875 "rygel-meta-config.c"
			gint _tmp5_;
			gint _tmp6_;
			gint _tmp7_;
			GeeArrayList* _tmp8_;
			gint _tmp9_;
			gpointer _tmp10_ = NULL;
			RygelConfiguration* config;
#line 467 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp5_ = _config_index;
#line 467 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_config_index = _tmp5_ + 1;
#line 467 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp6_ = _config_index;
#line 467 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp7_ = _config_size;
#line 467 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			if (!(_tmp6_ < _tmp7_)) {
#line 467 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 3895 "rygel-meta-config.c"
			}
#line 467 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp8_ = _config_list;
#line 467 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp9_ = _config_index;
#line 467 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp10_ = gee_abstract_list_get ((GeeAbstractList*) _tmp8_, _tmp9_);
#line 467 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			config = (RygelConfiguration*) _tmp10_;
#line 3905 "rygel-meta-config.c"
			{
				RygelConfiguration* _tmp11_;
				const gchar* _tmp12_;
				const gchar* _tmp13_;
				gboolean _tmp14_ = FALSE;
				gboolean _tmp15_;
#line 469 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp11_ = config;
#line 469 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp12_ = section;
#line 469 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp13_ = key;
#line 469 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp14_ = rygel_configuration_get_bool (_tmp11_, _tmp12_, _tmp13_, &_inner_error_);
#line 469 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp15_ = _tmp14_;
#line 469 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				if (_inner_error_ != NULL) {
#line 3924 "rygel-meta-config.c"
					goto __catch27_g_error;
				}
#line 469 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				val = _tmp15_;
#line 470 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				unavailable = FALSE;
#line 471 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (config);
#line 471 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 3935 "rygel-meta-config.c"
			}
			goto __finally27;
			__catch27_g_error:
			{
				GError* err = NULL;
#line 468 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				err = _inner_error_;
#line 468 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_inner_error_ = NULL;
#line 468 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_error_free0 (err);
#line 3947 "rygel-meta-config.c"
			}
			__finally27:
#line 468 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			if (_inner_error_ != NULL) {
#line 468 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				g_propagate_error (error, _inner_error_);
#line 468 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (config);
#line 468 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_object_unref0 (_config_list);
#line 468 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				return FALSE;
#line 3960 "rygel-meta-config.c"
			}
#line 467 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_g_object_unref0 (config);
#line 3964 "rygel-meta-config.c"
		}
#line 467 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_g_object_unref0 (_config_list);
#line 3968 "rygel-meta-config.c"
	}
#line 475 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp16_ = unavailable;
#line 475 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	if (_tmp16_) {
#line 3974 "rygel-meta-config.c"
		const gchar* _tmp17_ = NULL;
		const gchar* _tmp18_;
		const gchar* _tmp19_;
		GError* _tmp20_;
#line 476 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp17_ = _ ("No value available for '%s/%s'");
#line 476 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp18_ = section;
#line 476 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp19_ = key;
#line 476 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp20_ = g_error_new (RYGEL_CONFIGURATION_ERROR, RYGEL_CONFIGURATION_ERROR_NO_VALUE_SET, _tmp17_, _tmp18_, _tmp19_);
#line 476 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_inner_error_ = _tmp20_;
#line 476 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		g_propagate_error (error, _inner_error_);
#line 476 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		return FALSE;
#line 3993 "rygel-meta-config.c"
	}
#line 482 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	result = val;
#line 482 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	return result;
#line 3999 "rygel-meta-config.c"
}


static gboolean rygel_meta_config_configuration_value_available (RygelMetaConfig* self, RygelConfiguration* config, RygelConfigurationEntry entry) {
	gboolean result = FALSE;
	GError * _inner_error_ = NULL;
#line 485 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 485 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	g_return_val_if_fail (config != NULL, FALSE);
#line 4010 "rygel-meta-config.c"
	{
		RygelConfigurationEntry _tmp0_;
#line 488 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp0_ = entry;
#line 488 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		switch (_tmp0_) {
#line 488 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			case RYGEL_CONFIGURATION_ENTRY_UPNP_ENABLED:
#line 4019 "rygel-meta-config.c"
			{
				RygelConfiguration* _tmp1_;
#line 490 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp1_ = config;
#line 490 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				rygel_configuration_get_upnp_enabled (_tmp1_, &_inner_error_);
#line 490 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				if (_inner_error_ != NULL) {
#line 4028 "rygel-meta-config.c"
					goto __catch28_g_error;
				}
#line 491 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 4033 "rygel-meta-config.c"
			}
#line 488 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			case RYGEL_CONFIGURATION_ENTRY_INTERFACE:
#line 4037 "rygel-meta-config.c"
			{
				RygelConfiguration* _tmp2_;
				gchar** _tmp3_;
				gchar** _tmp4_ = NULL;
				gchar** _tmp5_;
				gint _tmp5__length1;
#line 494 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp2_ = config;
#line 494 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp4_ = _tmp3_ = rygel_configuration_get_interfaces (_tmp2_, &_inner_error_);
#line 494 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp5_ = _tmp4_;
#line 494 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp5__length1 = _vala_array_length (_tmp3_);
#line 494 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp5_ = (_vala_array_free (_tmp5_, _tmp5__length1, (GDestroyNotify) g_free), NULL);
#line 494 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				if (_inner_error_ != NULL) {
#line 4056 "rygel-meta-config.c"
					goto __catch28_g_error;
				}
#line 495 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 4061 "rygel-meta-config.c"
			}
#line 488 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			case RYGEL_CONFIGURATION_ENTRY_PORT:
#line 4065 "rygel-meta-config.c"
			{
				RygelConfiguration* _tmp6_;
#line 498 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp6_ = config;
#line 498 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				rygel_configuration_get_port (_tmp6_, &_inner_error_);
#line 498 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				if (_inner_error_ != NULL) {
#line 4074 "rygel-meta-config.c"
					goto __catch28_g_error;
				}
#line 499 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 4079 "rygel-meta-config.c"
			}
#line 488 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			case RYGEL_CONFIGURATION_ENTRY_TRANSCODING:
#line 4083 "rygel-meta-config.c"
			{
				RygelConfiguration* _tmp7_;
#line 502 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp7_ = config;
#line 502 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				rygel_configuration_get_transcoding (_tmp7_, &_inner_error_);
#line 502 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				if (_inner_error_ != NULL) {
#line 4092 "rygel-meta-config.c"
					goto __catch28_g_error;
				}
#line 503 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 4097 "rygel-meta-config.c"
			}
#line 488 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			case RYGEL_CONFIGURATION_ENTRY_ALLOW_UPLOAD:
#line 4101 "rygel-meta-config.c"
			{
				RygelConfiguration* _tmp8_;
#line 506 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp8_ = config;
#line 506 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				rygel_configuration_get_allow_upload (_tmp8_, &_inner_error_);
#line 506 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				if (_inner_error_ != NULL) {
#line 4110 "rygel-meta-config.c"
					goto __catch28_g_error;
				}
#line 507 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 4115 "rygel-meta-config.c"
			}
#line 488 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			case RYGEL_CONFIGURATION_ENTRY_ALLOW_DELETION:
#line 4119 "rygel-meta-config.c"
			{
				RygelConfiguration* _tmp9_;
#line 510 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp9_ = config;
#line 510 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				rygel_configuration_get_allow_deletion (_tmp9_, &_inner_error_);
#line 510 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				if (_inner_error_ != NULL) {
#line 4128 "rygel-meta-config.c"
					goto __catch28_g_error;
				}
#line 511 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 4133 "rygel-meta-config.c"
			}
#line 488 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			case RYGEL_CONFIGURATION_ENTRY_LOG_LEVELS:
#line 4137 "rygel-meta-config.c"
			{
				RygelConfiguration* _tmp10_;
				gchar* _tmp11_ = NULL;
				gchar* _tmp12_;
#line 514 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp10_ = config;
#line 514 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp11_ = rygel_configuration_get_log_levels (_tmp10_, &_inner_error_);
#line 514 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp12_ = _tmp11_;
#line 514 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_free0 (_tmp12_);
#line 514 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				if (_inner_error_ != NULL) {
#line 4152 "rygel-meta-config.c"
					goto __catch28_g_error;
				}
#line 515 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 4157 "rygel-meta-config.c"
			}
#line 488 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			case RYGEL_CONFIGURATION_ENTRY_PLUGIN_PATH:
#line 4161 "rygel-meta-config.c"
			{
				RygelConfiguration* _tmp13_;
				gchar* _tmp14_ = NULL;
				gchar* _tmp15_;
#line 518 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp13_ = config;
#line 518 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp14_ = rygel_configuration_get_plugin_path (_tmp13_, &_inner_error_);
#line 518 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp15_ = _tmp14_;
#line 518 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_free0 (_tmp15_);
#line 518 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				if (_inner_error_ != NULL) {
#line 4176 "rygel-meta-config.c"
					goto __catch28_g_error;
				}
#line 519 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 4181 "rygel-meta-config.c"
			}
#line 488 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			case RYGEL_CONFIGURATION_ENTRY_VIDEO_UPLOAD_FOLDER:
#line 4185 "rygel-meta-config.c"
			{
				RygelConfiguration* _tmp16_;
				gchar* _tmp17_ = NULL;
				gchar* _tmp18_;
#line 522 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp16_ = config;
#line 522 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp17_ = rygel_configuration_get_video_upload_folder (_tmp16_, &_inner_error_);
#line 522 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp18_ = _tmp17_;
#line 522 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_free0 (_tmp18_);
#line 522 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				if (_inner_error_ != NULL) {
#line 4200 "rygel-meta-config.c"
					goto __catch28_g_error;
				}
#line 523 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 4205 "rygel-meta-config.c"
			}
#line 488 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			case RYGEL_CONFIGURATION_ENTRY_MUSIC_UPLOAD_FOLDER:
#line 4209 "rygel-meta-config.c"
			{
				RygelConfiguration* _tmp19_;
				gchar* _tmp20_ = NULL;
				gchar* _tmp21_;
#line 526 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp19_ = config;
#line 526 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp20_ = rygel_configuration_get_music_upload_folder (_tmp19_, &_inner_error_);
#line 526 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp21_ = _tmp20_;
#line 526 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_free0 (_tmp21_);
#line 526 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				if (_inner_error_ != NULL) {
#line 4224 "rygel-meta-config.c"
					goto __catch28_g_error;
				}
#line 527 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 4229 "rygel-meta-config.c"
			}
#line 488 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			case RYGEL_CONFIGURATION_ENTRY_PICTURE_UPLOAD_FOLDER:
#line 4233 "rygel-meta-config.c"
			{
				RygelConfiguration* _tmp22_;
				gchar* _tmp23_ = NULL;
				gchar* _tmp24_;
#line 530 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp22_ = config;
#line 530 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp23_ = rygel_configuration_get_picture_upload_folder (_tmp22_, &_inner_error_);
#line 530 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp24_ = _tmp23_;
#line 530 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_free0 (_tmp24_);
#line 530 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				if (_inner_error_ != NULL) {
#line 4248 "rygel-meta-config.c"
					goto __catch28_g_error;
				}
#line 531 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 4253 "rygel-meta-config.c"
			}
			default:
			{
#line 534 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				g_assert_not_reached ();
#line 4259 "rygel-meta-config.c"
			}
		}
	}
	goto __finally28;
	__catch28_g_error:
	{
		GError* e = NULL;
#line 487 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		e = _inner_error_;
#line 487 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_inner_error_ = NULL;
#line 537 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		result = FALSE;
#line 537 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_g_error_free0 (e);
#line 537 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		return result;
#line 4277 "rygel-meta-config.c"
	}
	__finally28:
#line 487 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	if (_inner_error_ != NULL) {
#line 487 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 487 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		g_clear_error (&_inner_error_);
#line 487 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		return FALSE;
#line 4288 "rygel-meta-config.c"
	}
#line 540 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	result = TRUE;
#line 540 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	return result;
#line 4294 "rygel-meta-config.c"
}


static void rygel_meta_config_on_configuration_changed (RygelMetaConfig* self, RygelConfiguration* affected_config, RygelConfigurationEntry entry) {
#line 543 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	g_return_if_fail (self != NULL);
#line 543 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	g_return_if_fail (affected_config != NULL);
#line 4303 "rygel-meta-config.c"
	{
		GeeArrayList* _tmp0_;
		GeeArrayList* _tmp1_;
		GeeArrayList* _config_list;
		GeeArrayList* _tmp2_;
		gint _tmp3_;
		gint _tmp4_;
		gint _config_size;
		gint _config_index;
#line 545 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp0_ = rygel_meta_config_configs;
#line 545 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp1_ = _g_object_ref0 (_tmp0_);
#line 545 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_list = _tmp1_;
#line 545 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp2_ = _config_list;
#line 545 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp3_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp2_);
#line 545 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp4_ = _tmp3_;
#line 545 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_size = _tmp4_;
#line 545 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_index = -1;
#line 545 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		while (TRUE) {
#line 4331 "rygel-meta-config.c"
			gint _tmp5_;
			gint _tmp6_;
			gint _tmp7_;
			GeeArrayList* _tmp8_;
			gint _tmp9_;
			gpointer _tmp10_ = NULL;
			RygelConfiguration* config;
			RygelConfiguration* _tmp11_;
			RygelConfiguration* _tmp12_;
#line 545 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp5_ = _config_index;
#line 545 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_config_index = _tmp5_ + 1;
#line 545 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp6_ = _config_index;
#line 545 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp7_ = _config_size;
#line 545 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			if (!(_tmp6_ < _tmp7_)) {
#line 545 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 4353 "rygel-meta-config.c"
			}
#line 545 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp8_ = _config_list;
#line 545 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp9_ = _config_index;
#line 545 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp10_ = gee_abstract_list_get ((GeeAbstractList*) _tmp8_, _tmp9_);
#line 545 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			config = (RygelConfiguration*) _tmp10_;
#line 546 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp11_ = config;
#line 546 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp12_ = affected_config;
#line 546 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			if (_tmp11_ == _tmp12_) {
#line 4369 "rygel-meta-config.c"
				RygelConfigurationEntry _tmp13_;
#line 547 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp13_ = entry;
#line 547 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				g_signal_emit_by_name ((RygelConfiguration*) self, "configuration-changed", _tmp13_);
#line 4375 "rygel-meta-config.c"
			} else {
				RygelConfiguration* _tmp14_;
				RygelConfigurationEntry _tmp15_;
				gboolean _tmp16_ = FALSE;
#line 549 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp14_ = config;
#line 549 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp15_ = entry;
#line 549 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp16_ = rygel_meta_config_configuration_value_available (self, _tmp14_, _tmp15_);
#line 549 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				if (_tmp16_) {
#line 550 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
					_g_object_unref0 (config);
#line 550 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
					_g_object_unref0 (_config_list);
#line 550 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
					return;
#line 4394 "rygel-meta-config.c"
				}
			}
#line 545 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_g_object_unref0 (config);
#line 4399 "rygel-meta-config.c"
		}
#line 545 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_g_object_unref0 (_config_list);
#line 4403 "rygel-meta-config.c"
	}
}


static gboolean rygel_meta_config_setting_value_available (RygelMetaConfig* self, RygelConfiguration* config, const gchar* section, RygelSectionEntry entry) {
	gboolean result = FALSE;
	GError * _inner_error_ = NULL;
#line 556 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 556 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	g_return_val_if_fail (config != NULL, FALSE);
#line 556 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	g_return_val_if_fail (section != NULL, FALSE);
#line 4417 "rygel-meta-config.c"
	{
		RygelSectionEntry _tmp0_;
#line 560 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp0_ = entry;
#line 560 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		switch (_tmp0_) {
#line 560 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			case RYGEL_SECTION_ENTRY_TITLE:
#line 4426 "rygel-meta-config.c"
			{
				RygelConfiguration* _tmp1_;
				const gchar* _tmp2_;
				gchar* _tmp3_ = NULL;
				gchar* _tmp4_;
#line 562 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp1_ = config;
#line 562 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp2_ = section;
#line 562 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp3_ = rygel_configuration_get_title (_tmp1_, _tmp2_, &_inner_error_);
#line 562 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp4_ = _tmp3_;
#line 562 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_g_free0 (_tmp4_);
#line 562 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				if (_inner_error_ != NULL) {
#line 4444 "rygel-meta-config.c"
					goto __catch29_g_error;
				}
#line 563 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 4449 "rygel-meta-config.c"
			}
#line 560 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			case RYGEL_SECTION_ENTRY_ENABLED:
#line 4453 "rygel-meta-config.c"
			{
				RygelConfiguration* _tmp5_;
				const gchar* _tmp6_;
#line 566 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp5_ = config;
#line 566 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp6_ = section;
#line 566 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				rygel_configuration_get_enabled (_tmp5_, _tmp6_, &_inner_error_);
#line 566 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				if (_inner_error_ != NULL) {
#line 4465 "rygel-meta-config.c"
					goto __catch29_g_error;
				}
#line 567 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 4470 "rygel-meta-config.c"
			}
			default:
			{
#line 570 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				g_assert_not_reached ();
#line 4476 "rygel-meta-config.c"
			}
		}
	}
	goto __finally29;
	__catch29_g_error:
	{
		GError* e = NULL;
#line 559 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		e = _inner_error_;
#line 559 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_inner_error_ = NULL;
#line 573 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		result = FALSE;
#line 573 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_g_error_free0 (e);
#line 573 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		return result;
#line 4494 "rygel-meta-config.c"
	}
	__finally29:
#line 559 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	if (_inner_error_ != NULL) {
#line 559 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 559 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		g_clear_error (&_inner_error_);
#line 559 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		return FALSE;
#line 4505 "rygel-meta-config.c"
	}
#line 576 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	result = TRUE;
#line 576 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	return result;
#line 4511 "rygel-meta-config.c"
}


static void rygel_meta_config_on_section_changed (RygelMetaConfig* self, RygelConfiguration* affected_config, const gchar* section, RygelSectionEntry entry) {
#line 579 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	g_return_if_fail (self != NULL);
#line 579 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	g_return_if_fail (affected_config != NULL);
#line 579 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	g_return_if_fail (section != NULL);
#line 4522 "rygel-meta-config.c"
	{
		GeeArrayList* _tmp0_;
		GeeArrayList* _tmp1_;
		GeeArrayList* _config_list;
		GeeArrayList* _tmp2_;
		gint _tmp3_;
		gint _tmp4_;
		gint _config_size;
		gint _config_index;
#line 582 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp0_ = rygel_meta_config_configs;
#line 582 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp1_ = _g_object_ref0 (_tmp0_);
#line 582 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_list = _tmp1_;
#line 582 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp2_ = _config_list;
#line 582 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp3_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp2_);
#line 582 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_tmp4_ = _tmp3_;
#line 582 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_size = _tmp4_;
#line 582 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_config_index = -1;
#line 582 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		while (TRUE) {
#line 4550 "rygel-meta-config.c"
			gint _tmp5_;
			gint _tmp6_;
			gint _tmp7_;
			GeeArrayList* _tmp8_;
			gint _tmp9_;
			gpointer _tmp10_ = NULL;
			RygelConfiguration* config;
			RygelConfiguration* _tmp11_;
			RygelConfiguration* _tmp12_;
#line 582 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp5_ = _config_index;
#line 582 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_config_index = _tmp5_ + 1;
#line 582 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp6_ = _config_index;
#line 582 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp7_ = _config_size;
#line 582 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			if (!(_tmp6_ < _tmp7_)) {
#line 582 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				break;
#line 4572 "rygel-meta-config.c"
			}
#line 582 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp8_ = _config_list;
#line 582 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp9_ = _config_index;
#line 582 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp10_ = gee_abstract_list_get ((GeeAbstractList*) _tmp8_, _tmp9_);
#line 582 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			config = (RygelConfiguration*) _tmp10_;
#line 583 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp11_ = config;
#line 583 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_tmp12_ = affected_config;
#line 583 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			if (_tmp11_ == _tmp12_) {
#line 4588 "rygel-meta-config.c"
				const gchar* _tmp13_;
				RygelSectionEntry _tmp14_;
#line 584 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp13_ = section;
#line 584 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp14_ = entry;
#line 584 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				g_signal_emit_by_name ((RygelConfiguration*) self, "section-changed", _tmp13_, _tmp14_);
#line 4597 "rygel-meta-config.c"
			} else {
				RygelConfiguration* _tmp15_;
				const gchar* _tmp16_;
				RygelSectionEntry _tmp17_;
				gboolean _tmp18_ = FALSE;
#line 586 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp15_ = config;
#line 586 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp16_ = section;
#line 586 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp17_ = entry;
#line 586 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				_tmp18_ = rygel_meta_config_setting_value_available (self, _tmp15_, _tmp16_, _tmp17_);
#line 586 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
				if (_tmp18_) {
#line 587 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
					_g_object_unref0 (config);
#line 587 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
					_g_object_unref0 (_config_list);
#line 587 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
					return;
#line 4619 "rygel-meta-config.c"
				}
			}
#line 582 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
			_g_object_unref0 (config);
#line 4624 "rygel-meta-config.c"
		}
#line 582 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
		_g_object_unref0 (_config_list);
#line 4628 "rygel-meta-config.c"
	}
}


static void rygel_meta_config_on_setting_changed (RygelMetaConfig* self, RygelConfiguration* affected_config, const gchar* section, const gchar* key) {
	const gchar* _tmp0_;
	const gchar* _tmp1_;
#line 593 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	g_return_if_fail (self != NULL);
#line 593 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	g_return_if_fail (affected_config != NULL);
#line 593 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	g_return_if_fail (section != NULL);
#line 593 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	g_return_if_fail (key != NULL);
#line 598 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp0_ = section;
#line 598 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	_tmp1_ = key;
#line 598 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	g_signal_emit_by_name ((RygelConfiguration*) self, "setting-changed", _tmp0_, _tmp1_);
#line 4650 "rygel-meta-config.c"
}


RygelMetaConfig* rygel_meta_config_construct (GType object_type) {
	RygelMetaConfig * self = NULL;
#line 37 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	self = (RygelMetaConfig*) g_object_new (object_type, NULL);
#line 37 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	return self;
#line 4660 "rygel-meta-config.c"
}


RygelMetaConfig* rygel_meta_config_new (void) {
#line 37 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	return rygel_meta_config_construct (RYGEL_TYPE_META_CONFIG);
#line 4667 "rygel-meta-config.c"
}


static void rygel_meta_config_class_init (RygelMetaConfigClass * klass) {
#line 37 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	rygel_meta_config_parent_class = g_type_class_peek_parent (klass);
#line 37 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	G_OBJECT_CLASS (klass)->finalize = rygel_meta_config_finalize;
#line 4676 "rygel-meta-config.c"
}


static void rygel_meta_config_rygel_configuration_interface_init (RygelConfigurationIface * iface) {
#line 37 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	rygel_meta_config_rygel_configuration_parent_iface = g_type_interface_peek_parent (iface);
#line 37 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	iface->get_upnp_enabled = (gboolean (*)(RygelConfiguration*, GError**)) rygel_meta_config_real_get_upnp_enabled;
#line 37 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	iface->get_interface = (gchar* (*)(RygelConfiguration*, GError**)) rygel_meta_config_real_get_interface;
#line 37 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	iface->get_interfaces = (gchar** (*)(RygelConfiguration*, GError**)) rygel_meta_config_real_get_interfaces;
#line 37 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	iface->get_port = (gint (*)(RygelConfiguration*, GError**)) rygel_meta_config_real_get_port;
#line 37 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	iface->get_transcoding = (gboolean (*)(RygelConfiguration*, GError**)) rygel_meta_config_real_get_transcoding;
#line 37 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	iface->get_allow_upload = (gboolean (*)(RygelConfiguration*, GError**)) rygel_meta_config_real_get_allow_upload;
#line 37 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	iface->get_allow_deletion = (gboolean (*)(RygelConfiguration*, GError**)) rygel_meta_config_real_get_allow_deletion;
#line 37 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	iface->get_log_levels = (gchar* (*)(RygelConfiguration*, GError**)) rygel_meta_config_real_get_log_levels;
#line 37 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	iface->get_plugin_path = (gchar* (*)(RygelConfiguration*, GError**)) rygel_meta_config_real_get_plugin_path;
#line 37 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	iface->get_media_engine = (gchar* (*)(RygelConfiguration*, GError**)) rygel_meta_config_real_get_media_engine;
#line 37 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	iface->get_engine_path = (gchar* (*)(RygelConfiguration*, GError**)) rygel_meta_config_real_get_engine_path;
#line 37 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	iface->get_video_upload_folder = (gchar* (*)(RygelConfiguration*, GError**)) rygel_meta_config_real_get_video_upload_folder;
#line 37 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	iface->get_music_upload_folder = (gchar* (*)(RygelConfiguration*, GError**)) rygel_meta_config_real_get_music_upload_folder;
#line 37 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	iface->get_picture_upload_folder = (gchar* (*)(RygelConfiguration*, GError**)) rygel_meta_config_real_get_picture_upload_folder;
#line 37 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	iface->get_enabled = (gboolean (*)(RygelConfiguration*, const gchar*, GError**)) rygel_meta_config_real_get_enabled;
#line 37 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	iface->get_title = (gchar* (*)(RygelConfiguration*, const gchar*, GError**)) rygel_meta_config_real_get_title;
#line 37 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	iface->get_string = (gchar* (*)(RygelConfiguration*, const gchar*, const gchar*, GError**)) rygel_meta_config_real_get_string;
#line 37 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	iface->get_string_list = (GeeArrayList* (*)(RygelConfiguration*, const gchar*, const gchar*, GError**)) rygel_meta_config_real_get_string_list;
#line 37 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	iface->get_int = (gint (*)(RygelConfiguration*, const gchar*, const gchar*, gint, gint, GError**)) rygel_meta_config_real_get_int;
#line 37 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	iface->get_int_list = (GeeArrayList* (*)(RygelConfiguration*, const gchar*, const gchar*, GError**)) rygel_meta_config_real_get_int_list;
#line 37 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	iface->get_bool = (gboolean (*)(RygelConfiguration*, const gchar*, const gchar*, GError**)) rygel_meta_config_real_get_bool;
#line 4725 "rygel-meta-config.c"
}


static void rygel_meta_config_instance_init (RygelMetaConfig * self) {
}


static void rygel_meta_config_finalize (GObject* obj) {
	RygelMetaConfig * self;
#line 37 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, RYGEL_TYPE_META_CONFIG, RygelMetaConfig);
#line 37 "/home/jens/Source/rygel/src/librygel-core/rygel-meta-config.vala"
	G_OBJECT_CLASS (rygel_meta_config_parent_class)->finalize (obj);
#line 4739 "rygel-meta-config.c"
}


/**
 * Manages all the configuration sources for Rygel.
 *
 * Abstracts Rygel and its 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.
 */
GType rygel_meta_config_get_type (void) {
	static volatile gsize rygel_meta_config_type_id__volatile = 0;
	if (g_once_init_enter (&rygel_meta_config_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (RygelMetaConfigClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) rygel_meta_config_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (RygelMetaConfig), 0, (GInstanceInitFunc) rygel_meta_config_instance_init, NULL };
		static const GInterfaceInfo rygel_configuration_info = { (GInterfaceInitFunc) rygel_meta_config_rygel_configuration_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		GType rygel_meta_config_type_id;
		rygel_meta_config_type_id = g_type_register_static (G_TYPE_OBJECT, "RygelMetaConfig", &g_define_type_info, 0);
		g_type_add_interface_static (rygel_meta_config_type_id, RYGEL_TYPE_CONFIGURATION, &rygel_configuration_info);
		g_once_init_leave (&rygel_meta_config_type_id__volatile, rygel_meta_config_type_id);
	}
	return rygel_meta_config_type_id__volatile;
}


static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) {
	if ((array != NULL) && (destroy_func != NULL)) {
		int i;
		for (i = 0; i < array_length; i = i + 1) {
			if (((gpointer*) array)[i] != NULL) {
				destroy_func (((gpointer*) array)[i]);
			}
		}
	}
}


static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) {
	_vala_array_destroy (array, array_length, destroy_func);
	g_free (array);
}


static gint _vala_array_length (gpointer array) {
	int length;
	length = 0;
	if (array) {
		while (((gpointer*) array)[length]) {
			length++;
		}
	}
	return length;
}



