diff --git a/src/gui/movieplayer.cpp b/src/gui/movieplayer.cpp index 5a35e4cf4..d17531bc0 100644 --- a/src/gui/movieplayer.cpp +++ b/src/gui/movieplayer.cpp @@ -430,7 +430,7 @@ 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 +#if HAVE_COOL_HARDWARE || HAVE_GENERIC_HARDWARE else if (actionKey == "ytplayback") { isMovieBrowser = true; moviebrowser->setMode(MB_SHOW_YT); diff --git a/src/gui/update.cpp b/src/gui/update.cpp index 68303a7cc..35d24406d 100644 --- a/src/gui/update.cpp +++ b/src/gui/update.cpp @@ -688,6 +688,7 @@ int CFlashUpdate::exec(CMenuTarget* parent, const std::string &actionKey) c[0] = fgetc(f); printf("[update] Current partition: %s\n", c); } + fclose(f); } // select partition