mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
added cardsystem name to ecm info
This commit is contained in:
parent
e7d8a193a7
commit
72f445fc57
2
HISTORY
2
HISTORY
@ -302,4 +302,6 @@ Version 0.4.3
|
||||
- added tokens for progressbars in displamenudefault
|
||||
- implemented dvbapi service interface, added viewelement ecminfo
|
||||
in displaychannel
|
||||
- added cardsystem name to ecm info
|
||||
|
||||
|
||||
|
@ -9,6 +9,7 @@ struct sDVBAPIEcmInfo {
|
||||
uint16_t pid;
|
||||
uint32_t prid;
|
||||
uint32_t ecmtime;
|
||||
cString cardsystem;
|
||||
cString reader;
|
||||
cString from;
|
||||
cString protocol;
|
||||
|
@ -135,6 +135,7 @@
|
||||
|
||||
<!-- Available Variables ecminfo:
|
||||
{caid} id of currently used CA
|
||||
{cardsystem} name of currently used CA
|
||||
{pid} pID
|
||||
{prid} provider ID
|
||||
{ecmtime} ecm time in ms
|
||||
@ -146,7 +147,7 @@
|
||||
|
||||
<ecminfo>
|
||||
<area x="60%" y="95%" width="24%" height="5%" layer="4">
|
||||
<drawtext x="0" y="5%" font="{semibold}" fontsize="40%" color="{clrWhite}" text="CAID: {caid} Reader: {reader}" />
|
||||
<drawtext x="0" y="5%" font="{semibold}" fontsize="40%" color="{clrWhite}" text="{cardsystem} Reader: {reader}" />
|
||||
<drawtext x="0" y="50%" font="{semibold}" fontsize="40%" color="{clrWhite}" text="ECM Time: {ecmtime} ms" />
|
||||
</area>
|
||||
</ecminfo>
|
||||
|
@ -73,6 +73,7 @@
|
||||
|
||||
<!-- Available Variables ecminfo:
|
||||
{caid} id of currently used CA
|
||||
{cardsystem} name of currently used CA
|
||||
{pid} pID
|
||||
{prid} provider ID
|
||||
{ecmtime} ecm time in ms
|
||||
|
@ -884,6 +884,7 @@ bool cViewHelpers::SetEcmInfos(int channelSid, map < string, string > &stringTok
|
||||
intTokens.insert(pair<string,int>("ecmtime", ecmInfo.ecmtime));
|
||||
intTokens.insert(pair<string,int>("hops", ecmInfo.hops));
|
||||
|
||||
stringTokens.insert(pair<string,string>("cardsystem", *ecmInfo.cardsystem ? *ecmInfo.cardsystem : ""));
|
||||
stringTokens.insert(pair<string,string>("reader", *ecmInfo.reader ? *ecmInfo.reader : ""));
|
||||
stringTokens.insert(pair<string,string>("from", *ecmInfo.from ? *ecmInfo.from : ""));
|
||||
stringTokens.insert(pair<string,string>("protocol", *ecmInfo.protocol ? *ecmInfo.protocol : ""));
|
||||
|
Loading…
Reference in New Issue
Block a user