movieplayer: allow RC_previoussong and RC_nextsong

Origin commit data
------------------
Branch: ni/coolstream
Commit: 4bea5029e1
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-10-27 (Fri, 27 Oct 2017)

Origin message was:
------------------
- movieplayer: allow RC_previoussong and RC_nextsong

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-10-27 22:05:11 +02:00
parent 6098c7d13d
commit a374313b6d

View File

@@ -1533,7 +1533,7 @@ bool CMoviePlayerGui::SetPosition(int pos, bool absolute)
void CMoviePlayerGui::quickZap(neutrino_msg_t msg)
{
if ((msg == CRCInput::RC_right) || msg == (neutrino_msg_t) g_settings.key_quickzap_up)
if (msg == CRCInput::RC_right || msg == CRCInput::RC_nextsong || msg == (neutrino_msg_t) g_settings.key_quickzap_up)
{
//printf("CMoviePlayerGui::%s: CRCInput::RC_right or g_settings.key_quickzap_up\n", __func__);
if (isLuaPlay || isUPNP)
@@ -1560,7 +1560,7 @@ void CMoviePlayerGui::quickZap(neutrino_msg_t msg)
}
}
}
else if ((msg == CRCInput::RC_left) || msg == (neutrino_msg_t) g_settings.key_quickzap_down)
else if (msg == CRCInput::RC_left || msg == CRCInput::RC_previoussong || msg == (neutrino_msg_t) g_settings.key_quickzap_down)
{
//printf("CMoviePlayerGui::%s: CRCInput::RC_left or g_settings.key_quickzap_down\n", __func__);
if (isLuaPlay || isUPNP)