From 61ff980b3ac615b4b6098045c348c71064b10818 Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Fri, 3 Nov 2017 10:47:31 +0100 Subject: [PATCH] - media-menu: disable currently broken audioplayer for ARM_HARDWARE Signed-off-by: Thilo Graf --- src/gui/mediaplayer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/mediaplayer.cpp b/src/gui/mediaplayer.cpp index 68b79863a..a29fae57c 100644 --- a/src/gui/mediaplayer.cpp +++ b/src/gui/mediaplayer.cpp @@ -139,6 +139,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); @@ -148,6 +149,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_MOVIEPLAYER, NEUTRINO_ICON_MULTIMEDIA, width, MN_WIDGET_ID_MEDIA_MOVIEPLAYER);