From c40c72d2f6f8eb16c25fa03b80ee3f6c1bfe0a7b Mon Sep 17 00:00:00 2001 From: vanhofen Date: Fri, 3 Nov 2017 10:47:31 +0100 Subject: [PATCH] media-menu: disable currently broken audioplayer for ARM_HARDWARE Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/3d91cd9e13ed76cfc3a67fc21b503a8deb407606 Author: vanhofen Date: 2017-11-03 (Fri, 03 Nov 2017) Origin message was: ------------------ - media-menu: disable currently broken audioplayer for ARM_HARDWARE ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/mediaplayer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/mediaplayer.cpp b/src/gui/mediaplayer.cpp index ec7c98151..44f6a2937 100644 --- a/src/gui/mediaplayer.cpp +++ b/src/gui/mediaplayer.cpp @@ -145,6 +145,7 @@ int CMediaPlayerMenu::initMenuMedia(CMenuWidget *m, CPersonalizeGui *p) bool enabled = !CMoviePlayerGui::getInstance().Playing(); +#if !HAVE_ARM_HARDWARE //audio player CMenuForwarder *fw_audio = new CMenuForwarder(LOCALE_MAINMENU_AUDIOPLAYER, enabled, NULL, this, "audioplayer", CRCInput::RC_red); fw_audio->setHint(NEUTRINO_ICON_HINT_APLAY, LOCALE_MENU_HINT_APLAY); @@ -154,6 +155,7 @@ int CMediaPlayerMenu::initMenuMedia(CMenuWidget *m, CPersonalizeGui *p) CMenuForwarder *fw_inet = new CMenuForwarder(LOCALE_INETRADIO_NAME, enabled, NULL, this, "inetplayer", CRCInput::RC_green); fw_inet->setHint(NEUTRINO_ICON_HINT_INET_RADIO, LOCALE_MENU_HINT_INET_RADIO); personalize->addItem(multimedia_menu, fw_inet, &g_settings.personalize[SNeutrinoSettings::P_MEDIA_INETPLAY]); +#endif //init movieplayer submenu CMenuWidget *movieplayer_menu = new CMenuWidget(LOCALE_MAINMENU_MEDIAPLAYER, NEUTRINO_ICON_MULTIMEDIA, width, MN_WIDGET_ID_MEDIA_MOVIEPLAYER);