mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
neutrino: some more mode_radio/mode_webradio fixes #2
Signed-off-by: Thilo Graf <dbt@novatux.de>
Origin commit data
------------------
Commit: 4202218b47
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-06 (Mon, 06 Nov 2017)
Origin message was:
------------------
- neutrino: some more mode_radio/mode_webradio fixes #2
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -4264,7 +4264,7 @@ void CNeutrinoApp::standbyMode( bool bOnOff, bool fromDeepStandby )
|
||||
check PIN and not zap, so we should be fine here
|
||||
*/
|
||||
mode = mode_unknown;
|
||||
if( lastMode == mode_radio ) {
|
||||
if (lastMode == mode_radio || lastMode == mode_webradio) {
|
||||
radioMode( false );
|
||||
} else {
|
||||
/* for standby -> tv mode from radio mode in case of record */
|
||||
@@ -4322,7 +4322,12 @@ void CNeutrinoApp::radioMode( bool rezap)
|
||||
#endif
|
||||
CRecordManager::getInstance()->StopAutoRecord();
|
||||
|
||||
if (mode != mode_webtv) {
|
||||
if (mode != mode_webtv && mode != mode_webradio) {
|
||||
/*
|
||||
FIXME:
|
||||
frameBuffer->paintBackground() is clearing display.
|
||||
What if any gui-element (e.g. infoviewer) is active?
|
||||
*/
|
||||
frameBuffer->useBackground(false);
|
||||
frameBuffer->paintBackground();
|
||||
}
|
||||
|
Reference in New Issue
Block a user