htsp server: fix epg query (missing title filter), add fulltext flag
This commit is contained in:
parent
ad4dd4fa50
commit
fabd01191d
1 changed files with 4 additions and 0 deletions
|
@ -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))) {
|
||||
|
|
Loading…
Add table
Reference in a new issue