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

Commit

Permalink
added about and remotecontrol call to support play / pause
Browse files Browse the repository at this point in the history
  • Loading branch information
fabsi88 authored and Stephan Dilly committed Feb 5, 2017
1 parent 823446d commit d2e3727
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions source/openwebif/api.d
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,26 @@ struct PowerState
bool result;
}

///
struct Remotecontrol
{
string message;
bool result;
}

///
struct About
{
Info info;
}

///
struct Info
{
string brand;
string imagedistro;
}

///
interface OpenWebifApi {

Expand All @@ -168,11 +188,17 @@ interface OpenWebifApi {
CurrentService getcurrent();
///
@method(HTTPMethod.GET)
About about();
///
@method(HTTPMethod.GET)
EPGSearchList epgsearch(string search);
///
TimerList timerlist();
///
@method(HTTPMethod.GET)
Remotecontrol remotecontrol(int command);
///
@method(HTTPMethod.GET)
Zap zap(string sRef);
///
@method(HTTPMethod.GET)
Expand Down

0 comments on commit d2e3727

Please sign in to comment.