diff --git a/src/gui/user_menue.cpp b/src/gui/user_menue.cpp index 749effe2a..ed8b9124f 100644 --- a/src/gui/user_menue.cpp +++ b/src/gui/user_menue.cpp @@ -382,6 +382,16 @@ bool CUserMenu::showUserMenu(int button) menu->addItem(menu_item, 0); } break; + case SNeutrinoSettings::ITEM_FILEPLAY: + { + menu_items++; + menu_prev = SNeutrinoSettings::ITEM_FILEPLAY; + keyhelper.get(&key,&icon); + menu_item = new CMenuForwarder(LOCALE_MOVIEPLAYER_FILEPLAYBACK, true, NULL, &CMoviePlayerGui::getInstance(), "fileplayback", key, icon); + menu_item->setHint(NEUTRINO_ICON_HINT_FILEPLAY, LOCALE_MENU_HINT_FILEPLAY); + menu->addItem(menu_item, 0); + } + break; #if 0 // FIXME not supported yet case SNeutrinoSettings::ITEM_MOVIEPLAYER_TS: diff --git a/src/gui/user_menue_setup.cpp b/src/gui/user_menue_setup.cpp index aa1c3db92..6977a0a67 100644 --- a/src/gui/user_menue_setup.cpp +++ b/src/gui/user_menue_setup.cpp @@ -89,7 +89,8 @@ const CMenuOptionChooser::keyval USERMENU_ITEM_OPTIONS[USERMENU_ITEM_OPTION_COUN { SNeutrinoSettings::ITEM_GAMES, LOCALE_MAINMENU_GAMES }, { SNeutrinoSettings::ITEM_SCRIPTS, LOCALE_MAINMENU_SCRIPTS }, { SNeutrinoSettings::ITEM_RECORD, LOCALE_TIMERLIST_TYPE_RECORD }, - { SNeutrinoSettings::ITEM_YOUTUBE, LOCALE_MOVIEPLAYER_YTPLAYBACK } + { SNeutrinoSettings::ITEM_YOUTUBE, LOCALE_MOVIEPLAYER_YTPLAYBACK }, + { SNeutrinoSettings::ITEM_FILEPLAY, LOCALE_MOVIEPLAYER_FILEPLAYBACK } }; int CUserMenuSetup::exec(CMenuTarget* parent, const std::string &) diff --git a/src/system/settings.h b/src/system/settings.h index 3e515a3bd..debc6b064 100644 --- a/src/system/settings.h +++ b/src/system/settings.h @@ -655,6 +655,7 @@ struct SNeutrinoSettings ITEM_GAMES = 20, ITEM_SCRIPTS = 21, ITEM_YOUTUBE = 22, + ITEM_FILEPLAY = 23, #if 0 ITEM_MOVIEPLAYER_TS, #endif