Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
HTSP server: add stream and data errors to DVR entry, fixes #2515
  • Loading branch information
perexg committed Feb 18, 2015
1 parent ba7ec12 commit a50f74c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/htsp_server.c
Expand Up @@ -731,6 +731,10 @@ htsp_build_dvrentry(dvr_entry_t *de, const char *method)
htsmsg_add_str(out, "state", s);
if(error)
htsmsg_add_str(out, "error", error);
if (de->de_errors)
htsmsg_add_u32(out, "streamErrors", de->de_errors);
if (de->de_data_errors)
htsmsg_add_u32(out, "dataErrors", de->de_data_errors);
htsmsg_add_str(out, "method", method);
return out;
}
Expand Down

1 comment on commit a50f74c

@Jalle19
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the difference between a stream error and a data error?

Please sign in to comment.