mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
- audioplayer: split RC_home/RC_stop handling; ...
now RC_home do not stop playback anymore and RC_stop do not close gui. Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -444,12 +444,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;
|
||||
}
|
||||
if (msg == CRCInput::RC_stop)
|
||||
{
|
||||
if (m_state != CAudioPlayerGui::STOP)
|
||||
stop();
|
||||
else
|
||||
loop=false;
|
||||
}
|
||||
#if 0 //add RC_favorites for internetradio
|
||||
else if ((msg == CRCInput::RC_favorites) && (m_inetmode))
|
||||
|
Reference in New Issue
Block a user