From: Adam Sutton Date: Tue, 26 Jun 2012 11:14:35 +0000 (+0100) Subject: Minor fudge for summary only records to ensure a title gets set. X-Git-Tag: 3.3~295 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8aa76ce6a6189e02bad4597a45cc8f71bbb82063;p=thirdparty%2Ftvheadend.git Minor fudge for summary only records to ensure a title gets set. --- diff --git a/src/epggrab/opentv.c b/src/epggrab/opentv.c index b7ec31346..48db4243a 100644 --- a/src/epggrab/opentv.c +++ b/src/epggrab/opentv.c @@ -490,7 +490,9 @@ static int _opentv_parse_event_section /* Update */ if (ee) { - if (ev.title) + if (!ev.title && ebc->episode) + save |= epg_episode_set_title(ee, ebc->episode->title); + else if (ev.title) save |= epg_episode_set_title(ee, ev.title); if (ev.summary) save |= epg_episode_set_summary(ee, ev.summary);