summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoranbr <vdr07@deltab.de>2010-07-12 17:21:45 +0200
committeranbr <vdr07@deltab.de>2010-07-12 17:21:45 +0200
commit795517ea2e7044e4f4a0fef55a4cc9f07e5355bd (patch)
treeb09508bdd9c123a4b61555d5a275ac0ed328477f
parent387018c94f7cd138cba5fe85eb0c5c58a0a7f00c (diff)
downloadvdr-plugin-targavfd-795517ea2e7044e4f4a0fef55a4cc9f07e5355bd.tar.gz
vdr-plugin-targavfd-795517ea2e7044e4f4a0fef55a4cc9f07e5355bd.tar.bz2
Add exit mode 'Show only present next timer' (Request #356)
-rw-r--r--HISTORY9
-rw-r--r--README14
-rw-r--r--po/de_DE.po5
-rw-r--r--po/it_IT.po8
-rw-r--r--setup.c1
-rw-r--r--setup.h1
-rw-r--r--watch.c6
7 files changed, 37 insertions, 7 deletions
diff --git a/HISTORY b/HISTORY
index a44f08c..a3905a6 100644
--- a/HISTORY
+++ b/HISTORY
@@ -1,11 +1,18 @@
VDR Plugin 'targavfd' Revision History
-------------------------------------
+2010-07-12: Version 0.0.5
+- Add exit mode 'Show only present next timer' (Request #356)
+- Add setup option to control volume bargraph
+- Allow partial data transfer
+- Select brightness by in plain language
+- Update running clock frequently
+- Down show icons, if showing clock on exit
+
2010-04-28: Version 0.0.4
- Allow setup font size
- Show current time, on dual line mode
2010-04-18: Version 0.0.3
-
- Initial revision.
diff --git a/README b/README
index 5af713f..e0c582e 100644
--- a/README
+++ b/README
@@ -76,16 +76,28 @@ Setup options
This options are editable at run time. (Menu: Setup > Plugin > targavfd ... )
* Brightness
- - Set brightness from display. (Default: 1)
+ - Set brightness from display. (Default: Half brightness)
* Default font
- Used font, there should installed like other FreeType supported fonts
+* Height of big font
+* Height of small font
+
+* Render mode
+ - Single line
+ - Dual lines
* Exit mode
- Do nothing - Just leave the "last" message there
- Showing clock - Show the big clock
- Turning display off - Blank the device completely
- Show next timer - Show time and title of next timer
+ - Show only present next timer - If present, show time and title of next timer
+
+* Show volume bargraph
+ - Never - Show the volume bar never
+ - Timed - Show the volume bar only a short time, if volume changed
+ - Ever - Show the volume bar every time
Plugin SVDRP commands
diff --git a/po/de_DE.po b/po/de_DE.po
index 6aaf59b..eb504b8 100644
--- a/po/de_DE.po
+++ b/po/de_DE.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: vdr-targavfd-plugin 0.0.5\n"
"Report-Msgid-Bugs-To: <see README>\n"
-"POT-Creation-Date: 2010-07-11 15:53+0200\n"
+"POT-Creation-Date: 2010-07-12 16:56+0200\n"
"PO-Revision-Date: 2010-07-02 21:25+0200\n"
"Last-Translator: Andreas Brachold <vdr07 AT deltab de>\n"
"Language-Team: Andreas Brachold <vdr07 AT deltab de>\n"
@@ -60,6 +60,9 @@ msgstr "Abschalten der Anzeige"
msgid "Show next timer"
msgstr "Nächsten Timer anzeigen"
+msgid "Show only present next timer"
+msgstr "Nur vorhandenen nächsten Timer anzeigen"
+
msgid "Exit mode"
msgstr "Ende Modus"
diff --git a/po/it_IT.po b/po/it_IT.po
index 15fe1a7..a13205b 100644
--- a/po/it_IT.po
+++ b/po/it_IT.po
@@ -5,9 +5,9 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: vdr-targavfd-plugin 0.0.1\n"
+"Project-Id-Version: vdr-targavfd-plugin 0.0.5\n"
"Report-Msgid-Bugs-To: <see README>\n"
-"POT-Creation-Date: 2010-07-11 15:53+0200\n"
+"POT-Creation-Date: 2010-07-12 17:19+0200\n"
"PO-Revision-Date: 2009-06-07 23:30+0100\n"
"Last-Translator: Diego Pierotto <vdr-italian@tiscali.it>\n"
"Language-Team: \n"
@@ -63,6 +63,10 @@ msgstr "Spegni retroilluminazione"
msgid "Show next timer"
msgstr "Mostra prossimo timer"
+#, fuzzy
+msgid "Show only present next timer"
+msgstr "Mostra prossimo timer"
+
msgid "Exit mode"
msgstr "Modalità d'uscita"
diff --git a/setup.c b/setup.c
index df6e868..01d8a70 100644
--- a/setup.c
+++ b/setup.c
@@ -224,6 +224,7 @@ cVFDMenuSetup::cVFDMenuSetup(cVFDWatch* pDev)
szExitModes[eOnExitMode_SHOWCLOCK] = tr("Showing clock");
szExitModes[eOnExitMode_BLANKSCREEN] = tr("Turning display off");
szExitModes[eOnExitMode_NEXTTIMER] = tr("Show next timer");
+ szExitModes[eOnExitMode_NEXTTIMER_BLANKSCR] = tr("Show only present next timer");
Add(new cMenuEditStraItem (tr("Exit mode"),
&m_tmpSetup.m_nOnExit,
diff --git a/setup.h b/setup.h
index e9f5cf0..35cb09b 100644
--- a/setup.h
+++ b/setup.h
@@ -22,6 +22,7 @@ enum eOnExitMode {
,eOnExitMode_SHOWCLOCK /**< Show the big clock */
,eOnExitMode_BLANKSCREEN /**< Blank the device completely */
,eOnExitMode_NEXTTIMER /**< Show next active timer */
+ ,eOnExitMode_NEXTTIMER_BLANKSCR /**< Show next active timer, or blank if none timer defined */
,eOnExitMode_LASTITEM
};
diff --git a/watch.c b/watch.c
index c0d9525..b36f157 100644
--- a/watch.c
+++ b/watch.c
@@ -136,7 +136,8 @@ void cVFDWatch::close() {
cTimer* t = Timers.GetNextActiveTimer();
switch(theSetup.m_nOnExit) {
- case eOnExitMode_NEXTTIMER: {
+ case eOnExitMode_NEXTTIMER:
+ case eOnExitMode_NEXTTIMER_BLANKSCR: {
isyslog("targaVFD: closing, show only next timer.");
this->clear();
@@ -156,7 +157,8 @@ void cVFDWatch::close() {
this->DrawText(0,0,topic);
this->icons(eIconRECORD);
} else {
- this->DrawText(0,0,tr("None active timer"));
+ if(theSetup.m_nOnExit == eOnExitMode_NEXTTIMER)
+ this->DrawText(0,0,tr("None active timer"));
this->icons(0);
}
this->flush(true);