From 96bbccd9ddbbe0eb0fe56c55ae201d86c0fa13a0 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Wed, 20 Dec 2017 10:55:33 +0100 Subject: [PATCH] movieplayer: re-enable youtube playback Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/a5448c877659ae92c089e958e74f40885eee8fa5 Author: vanhofen Date: 2017-12-20 (Wed, 20 Dec 2017) Origin message was: ------------------ - movieplayer: re-enable youtube playback --- src/gui/movieplayer.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/gui/movieplayer.cpp b/src/gui/movieplayer.cpp index f3e9623fd..6ab0ed84c 100644 --- a/src/gui/movieplayer.cpp +++ b/src/gui/movieplayer.cpp @@ -430,13 +430,11 @@ int CMoviePlayerGui::exec(CMenuTarget * parent, const std::string & actionKey) moviebrowser->setMode(MB_SHOW_RECORDS); //wakeup_hdd(g_settings.network_nfs_recordingdir.c_str()); } -#if HAVE_COOL_HARDWARE || HAVE_GENERIC_HARDWARE 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) @@ -723,12 +721,10 @@ bool CMoviePlayerGui::prepareFile(CFile *file) printf("CMoviePlayerGui::prepareFile: file %s start %d\n", file_name.c_str(), startposition); } } -#if HAVE_COOL_HARDWARE if (isYT) { file_name = file->Url; is_file_player = true; } -#endif fillPids(); } if (file->getType() == CFile::FILE_ISO)