]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
timerec: fix title passing, fixes #4868
authorJaroslav Kysela <perex@perex.cz>
Thu, 1 Feb 2018 16:30:45 +0000 (17:30 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 1 Feb 2018 16:30:45 +0000 (17:30 +0100)
src/dvr/dvr_timerec.c

index cc379aab3926189f0a041b250044d496d9f27c7a..b8f43d2a1306d3ed8ef20f05a9eaf4fd8f8575f7 100644 (file)
@@ -156,7 +156,7 @@ dvr_timerec_check(dvr_timerec_entry_t *dte)
   conf = htsmsg_create_map();
   htsmsg_add_uuid(conf, "config_name", &dte->dte_config->dvr_id.in_uuid);
   htsmsg_set_uuid(conf, "channel", &dte->dte_channel->ch_id.in_uuid);
-  htsmsg_add_str2(conf, "title", title);
+  lang_str_serialize_one(conf, "title", title, NULL);
   htsmsg_add_s64(conf, "start", start);
   htsmsg_add_s64(conf, "stop", stop);
   htsmsg_add_u32(conf, "pri", dte->dte_pri);