Skip to content
This repository has been archived by the owner on Oct 1, 2022. It is now read-only.

Commit

Permalink
Merge pull request #2 from fabsi88/feature/epg-search
Browse files Browse the repository at this point in the history
added epg search
  • Loading branch information
Stephan Dilly authored Jan 31, 2017
2 parents af40c4c + 31fcdbd commit 180cf53
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions source/openwebif/api.d
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,15 @@ struct CurrentServiceInfo
string _ref;

}

///
struct EPGSearchList
{
EPGSearch[] events;
bool result;
}

///
struct CurrentServiceEPG
{
string sname;
Expand All @@ -69,6 +78,17 @@ struct CurrentServiceEPG
string longdesc;
}

///
struct EPGSearch
{
string begin;
string sname;
string title;
string sref;
long begin_timestamp;
long duration_sec;
}

///
struct CurrentService
{
Expand Down Expand Up @@ -147,6 +167,9 @@ interface OpenWebifApi {
///
CurrentService getcurrent();
///
@method(HTTPMethod.GET)
EPGSearchList epgsearch(string search);
///
TimerList timerlist();
///
@method(HTTPMethod.GET)
Expand Down

0 comments on commit 180cf53

Please sign in to comment.