Fix erroneous duplicate sending of event description in HTSP. May fix possible XBMC display problems.

This commit is contained in:
Adam Sutton 2012-09-26 12:41:14 +01:00
parent c3dd3e953a
commit 62ee97b25d

View file

@ -503,7 +503,7 @@ htsp_build_event
htsmsg_add_str(out, "title", str);
if ((str = epg_broadcast_get_description(e, lang)))
htsmsg_add_str(out, "description", str);
if ((str = epg_broadcast_get_description(e, lang)))
if ((str = epg_broadcast_get_summary(e, lang)))
htsmsg_add_str(out, "summary", str);
else if((str = epg_broadcast_get_summary(e, lang)))
htsmsg_add_str(out, "description", str);