From 662dd62488f6f842fe5d940e986f798abe1c7691 Mon Sep 17 00:00:00 2001 From: Andreas Brugger Date: Sat, 19 Nov 2005 12:00:00 +0100 Subject: 2005-11-19: Version 1.1-cvs_ext-0.2 (vdr-text2skin-1.1-cvs_ext-0.2.diff) - removed the previously introduced tokens NextTimerName, NextTimerStart, NextTimerChannel, CurrentRecordingsCount and added tokens for the next 3 timers: CurrentEventsTitle[123], CurrentEventsStartDateTime[123], CurrentEventsStopDateTime[123], CurrentEventsChannelNumber[123], CurrentEventsChannelName[123], CurrentEventsIsRecording[123] - added audio- and video-tokens: PresentLanguageCode, PresentLanguageDescription, PresentVideoAR and implemented the missing code for the Language-token - added tokens for replay: ReplayName, ReplayDateTime, ReplayShortText, ReplayDescription, ReplayLanguageCode, ReplayLanguageDescription, ReplayVideoAR (not activated yet) - additional recording-tokens: RecordingVideoAR, RecordingSize - added a reset for scrolling text (configurable) - included Text2skin.diff from the rotor-plugin --- setup.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'setup.c') diff --git a/setup.c b/setup.c index 575bda6..504c4e4 100644 --- a/setup.c +++ b/setup.c @@ -9,12 +9,19 @@ cText2SkinSetup Text2SkinSetup; // --- cText2SkinSetup -------------------------------------------------------- cText2SkinSetup::cText2SkinSetup(void) { + MarqueeLeftRight = true; + MarqueeReset = false; + CheckTimerConflict = false; MaxCacheFill = 25; } bool cText2SkinSetup::SetupParse(const char *Name, const char *Value) { - if (strcmp(Name, "MaxCacheFill") == 0) MaxCacheFill = atoi(Value); + if (strcmp(Name, "MarqueeLeftRight") == 0) MarqueeLeftRight = atoi(Value); + else if (strcmp(Name, "MarqueeReset") == 0) MarqueeReset = atoi(Value); + else if (strcmp(Name, "CheckTimerConflict") == 0) CheckTimerConflict = atoi(Value); + else if (strcmp(Name, "MaxCacheFill") == 0) MaxCacheFill = atoi(Value); else return false; + return true; } -- cgit v1.2.3 From 8d32cf88bbe5b69a2710029cdaa896470a0fe20c Mon Sep 17 00:00:00 2001 From: Andreas Brugger Date: Sat, 4 Feb 2006 18:25:22 +0100 Subject: 2006-02-04: Version 1.1-cvs_ext-0.8 (vdr-text2skin-1.1-cvs_ext-0.8.diff) - added a configuration option for showing the scrollbar in the menus and finished implementation --- setup.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'setup.c') diff --git a/setup.c b/setup.c index 504c4e4..a2ea090 100644 --- a/setup.c +++ b/setup.c @@ -9,6 +9,7 @@ cText2SkinSetup Text2SkinSetup; // --- cText2SkinSetup -------------------------------------------------------- cText2SkinSetup::cText2SkinSetup(void) { + MenuScrollbar = false; MarqueeLeftRight = true; MarqueeReset = false; CheckTimerConflict = false; @@ -16,7 +17,8 @@ cText2SkinSetup::cText2SkinSetup(void) { } bool cText2SkinSetup::SetupParse(const char *Name, const char *Value) { - if (strcmp(Name, "MarqueeLeftRight") == 0) MarqueeLeftRight = atoi(Value); + if (strcmp(Name, "MenuScrollbar") == 0) MenuScrollbar = atoi(Value); + else if (strcmp(Name, "MarqueeLeftRight") == 0) MarqueeLeftRight = atoi(Value); else if (strcmp(Name, "MarqueeReset") == 0) MarqueeReset = atoi(Value); else if (strcmp(Name, "CheckTimerConflict") == 0) CheckTimerConflict = atoi(Value); else if (strcmp(Name, "MaxCacheFill") == 0) MaxCacheFill = atoi(Value); -- cgit v1.2.3 From 74a5cc8e14900d48386e33cb576f154a6dd7e557 Mon Sep 17 00:00:00 2001 From: Andreas Brugger Date: Sun, 19 Nov 2006 16:58:14 +0100 Subject: 2006-11-19: Version 1.1-cvs_ext-0.9 (vdr-text2skin-1.1-cvs_ext-0.9.diff) - added a test-feature to search for reruns of a program and add the information to the extended epg-info (trigger DEVELOPMENT_FEATURES). This uses a service-interface of the epgsearch-plugin "Epgsearch-searchresults-v1.0" - the timer-conflicts are now checked with epgsearch (service-interface "Epgsearch-lastconflictinfo-v1.0", as it works more reliable and is supported by the plugin author - the extended epg-info and the recording-info are extended by AUX-Infos (configurable) there is also an option to strip known tags - the tab-widths are scaled for taking into account that different TT-Fonts have a different width than the default font from VDR - added tokens for signal-info: FrontendSTR, FrontendSNR, FrontendHasLock, FrontendHasSignal - changed token TimerConflict to TimerConflicts - added token PresentEventID for EPG-images - added tokens for recordings: RecordingFilename, RecordingPriority, RecordingLifetime - removed Text2skin.diff from the rotor-plugin --- setup.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'setup.c') diff --git a/setup.c b/setup.c index a2ea090..6a27f6d 100644 --- a/setup.c +++ b/setup.c @@ -12,7 +12,13 @@ cText2SkinSetup::cText2SkinSetup(void) { MenuScrollbar = false; MarqueeLeftRight = true; MarqueeReset = false; +#if VDRVERSNUM >= 10344 + ShowAux = true; + StripAux = true; +#endif +#if VDRVERSNUM >= 10330 CheckTimerConflict = false; +#endif MaxCacheFill = 25; } @@ -20,7 +26,13 @@ bool cText2SkinSetup::SetupParse(const char *Name, const char *Value) { if (strcmp(Name, "MenuScrollbar") == 0) MenuScrollbar = atoi(Value); else if (strcmp(Name, "MarqueeLeftRight") == 0) MarqueeLeftRight = atoi(Value); else if (strcmp(Name, "MarqueeReset") == 0) MarqueeReset = atoi(Value); +#if VDRVERSNUM >= 10344 + else if (strcmp(Name, "ShowAux") == 0) ShowAux = atoi(Value); + else if (strcmp(Name, "StripAux") == 0) StripAux = atoi(Value); +#endif +#if VDRVERSNUM >= 10330 else if (strcmp(Name, "CheckTimerConflict") == 0) CheckTimerConflict = atoi(Value); +#endif else if (strcmp(Name, "MaxCacheFill") == 0) MaxCacheFill = atoi(Value); else return false; -- cgit v1.2.3