Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
api epg: export all tags (hd, widescreen, etc.)
  • Loading branch information
perexg committed Jan 27, 2016
1 parent ef7e2ad commit b832ef2
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/api/api_epg.c
Expand Up @@ -117,6 +117,25 @@ api_epg_entry ( epg_broadcast_t *eb, const char *lang, access_t *perm )
if ((s = epg_broadcast_get_description(eb, lang)))
htsmsg_add_str(m, "description", s);

if (eb->is_new)
htsmsg_add_u32(m, "new", eb->is_new);
if (eb->is_repeat)
htsmsg_add_u32(m, "repeat", eb->is_repeat);
if (eb->is_widescreen)
htsmsg_add_u32(m, "widescreen", eb->is_widescreen);
if (eb->is_deafsigned)
htsmsg_add_u32(m, "deafsigned", eb->is_deafsigned);
if (eb->is_subtitled)
htsmsg_add_u32(m, "subtitled", eb->is_subtitled);
if (eb->is_audio_desc)
htsmsg_add_u32(m, "audiodesc", eb->is_audio_desc);
if (eb->is_hd)
htsmsg_add_u32(m, "hd", eb->is_hd);
if (eb->lines)
htsmsg_add_u32(m, "lines", eb->lines);
if (eb->aspect)
htsmsg_add_u32(m, "aspect", eb->aspect);

/* Episode info */
if (ee) {

Expand Down

0 comments on commit b832ef2

Please sign in to comment.