mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
remove kodiVideoChecker (#475)
This commit is contained in:
@@ -27,14 +27,13 @@ GrabberWrapper::GrabberWrapper(QString grabberName, Grabber * ggrabber, unsigned
|
||||
|
||||
_image.resize(width, height);
|
||||
_processor->setSize(width, height);
|
||||
|
||||
|
||||
_forward = _hyperion->getForwarder()->protoForwardingEnabled();
|
||||
_hyperion->getComponentRegister().componentStateChanged(hyperion::COMP_BLACKBORDER, _processor->blackBorderDetectorEnabled());
|
||||
qRegisterMetaType<hyperion::Components>("hyperion::Components");
|
||||
|
||||
connect(_hyperion, SIGNAL(imageToLedsMappingChanged(int)), _processor, SLOT(setLedMappingType(int)));
|
||||
connect(_hyperion, SIGNAL(imageToLedsMappingChanged(int)), _processor, SLOT(setLedMappingType(int)));
|
||||
connect(_hyperion, SIGNAL(componentStateChanged(hyperion::Components,bool)), this, SLOT(componentStateChanged(hyperion::Components,bool)));
|
||||
connect(_hyperion, SIGNAL(grabbingMode(GrabbingMode)), this, SLOT(setGrabbingMode(GrabbingMode)));
|
||||
connect(_hyperion, SIGNAL(videoMode(VideoMode)), this, SLOT(setVideoMode(VideoMode)));
|
||||
connect(this, SIGNAL(emitImage(int, const Image<ColorRgb>&, const int)), _hyperion, SLOT(setImage(int, const Image<ColorRgb>&, const int)) );
|
||||
connect(&_timer, SIGNAL(timeout()), this, SLOT(actionWrapper()));
|
||||
@@ -104,18 +103,6 @@ void GrabberWrapper::componentStateChanged(const hyperion::Components component,
|
||||
}
|
||||
}
|
||||
|
||||
void GrabberWrapper::setGrabbingMode(const GrabbingMode mode)
|
||||
{
|
||||
if (mode == GRABBINGMODE_OFF)
|
||||
{
|
||||
stop();
|
||||
}
|
||||
else
|
||||
{
|
||||
start();
|
||||
}
|
||||
}
|
||||
|
||||
void GrabberWrapper::setColors(const std::vector<ColorRgb> &ledColors, const int timeout_ms)
|
||||
{
|
||||
_hyperion->setColors(_priority, ledColors, timeout_ms, true, _grabberComponentId);
|
||||
@@ -171,4 +158,3 @@ void GrabberWrapper::setImageProcessorEnabled(bool enable)
|
||||
{
|
||||
_imageProcessorEnabled = enable;
|
||||
}
|
||||
|
||||
|
@@ -402,7 +402,6 @@ Hyperion::Hyperion(const QJsonObject &qjsonConfig, const QString configFile, con
|
||||
, _bonjourBrowser(this)
|
||||
, _bonjourResolver(this)
|
||||
, _videoMode(VIDEO_2D)
|
||||
, _grabbingMode(GRABBINGMODE_INVALID)
|
||||
{
|
||||
|
||||
if (!_raw2ledAdjustment->verifyAdjustments())
|
||||
@@ -814,12 +813,6 @@ void Hyperion::setVideoMode(VideoMode mode)
|
||||
emit videoMode(mode);
|
||||
}
|
||||
|
||||
void Hyperion::setGrabbingMode(GrabbingMode mode)
|
||||
{
|
||||
_grabbingMode = mode;
|
||||
emit grabbingMode(mode);
|
||||
}
|
||||
|
||||
|
||||
void Hyperion::hyperionStateChanged()
|
||||
{
|
||||
|
@@ -35,10 +35,6 @@
|
||||
{
|
||||
"$ref": "schema-blackborderdetector.json"
|
||||
},
|
||||
"kodiVideoChecker" :
|
||||
{
|
||||
"$ref": "schema-kodiVideoChecker.json"
|
||||
},
|
||||
"foregroundEffect" :
|
||||
{
|
||||
"$ref": "schema-foregroundEffect.json"
|
||||
|
@@ -11,7 +11,6 @@
|
||||
<file alias="schema-grabberV4L2.json">schema/schema-grabberV4L2.json</file>
|
||||
<file alias="schema-framegrabber.json">schema/schema-framegrabber.json</file>
|
||||
<file alias="schema-blackborderdetector.json">schema/schema-blackborderdetector.json</file>
|
||||
<file alias="schema-kodiVideoChecker.json">schema/schema-kodiVideoChecker.json</file>
|
||||
<file alias="schema-foregroundEffect.json">schema/schema-foregroundEffect.json</file>
|
||||
<file alias="schema-backgroundEffect.json">schema/schema-backgroundEffect.json</file>
|
||||
<file alias="schema-forwarder.json">schema/schema-forwarder.json</file>
|
||||
|
@@ -96,14 +96,6 @@
|
||||
"required" : true,
|
||||
"propertyOrder" : 9
|
||||
},
|
||||
"useKodiChecker" :
|
||||
{
|
||||
"type" : "boolean",
|
||||
"title" : "edt_conf_v4l2_useKodiChecker_title",
|
||||
"default" : false,
|
||||
"required" : true,
|
||||
"propertyOrder" : 10
|
||||
},
|
||||
"cropLeft" :
|
||||
{
|
||||
"type" : "integer",
|
||||
|
@@ -1,80 +0,0 @@
|
||||
{
|
||||
"type" : "object",
|
||||
"title" : "edt_conf_kodic_heading_title",
|
||||
"properties" :
|
||||
{
|
||||
"enable" :
|
||||
{
|
||||
"type" : "boolean",
|
||||
"title" : "edt_conf_general_enable_title",
|
||||
"default" : false,
|
||||
"propertyOrder" : 1
|
||||
},
|
||||
"kodiAddress" :
|
||||
{
|
||||
"type" : "string",
|
||||
"title" : "edt_conf_kodic_kodiAddress_title",
|
||||
"default" : "127.0.0.1",
|
||||
"propertyOrder" : 2
|
||||
},
|
||||
"kodiTcpPort" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"title" : "edt_conf_kodic_kodiTcpPort_title",
|
||||
"minimum" : 0,
|
||||
"maximum" : 65535,
|
||||
"default" : 9090,
|
||||
"propertyOrder" : 3
|
||||
},
|
||||
"grabVideo" :
|
||||
{
|
||||
"type" : "boolean",
|
||||
"title" : "edt_conf_kodic_grabVideo_title",
|
||||
"default" : true,
|
||||
"propertyOrder" : 4
|
||||
},
|
||||
"grabPictures" :
|
||||
{
|
||||
"type" : "boolean",
|
||||
"title" : "edt_conf_kodic_grabPictures_title",
|
||||
"default" : true,
|
||||
"propertyOrder" : 5
|
||||
},
|
||||
"grabAudio" :
|
||||
{
|
||||
"type" : "boolean",
|
||||
"title" : "edt_conf_kodic_grabAudio_title",
|
||||
"default" : true,
|
||||
"propertyOrder" : 6
|
||||
},
|
||||
"grabMenu" :
|
||||
{
|
||||
"type" : "boolean",
|
||||
"title" : "edt_conf_kodic_grabMenu_title",
|
||||
"default" : false,
|
||||
"propertyOrder" : 7
|
||||
},
|
||||
"grabPause" :
|
||||
{
|
||||
"type" : "boolean",
|
||||
"title" : "edt_conf_kodic_grabPause_title",
|
||||
"default" : false,
|
||||
"propertyOrder" : 8
|
||||
},
|
||||
"grabScreensaver" :
|
||||
{
|
||||
"type" : "boolean",
|
||||
"title" : "edt_conf_kodic_grabScreensaver_title",
|
||||
"default" : false,
|
||||
"propertyOrder" : 9
|
||||
},
|
||||
"enable3DDetection" :
|
||||
{
|
||||
"type" : "boolean",
|
||||
"title" : "edt_conf_kodic_enable3DDetection_title",
|
||||
"default" : false,
|
||||
"propertyOrder" : 10
|
||||
}
|
||||
},
|
||||
"additionalProperties" : false
|
||||
}
|
Reference in New Issue
Block a user