mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
added extra console output to the xbmc checker
Former-commit-id: 3af9227391b72fc16b05895f1ab3daa7babb4f9e
This commit is contained in:
parent
5c12a3c716
commit
641767a7e0
Binary file not shown.
@ -1 +1 @@
|
|||||||
a0d2edb5c6043c421c8efc82a4b86edaa6d8837e
|
e6c843998c94f4bcb5740e0e8526d05c389f0b08
|
@ -86,6 +86,28 @@ void XBMCVideoChecker::receiveReply()
|
|||||||
// emit new state if applicable
|
// emit new state if applicable
|
||||||
if (newMode != _previousMode)
|
if (newMode != _previousMode)
|
||||||
{
|
{
|
||||||
|
switch (newMode)
|
||||||
|
{
|
||||||
|
case GRABBINGMODE_VIDEO:
|
||||||
|
std::cout << "XBMC checker: switching to VIDEO" << std::endl;
|
||||||
|
break;
|
||||||
|
case GRABBINGMODE_PHOTO:
|
||||||
|
std::cout << "XBMC checker: switching to PHOTO" << std::endl;
|
||||||
|
break;
|
||||||
|
case GRABBINGMODE_AUDIO:
|
||||||
|
std::cout << "XBMC checker: switching to AUDIO" << std::endl;
|
||||||
|
break;
|
||||||
|
case GRABBINGMODE_MENU:
|
||||||
|
std::cout << "XBMC checker: switching to MENU" << std::endl;
|
||||||
|
break;
|
||||||
|
case GRABBINGMODE_OFF:
|
||||||
|
std::cout << "XBMC checker: switching to OFF" << std::endl;
|
||||||
|
break;
|
||||||
|
case GRABBINGMODE_INVALID:
|
||||||
|
std::cout << "XBMC checker: switching to INVALID" << std::endl;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
emit grabbingMode(newMode);
|
emit grabbingMode(newMode);
|
||||||
_previousMode = newMode;
|
_previousMode = newMode;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user