mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
crypt info verimatrix added
Origin commit data
------------------
Branch: ni/coolstream
Commit: 09b8aa09c9
Author: BPanther <bpanther_ts@hotmail.com>
Date: 2019-10-18 (Fri, 18 Oct 2019)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
installdir = $(ICONSDIR)
|
||||
|
||||
install_DATA = \
|
||||
bc_green.png \
|
||||
bc_white.png \
|
||||
bc_yellow.png \
|
||||
biss_green.png \
|
||||
biss_white.png \
|
||||
biss_yellow.png \
|
||||
@@ -34,6 +37,9 @@ install_DATA = \
|
||||
via_green.png \
|
||||
via_white.png \
|
||||
via_yellow.png \
|
||||
vmx_green.png \
|
||||
vmx_white.png \
|
||||
vmx_yellow.png \
|
||||
x_green.png \
|
||||
x_white.png \
|
||||
x_yellow.png
|
||||
|
BIN
data/icons/status/ca/bc_green.png
Normal file
BIN
data/icons/status/ca/bc_green.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 248 B |
BIN
data/icons/status/ca/bc_white.png
Normal file
BIN
data/icons/status/ca/bc_white.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 245 B |
BIN
data/icons/status/ca/bc_yellow.png
Normal file
BIN
data/icons/status/ca/bc_yellow.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 248 B |
BIN
data/icons/status/ca/vmx_green.png
Normal file
BIN
data/icons/status/ca/vmx_green.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 290 B |
BIN
data/icons/status/ca/vmx_white.png
Normal file
BIN
data/icons/status/ca/vmx_white.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 290 B |
BIN
data/icons/status/ca/vmx_yellow.png
Normal file
BIN
data/icons/status/ca/vmx_yellow.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 291 B |
@@ -750,10 +750,10 @@ void CInfoViewerBB::paint_ca_icon(int caid, const char *icon, int &icon_space_of
|
||||
int px = 0;
|
||||
static std::map<int, std::pair<int,const char*> > icon_map;
|
||||
|
||||
const int icon_space = OFFSET_INNER_SMALL, icon_number = 12;
|
||||
const int icon_space = OFFSET_INNER_SMALL, icon_number = 14;
|
||||
|
||||
static int icon_offset[icon_number] = {0,0,0,0,0,0,0,0,0,0,0,0};
|
||||
static int icon_sizeW [icon_number] = {0,0,0,0,0,0,0,0,0,0,0,0};
|
||||
static int icon_offset[icon_number] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0};
|
||||
static int icon_sizeW [icon_number] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0};
|
||||
|
||||
static bool init_flag = false;
|
||||
|
||||
@@ -768,12 +768,14 @@ void CInfoViewerBB::paint_ca_icon(int caid, const char *icon, int &icon_space_of
|
||||
icon_map[0x2600] = std::make_pair(index++,"biss");
|
||||
icon_map[0x4A00] = std::make_pair(index++,"d");
|
||||
icon_map[0x0600] = std::make_pair(index++,"ird");
|
||||
icon_map[0x1700] = std::make_pair(index++,"bc");
|
||||
icon_map[0x0100] = std::make_pair(index++,"seca");
|
||||
icon_map[0x0500] = std::make_pair(index++,"via");
|
||||
icon_map[0x1800] = std::make_pair(index++,"nagra");
|
||||
icon_map[0x0B00] = std::make_pair(index++,"conax");
|
||||
icon_map[0x0D00] = std::make_pair(index++,"cw");
|
||||
icon_map[0x0900] = std::make_pair(index ,"nds");
|
||||
icon_map[0x0900] = std::make_pair(index++,"nds");
|
||||
icon_map[0x5600] = std::make_pair(index ,"vmx");
|
||||
|
||||
for (it=icon_map.begin(); it!=icon_map.end(); ++it) {
|
||||
snprintf(buf, sizeof(buf), "%s_%s", (*it).second.second, (*it).second.first==0 ? "na" : "white"); //NI
|
||||
@@ -827,7 +829,7 @@ void CInfoViewerBB::paint_ca_icons(int notfirst)
|
||||
return;
|
||||
}
|
||||
|
||||
int caids[] = { 0x900, 0xD00, 0xB00, 0x1800, 0x0500, 0x0100, 0x600, 0x4a00, 0x2600, 0x1000, 0x0E00, 0x0000 };
|
||||
int caids[] = { 0x5600, 0x900, 0xD00, 0xB00, 0x1800, 0x0500, 0x0100, 0x1700, 0x600, 0x4a00, 0x2600, 0x1000, 0x0E00, 0x0000 };
|
||||
const char *green = "green"; //NI
|
||||
const char *white = "white";
|
||||
const char *yellow = "yellow";
|
||||
|
@@ -890,7 +890,7 @@ void CStreamInfo2::paint_techinfo(int xpos, int ypos)
|
||||
}
|
||||
}
|
||||
|
||||
#define NUM_CAIDS 12
|
||||
#define NUM_CAIDS 13
|
||||
void CStreamInfo2::paintCASystem(int xpos, int ypos)
|
||||
{
|
||||
unsigned short i;
|
||||
@@ -898,7 +898,7 @@ void CStreamInfo2::paintCASystem(int xpos, int ypos)
|
||||
if (box_h2 > ypos+(iheight*2))
|
||||
frameBuffer->paintBox(0, ypos+(iheight*2), box_width, box_h2, COL_MENUCONTENT_PLUS_0);
|
||||
|
||||
std::string casys[NUM_CAIDS]={"Irdeto:","Betacrypt:","Seca:","Viaccess:","Nagra:","Conax: ","Cryptoworks:","Videoguard:","Biss:","DreCrypt:","PowerVU:","Tandberg:"};
|
||||
std::string casys[NUM_CAIDS]={"Irdeto:","Betacrypt:","Seca:","Viaccess:","Nagra:","Conax:","Cryptoworks:","Videoguard:","Biss:","DreCrypt:","PowerVU:","Tandberg:","Verimatrix:"};
|
||||
bool caids[NUM_CAIDS];
|
||||
int array[NUM_CAIDS];
|
||||
char tmp[100];
|
||||
@@ -953,6 +953,9 @@ void CStreamInfo2::paintCASystem(int xpos, int ypos)
|
||||
case 0x10:
|
||||
idx = 11;
|
||||
break;
|
||||
case 0x56:
|
||||
idx = 12;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
@@ -1222,7 +1222,7 @@ void CStreamInfo2::paint_techinfo(int xpos, int ypos)
|
||||
paintCASystem(xpos, ypos);
|
||||
}
|
||||
|
||||
#define NUM_CAIDS 12
|
||||
#define NUM_CAIDS 13
|
||||
void CStreamInfo2::paintCASystem(int xpos, int ypos)
|
||||
{
|
||||
int ypos1 = ypos;
|
||||
@@ -1230,7 +1230,7 @@ void CStreamInfo2::paintCASystem(int xpos, int ypos)
|
||||
if (box_h2 > 0)
|
||||
frameBuffer->paintBoxRel(0, ypos, box_width, box_h2, COL_MENUCONTENT_PLUS_0);
|
||||
|
||||
std::string casys[NUM_CAIDS] = {"Irdeto:", "Betacrypt:", "Seca:", "Viaccess:", "Nagra:", "Conax: ", "Cryptoworks:", "Videoguard:", "Biss:", "DreCrypt:", "PowerVU:", "Tandberg:"};
|
||||
std::string casys[NUM_CAIDS] = {"Irdeto:", "Betacrypt:", "Seca:", "Viaccess:", "Nagra:", "Conax: ", "Cryptoworks:", "Videoguard:", "Biss:", "DreCrypt:", "PowerVU:", "Tandberg:","Verimatrix:"};
|
||||
bool caids[NUM_CAIDS];
|
||||
char tmp[100];
|
||||
|
||||
@@ -1299,6 +1299,9 @@ void CStreamInfo2::paintCASystem(int xpos, int ypos)
|
||||
case 0x10:
|
||||
idx = 11;
|
||||
break;
|
||||
case 0x56:
|
||||
idx = 12;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
@@ -512,13 +512,13 @@ std::string CNeutrinoAPI::getAudioInfoAsString(void)
|
||||
std::string CNeutrinoAPI::getCryptInfoAsString(void)
|
||||
{
|
||||
std::stringstream out;
|
||||
std::string casys[12]= {"Irdeto:","Betacrypt:","Seca:","Viaccess:","Nagra:","Conax: ","Cryptoworks:","Videoguard:","Biss:","DreCrypt:","PowerVU:","Tandberg:"};
|
||||
int caids[] = { 0x600, 0x1700, 0x0100, 0x0500, 0x1800, 0xB00, 0xD00, 0x900, 0x2600, 0x4a00, 0x0E00, 0x1000 };
|
||||
std::string casys[12]= {"Irdeto:","Betacrypt:","Seca:","Viaccess:","Nagra:","Conax:","Cryptoworks:","Videoguard:","Biss:","DreCrypt:","PowerVU:","Tandberg:","Verimatrix:"};
|
||||
int caids[] = { 0x600, 0x1700, 0x0100, 0x0500, 0x1800, 0xB00, 0xD00, 0x900, 0x2600, 0x4a00, 0x0E00, 0x1000, 0x5600 };
|
||||
|
||||
OpenThreads::ScopedPointerLock<OpenThreads::Mutex> lock(pmutex);
|
||||
CZapitChannel * channel = CZapit::getInstance()->GetCurrentChannel();
|
||||
if(channel) {
|
||||
for (unsigned short i = 0; i < 12; i++) {
|
||||
for (unsigned short i = 0; i < 13; i++) {
|
||||
for(casys_map_iterator_t it = channel->camap.begin(); it != channel->camap.end(); ++it) {
|
||||
int caid = (*it) & 0xFF00;
|
||||
if(caid == caids[i])
|
||||
|
Reference in New Issue
Block a user