From: E.Smith <31170571+azlm8t@users.noreply.github.com> Date: Wed, 22 Nov 2017 13:32:31 +0000 (+0000) Subject: api: Use same name copyright_year for EPG and DVR. (#4594). X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=88dda42b2c40bae15d72ff9b3a729fdcb5c25008;p=thirdparty%2Ftvheadend.git api: Use same name copyright_year for EPG and DVR. (#4594). Previously the UI EPG used copyrightYear to be consistent with the htsp naming convention, however since DVR uses the field name of copyright_year, it makes sense to rename the UI EPG component name. Issue: #4594. --- diff --git a/src/api/api_epg.c b/src/api/api_epg.c index 0654cad44..94b4a52ac 100644 --- a/src/api/api_epg.c +++ b/src/api/api_epg.c @@ -188,7 +188,7 @@ api_epg_entry ( epg_broadcast_t *eb, const char *lang, access_t *perm, const cha if (ee->first_aired) htsmsg_add_s64(m, "first_aired", ee->first_aired); if (ee->copyright_year) - htsmsg_add_u32(m, "copyrightYear", ee->copyright_year); + htsmsg_add_u32(m, "copyright_year", ee->copyright_year); /* Content Type */ m2 = NULL;