mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user