diff --git a/src/driver/rcinput.cpp b/src/driver/rcinput.cpp index 2ec5e1e5e..03271ec3d 100644 --- a/src/driver/rcinput.cpp +++ b/src/driver/rcinput.cpp @@ -1697,6 +1697,8 @@ const char * CRCInput::getSpecialKeyName(const unsigned int key) return "program"; case RC_playpause: return "play / pause"; + case RC_pvr: + return "pvr"; default: printf("unknown key: %d (0x%x) \n", key, key); return "unknown"; @@ -1751,6 +1753,9 @@ int CRCInput::translate(int code) #elif BOXMODEL_OSMIO4K || BOXMODEL_OSMIO4KPLUS case KEY_VIDEO: return RC_mode; + case KEY_PVR: + return RC_pvr; + #endif case KEY_SWITCHVIDEOMODE: return RC_mode; diff --git a/src/driver/rcinput.h b/src/driver/rcinput.h index cfc632f2e..e43f27a07 100644 --- a/src/driver/rcinput.h +++ b/src/driver/rcinput.h @@ -237,6 +237,7 @@ class CRCInput RC_record = KEY_RECORD, RC_play = KEY_PLAY, RC_pause = KEY_PAUSE, + RC_pvr = KEY_PVR, RC_forward = KEY_FORWARD, RC_rewind = KEY_REWIND, RC_stop = KEY_STOP, diff --git a/src/neutrino.cpp b/src/neutrino.cpp index 8ee177a38..d44ae464d 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -3305,7 +3305,7 @@ void CNeutrinoApp::RealRun() as.exec(NULL, "-1"); StartSubtitles(); } - else if( msg == CRCInput::RC_video || msg == CRCInput::RC_play || msg == CRCInput::RC_playpause) + else if( msg == CRCInput::RC_video || msg == CRCInput::RC_play || msg == CRCInput::RC_playpause || msg == CRCInput::RC_pvr) { //open moviebrowser via media player menu object if (g_settings.recording_type != CNeutrinoApp::RECORDING_OFF)