mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
youtube feeds: Fix handling mute icon
Origin commit data
------------------
Commit: 54e4a812d2
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-06-03 (Mon, 03 Jun 2013)
Origin message was:
------------------
* youtube feeds: Fix handling mute icon
This commit is contained in:
@@ -192,6 +192,7 @@ int CMoviePlayerGui::exec(CMenuTarget * parent, const std::string & actionKey)
|
|||||||
moviebrowser->setMode(MB_SHOW_RECORDS);
|
moviebrowser->setMode(MB_SHOW_RECORDS);
|
||||||
}
|
}
|
||||||
else if (actionKey == "ytplayback") {
|
else if (actionKey == "ytplayback") {
|
||||||
|
CAudioMute::getInstance()->enableMuteIcon(false);
|
||||||
isMovieBrowser = true;
|
isMovieBrowser = true;
|
||||||
moviebrowser->setMode(MB_SHOW_YT);
|
moviebrowser->setMode(MB_SHOW_YT);
|
||||||
}
|
}
|
||||||
@@ -229,6 +230,9 @@ int CMoviePlayerGui::exec(CMenuTarget * parent, const std::string & actionKey)
|
|||||||
|
|
||||||
CVFD::getInstance()->setMode(CVFD::MODE_TVRADIO);
|
CVFD::getInstance()->setMode(CVFD::MODE_TVRADIO);
|
||||||
|
|
||||||
|
if (moviebrowser->getMode() == MB_SHOW_YT)
|
||||||
|
CAudioMute::getInstance()->enableMuteIcon(true);
|
||||||
|
|
||||||
if (timeshift){
|
if (timeshift){
|
||||||
timeshift = 0;
|
timeshift = 0;
|
||||||
return menu_return::RETURN_EXIT_ALL;
|
return menu_return::RETURN_EXIT_ALL;
|
||||||
|
Reference in New Issue
Block a user