summaryrefslogtreecommitdiffstats
path: root/gtk/src/hb-backend.c
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2016-05-27 09:24:02 -0600
committerJohn Stebbins <[email protected]>2016-05-27 09:24:02 -0600
commit9ec150b5461cc59eda93c5d3b3199fd97809972d (patch)
treed38148b0ebddfde283eaf090132920da3eeb01b0 /gtk/src/hb-backend.c
parenta34b503a4adcdaa500cc92d5e06efcbb3c2a4104 (diff)
LinGui: add source title dict to queue
By adding the title to the queue entry, all necessary information for displaying queued job is present in the queue entry. So I no longer need hackish "Description" key in job audio and subtitle lists.
Diffstat (limited to 'gtk/src/hb-backend.c')
-rw-r--r--gtk/src/hb-backend.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/src/hb-backend.c b/gtk/src/hb-backend.c
index d7437a3bd..3afd41a83 100644
--- a/gtk/src/hb-backend.c
+++ b/gtk/src/hb-backend.c
@@ -2080,6 +2080,12 @@ ghb_lookup_title(int title_id, int *index)
return lookup_title(h_scan, title_id, index);
}
+GhbValue*
+ghb_get_title_dict(int title_id)
+{
+ return hb_title_to_dict(h_scan, title_id);
+}
+
int
ghb_lookup_queue_title_index(int title_id)
{