YT supplement to e193c72d345574c445c3f987f5e5695a3d57765d

Origin commit data
------------------
Branch: ni/coolstream
Commit: c4ff7e17de
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2019-06-03 (Mon, 03 Jun 2019)


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

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2019-06-03 23:33:29 +02:00
committed by vanhofen
parent dd1a191773
commit 5f91ec05db

View File

@@ -4339,7 +4339,6 @@ int CYTHistory::exec(CMenuTarget* parent, const std::string &actionKey)
}
*search = actionKey;
allexit = true;
g_RCInput->postMsg((neutrino_msg_t) CRCInput::RC_blue, 0);
return menu_return::RETURN_EXIT;
}
@@ -4445,10 +4444,8 @@ bool CMovieBrowser::showYTMenu(bool calledExternally)
if (calledExternally)
return true;
bool no_reload = false;
if (ret == menu_return::RETURN_EXIT_ALL && !search.empty() && !m_settings.ytsearch.empty() && search != m_settings.ytsearch){
select = cYTFeedParser::SEARCH;
no_reload = true;
}
printf("MovieBrowser::showYTMenu(): selected: %d\n", select);
@@ -4465,7 +4462,7 @@ bool CMovieBrowser::showYTMenu(bool calledExternally)
else if (select == cYTFeedParser::SEARCH) {
printf("search for: %s\n", search.c_str());
if (!search.empty()) {
reload = !no_reload;// default true
reload = true;
m_settings.ytsearch = search;
m_settings.ytmode = newmode;
m_settings.ytsearch_history.push_front(search);