mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
movieplayer: re-enable youtube playback
Origin commit data
------------------
Commit: a5448c8776
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-12-20 (Wed, 20 Dec 2017)
Origin message was:
------------------
- movieplayer: re-enable youtube playback
This commit is contained in:
@@ -430,13 +430,11 @@ int CMoviePlayerGui::exec(CMenuTarget * parent, const std::string & actionKey)
|
|||||||
moviebrowser->setMode(MB_SHOW_RECORDS);
|
moviebrowser->setMode(MB_SHOW_RECORDS);
|
||||||
//wakeup_hdd(g_settings.network_nfs_recordingdir.c_str());
|
//wakeup_hdd(g_settings.network_nfs_recordingdir.c_str());
|
||||||
}
|
}
|
||||||
#if HAVE_COOL_HARDWARE || HAVE_GENERIC_HARDWARE
|
|
||||||
else if (actionKey == "ytplayback") {
|
else if (actionKey == "ytplayback") {
|
||||||
isMovieBrowser = true;
|
isMovieBrowser = true;
|
||||||
moviebrowser->setMode(MB_SHOW_YT);
|
moviebrowser->setMode(MB_SHOW_YT);
|
||||||
isYT = true;
|
isYT = true;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
else if (actionKey == "fileplayback_video") {
|
else if (actionKey == "fileplayback_video") {
|
||||||
is_audio_playing = false;
|
is_audio_playing = false;
|
||||||
if (filebrowser)
|
if (filebrowser)
|
||||||
@@ -723,12 +721,10 @@ bool CMoviePlayerGui::prepareFile(CFile *file)
|
|||||||
printf("CMoviePlayerGui::prepareFile: file %s start %d\n", file_name.c_str(), startposition);
|
printf("CMoviePlayerGui::prepareFile: file %s start %d\n", file_name.c_str(), startposition);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#if HAVE_COOL_HARDWARE
|
|
||||||
if (isYT) {
|
if (isYT) {
|
||||||
file_name = file->Url;
|
file_name = file->Url;
|
||||||
is_file_player = true;
|
is_file_player = true;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
fillPids();
|
fillPids();
|
||||||
}
|
}
|
||||||
if (file->getType() == CFile::FILE_ISO)
|
if (file->getType() == CFile::FILE_ISO)
|
||||||
|
Reference in New Issue
Block a user