Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
htsp server: fix epg query (missing title filter), add fulltext flag
  • Loading branch information
perexg committed Apr 1, 2015
1 parent ad4dd4f commit fabd011
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/htsp_server.c
Expand Up @@ -1238,6 +1238,10 @@ htsp_method_epgQuery(htsp_connection_t *htsp, htsmsg_t *in)
return htsp_error("Missing argument 'query'");

memset(&eq, 0, sizeof(eq));

if(htsmsg_get_bool_or_default(in, "fulltext", 0))
eq.fulltext = 1;
eq.stitle = strdup(query);

/* Optional */
if(!(htsmsg_get_u32(in, "channelId", &u32))) {
Expand Down

0 comments on commit fabd011

Please sign in to comment.