mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Kodi checker rework (+enable option) (#96)
* big kodichecker rework - use new logger - 'enable' flag in config - startable on runtime (atm not stoppable and no reconfigure) - rename xbmc to kodi * remove unnecceasry checks for kodi * make kodichecker stoppable and add reconfigure * tune config
This commit is contained in:
@@ -43,7 +43,7 @@ public:
|
||||
|
||||
public slots:
|
||||
///
|
||||
/// Send XBMC Video Checker message to connected client
|
||||
/// Send KODI Video Checker message to connected client
|
||||
///
|
||||
void setGrabbingMode(const GrabbingMode mode);
|
||||
void setVideoMode(const VideoMode videoMode);
|
||||
|
@@ -65,7 +65,7 @@ void ProtoServer::newConnection()
|
||||
connect(connection, SIGNAL(connectionClosed(ProtoClientConnection*)), this, SLOT(closedConnection(ProtoClientConnection*)));
|
||||
connect(connection, SIGNAL(newMessage(const proto::HyperionRequest*)), this, SLOT(newMessage(const proto::HyperionRequest*)));
|
||||
|
||||
// register forward signal for xbmc checker
|
||||
// register forward signal for kodi checker
|
||||
connect(this, SIGNAL(grabbingMode(GrabbingMode)), connection, SLOT(setGrabbingMode(GrabbingMode)));
|
||||
connect(this, SIGNAL(videoMode(VideoMode)), connection, SLOT(setVideoMode(VideoMode)));
|
||||
|
||||
|
@@ -76,9 +76,9 @@ message HyperionReply {
|
||||
// string indicating the reason for failure (if applicable)
|
||||
optional string error = 3;
|
||||
|
||||
// XBMC Video Checker Proto Messages for Grabbing mode
|
||||
// KODI Video Checker Proto Messages for Grabbing mode
|
||||
optional int32 grabbing = 4;
|
||||
|
||||
// XBMC Video Checker Proto Messages for Video mode
|
||||
// KODI Video Checker Proto Messages for Video mode
|
||||
optional int32 video = 5;
|
||||
}
|
||||
|
Reference in New Issue
Block a user