mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
audioplayer: split RC_home/RC_stop handling; ...
now RC_home do not stop playback anymore and RC_stop do not close gui.
Origin commit data
------------------
Branch: ni/coolstream
Commit: d8042a9d69
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-01-26 (Fri, 26 Jan 2018)
Origin message was:
------------------
- audioplayer: split RC_home/RC_stop handling; ...
now RC_home do not stop playback anymore and RC_stop do not close gui.
------------------
This commit was generated by Migit
This commit is contained in:
@@ -478,12 +478,15 @@ int CAudioPlayerGui::show()
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == CRCInput::RC_home || msg == CRCInput::RC_stop)
|
||||
if (msg == CRCInput::RC_home)
|
||||
{
|
||||
if (m_state == CAudioPlayerGui::STOP)
|
||||
loop=false;
|
||||
}
|
||||
else if (msg == CRCInput::RC_stop)
|
||||
{
|
||||
if (m_state != CAudioPlayerGui::STOP)
|
||||
stop();
|
||||
else
|
||||
loop=false;
|
||||
}
|
||||
//NI - add RC_favorites for internetradio
|
||||
else if ((msg == CRCInput::RC_favorites) && (m_inetmode))
|
||||
|
Reference in New Issue
Block a user