CLuaInstance: Add parameter info1/info2 to PlayFile()

- This parameter display in info viewer instead of epg data
This commit is contained in:
M. Liebmann
2014-09-10 21:13:29 +02:00
parent d2c836049b
commit b6f1963f2c
3 changed files with 14 additions and 3 deletions

View File

@@ -158,6 +158,8 @@ void CMoviePlayerGui::Init(void)
ext_subs = false;
iso_file = false;
bgThread = 0;
info_1 = "";
info_2 = "";
}
void CMoviePlayerGui::cutNeutrino()
@@ -1034,7 +1036,7 @@ void CMoviePlayerGui::callInfoViewer(/*const int duration, const int curr_pos*/)
}
/* not moviebrowser => use the filename as title */
g_InfoViewer->showMovieTitle(playstate, 0, pretty_name, "", "", duration, position);
g_InfoViewer->showMovieTitle(playstate, 0, pretty_name, info_1, info_2, duration, position);
}
bool CMoviePlayerGui::getAudioName(int apid, std::string &apidtitle)