summaryrefslogtreecommitdiffstats
path: root/gtk/src/settings.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/src/settings.c')
-rw-r--r--gtk/src/settings.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/gtk/src/settings.c b/gtk/src/settings.c
index 876a94aaa..f8733ceb1 100644
--- a/gtk/src/settings.c
+++ b/gtk/src/settings.c
@@ -60,6 +60,27 @@ ghb_settings_combo_option(const GhbValue *settings, const gchar *key)
return ghb_lookup_combo_option(key, ghb_dict_get_value(settings, key));
}
+GhbValue *ghb_get_title_settings(GhbValue *settings)
+{
+ GhbValue *title;
+ title = ghb_dict_get(settings, "Title");
+ return title;
+}
+
+GhbValue *ghb_get_title_audio_list(GhbValue *settings)
+{
+ GhbValue *title_dict = ghb_get_title_settings(settings);
+ GhbValue *audio_list = ghb_dict_get(title_dict, "AudioList");
+ return audio_list;
+}
+
+GhbValue *ghb_get_title_subtitle_list(GhbValue *settings)
+{
+ GhbValue *title_dict = ghb_get_title_settings(settings);
+ GhbValue *subtitle_list = ghb_dict_get(title_dict, "SubtitleList");
+ return subtitle_list;
+}
+
GhbValue *ghb_get_job_settings(GhbValue *settings)
{
GhbValue *job;