ytplayer: apply enable option for internal YouTube playback

Origin commit data
------------------
Branch: ni/coolstream
Commit: d56fe91658
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-04-29 (Sun, 29 Apr 2018)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
2018-04-29 03:13:08 +02:00
committed by vanhofen
parent 66532c9a5c
commit c82a6c639f
3 changed files with 6 additions and 1 deletions

View File

@@ -448,6 +448,7 @@ bool CUserMenu::showUserMenu(neutrino_msg_t msg)
// FIXME menu_item->setHint("", NONEXISTANT_LOCALE);
break;
}
#if ENABLE_YOUTUBE_PLAYER
case SNeutrinoSettings::ITEM_YOUTUBE:
{
keyhelper.get(&key,&icon);
@@ -455,6 +456,7 @@ bool CUserMenu::showUserMenu(neutrino_msg_t msg)
menu_item->setHint(NEUTRINO_ICON_HINT_YTPLAY, LOCALE_MENU_HINT_YTPLAY);
break;
}
#endif
case SNeutrinoSettings::ITEM_FILEPLAY_VIDEO:
{
keyhelper.get(&key,&icon);