mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 10:21:04 +02:00
Revert "- infoviewer_bb: fix display of info window_"
This reverts commit1414d98893
. Origin commit data ------------------ Branch: ni/coolstream Commit:bd089efd7d
Author: FlatTV <FlatTV@gmx.de> Date: 2016-06-04 (Sat, 04 Jun 2016) ------------------ This commit was generated by Migit
This commit is contained in:
@@ -814,14 +814,6 @@ void CInfoViewerBB::paint_ca_icons(int caid, const char *icon, int &icon_space_o
|
||||
|
||||
void CInfoViewerBB::showIcon_CA_Status(int notfirst)
|
||||
{
|
||||
//NI - check ecm.info
|
||||
int acaid = 0;
|
||||
bool got_ecmInfo = File_copy("/tmp/ecm.info", "/tmp/ecm.info.tmp");
|
||||
if (got_ecmInfo) {
|
||||
g_InfoViewer->md5_ecmInfo = filehash((char *)"/tmp/ecm.info.tmp");
|
||||
acaid = parse_ecmInfo("/tmp/ecm.info.tmp");
|
||||
}
|
||||
|
||||
if (g_settings.infobar_casystem_display == 3)
|
||||
return;
|
||||
if(NeutrinoMessages::mode_ts == CNeutrinoApp::getInstance()->getMode() && !CMoviePlayerGui::getInstance().timeshift){
|
||||
@@ -873,9 +865,15 @@ void CInfoViewerBB::showIcon_CA_Status(int notfirst)
|
||||
icon_space_offset = 0;
|
||||
}
|
||||
#endif
|
||||
//NI
|
||||
if (!got_ecmInfo && camCI)
|
||||
decode = CARD;
|
||||
//NI - check ecm.info
|
||||
int acaid = 0;
|
||||
if (File_copy("/tmp/ecm.info", "/tmp/ecm.info.tmp")) {
|
||||
g_InfoViewer->md5_ecmInfo = filehash((char *)"/tmp/ecm.info.tmp");
|
||||
acaid = parse_ecmInfo("/tmp/ecm.info.tmp");
|
||||
}
|
||||
else
|
||||
if(camCI)
|
||||
decode = CARD;
|
||||
|
||||
//NI - map betacrypt to nagra
|
||||
if((acaid & 0xFF00)== 0x1700 && (caids[3]& 0xFF00) == 0x1800)
|
||||
@@ -1141,7 +1139,7 @@ int CInfoViewerBB::parse_ecmInfo(const char * file)
|
||||
}
|
||||
}
|
||||
fclose(fh);
|
||||
remove(file);
|
||||
remove("/tmp/ecm.info.tmp");
|
||||
if(buffer)
|
||||
free(buffer);
|
||||
}
|
||||
|
Reference in New Issue
Block a user