mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
added hasVPS for current scheduling in displaychannel -> epginfo
This commit is contained in:
parent
86ec43925f
commit
7766972eec
1
HISTORY
1
HISTORY
@ -8,3 +8,4 @@ VDR Plugin 'skindesigner' Revision History
|
|||||||
Version 0.0.2
|
Version 0.0.2
|
||||||
|
|
||||||
- added some more tokens with more detailed audio information in displaychannel -> statusinfo
|
- added some more tokens with more detailed audio information in displaychannel -> statusinfo
|
||||||
|
- added hasVPS for current scheduling in displaychannel -> epginfo
|
||||||
|
@ -44,6 +44,7 @@
|
|||||||
{currentelapsed} Elapsed time of current Schedule in min
|
{currentelapsed} Elapsed time of current Schedule in min
|
||||||
{currentremaining} Remaining time of current Schedule in min
|
{currentremaining} Remaining time of current Schedule in min
|
||||||
{currentrecording} true if current Schedule is recorded
|
{currentrecording} true if current Schedule is recorded
|
||||||
|
{hasVPS} true if current Schedule has VPS
|
||||||
{nexttitle} Title of next Schedule
|
{nexttitle} Title of next Schedule
|
||||||
{nextsubtitle} Subtitle of next Schedule
|
{nextsubtitle} Subtitle of next Schedule
|
||||||
{nextstart} Start of next Schedule in hh:mm
|
{nextstart} Start of next Schedule in hh:mm
|
||||||
@ -80,7 +81,7 @@
|
|||||||
|
|
||||||
<!-- Available Variables statusinfo:
|
<!-- Available Variables statusinfo:
|
||||||
{isRadio} true if channel is a radio channel
|
{isRadio} true if channel is a radio channel
|
||||||
{hasVT} true if channel has video text
|
{hasVT} true if channel has video text
|
||||||
{isStereo} true if a stereo audio trac is available
|
{isStereo} true if a stereo audio trac is available
|
||||||
{isDolby} true if a dolby audio track is available
|
{isDolby} true if a dolby audio track is available
|
||||||
{isEncrypted} true if channel is encrypted
|
{isEncrypted} true if channel is encrypted
|
||||||
@ -90,7 +91,7 @@
|
|||||||
{trackdesc} description of the current audio track
|
{trackdesc} description of the current audio track
|
||||||
{tracklang} language of the current audio track
|
{tracklang} language of the current audio track
|
||||||
-->
|
-->
|
||||||
<statusinfo debug="true">
|
<statusinfo>
|
||||||
<area x="22%" y="94%" width="76%" height="6%" layer="2">
|
<area x="22%" y="94%" width="76%" height="6%" layer="2">
|
||||||
<!-- encrypted / decrypted icon -->
|
<!-- encrypted / decrypted icon -->
|
||||||
<drawimage name="enc" condition="{isEncrypted}" imagetype="icon" path="ico_crypt_on" x="{areawidth} - {width(enc)}" valign="center" width="{areaheight}*0.8*1.76" height="{areaheight}*0.8"/>
|
<drawimage name="enc" condition="{isEncrypted}" imagetype="icon" path="ico_crypt_on" x="{areawidth} - {width(enc)}" valign="center" width="{areaheight}*0.8*1.76" height="{areaheight}*0.8"/>
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
{currentelapsed} Elapsed time of current Schedule in min
|
{currentelapsed} Elapsed time of current Schedule in min
|
||||||
{currentremaining} Remaining time of current Schedule in min
|
{currentremaining} Remaining time of current Schedule in min
|
||||||
{currentrecording} true if current Schedule is recorded
|
{currentrecording} true if current Schedule is recorded
|
||||||
|
{hasVPS} true if current Schedule has VPS
|
||||||
{nexttitle} Title of next Schedule
|
{nexttitle} Title of next Schedule
|
||||||
{nextsubtitle} Subtitle of next Schedule
|
{nextsubtitle} Subtitle of next Schedule
|
||||||
{nextstart} Start of next Schedule in hh:mm
|
{nextstart} Start of next Schedule in hh:mm
|
||||||
|
@ -135,6 +135,7 @@ void cDisplayChannelView::DrawEPGInfo(const cEvent *present, const cEvent *next,
|
|||||||
intTokens.insert(pair<string,int>("currentelapsed", (int)round((time(NULL) - present->StartTime())/60)));
|
intTokens.insert(pair<string,int>("currentelapsed", (int)round((time(NULL) - present->StartTime())/60)));
|
||||||
intTokens.insert(pair<string,int>("currentremaining", (int)round((present->EndTime() - time(NULL))/60)));
|
intTokens.insert(pair<string,int>("currentremaining", (int)round((present->EndTime() - time(NULL))/60)));
|
||||||
intTokens.insert(pair<string,int>("currentrecording", presentRecording ? 1 : 0));
|
intTokens.insert(pair<string,int>("currentrecording", presentRecording ? 1 : 0));
|
||||||
|
intTokens.insert(pair<string,int>("hasVPS", present->Vps()));
|
||||||
} else {
|
} else {
|
||||||
stringTokens.insert(pair<string,string>("currenttitle", ""));
|
stringTokens.insert(pair<string,string>("currenttitle", ""));
|
||||||
stringTokens.insert(pair<string,string>("currentsubtitle", ""));
|
stringTokens.insert(pair<string,string>("currentsubtitle", ""));
|
||||||
@ -145,6 +146,7 @@ void cDisplayChannelView::DrawEPGInfo(const cEvent *present, const cEvent *next,
|
|||||||
intTokens.insert(pair<string,int>("currentelapsed", 0));
|
intTokens.insert(pair<string,int>("currentelapsed", 0));
|
||||||
intTokens.insert(pair<string,int>("currentremaining", 0));
|
intTokens.insert(pair<string,int>("currentremaining", 0));
|
||||||
intTokens.insert(pair<string,int>("currentrecording", 0));
|
intTokens.insert(pair<string,int>("currentrecording", 0));
|
||||||
|
intTokens.insert(pair<string,int>("hasVPS", 0));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (next) {
|
if (next) {
|
||||||
|
Loading…
Reference in New Issue
Block a user