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

@@ -404,11 +404,13 @@ int CMoviePlayerGui::exec(CMenuTarget * parent, const std::string & actionKey)
moviebrowser->setMode(MB_SHOW_RECORDS);
//wakeup_hdd(g_settings.network_nfs_recordingdir.c_str());
}
#if ENABLE_YOUTUBE_PLAYER
else if (actionKey == "ytplayback") {
isMovieBrowser = true;
moviebrowser->setMode(MB_SHOW_YT);
isYT = true;
}
#endif
else if (actionKey == "fileplayback_video") {
is_audio_playing = false;
if (filebrowser)