[vdr] length of running recording

2011-09-08 Thread jdobry

Hello,

I have small problem with running periodical recording on list view. 
Duration is actual only on first look. Every return to recording list 
show old not actualized value. It is same after recording finish.

If this recording is in "root", it is ok.
If it is periodical recording, it is not correct (recording is in 
"sub-directory"

I am not found any way to actualize listed duration except vdr restart.
Duration on playback status is correct, but in list of recordings still 
invalid.


vdr 1.7.21 (I am not test older)

Jiri

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[vdr] FTA channel with DVB subtitles

2007-10-03 Thread jdobry
Hi,

Klaus want to have FTA channel with DVBsubtitles.
A have 2 messages:
good message: channel CT24 have it during news session (19:00-19:30) and many 
other times
bad message: Transponder is Astra3A at 23.5E (12525/V SR:27500 FEC:3/4 SID:8006 
VPID:165 APID:100) Transponder on Astra 19.2E don't contain DVB subtitles.

Have a nice day, Jiri


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Concurrent LNB-patch for 1.5?

2007-10-15 Thread jdobry
Hi

Do you mean Configurablelnbshare? 
(http://www.linuxtv.org/vdrwiki/index.php/Configurablelnbshare) 
If yes, I have patch for 1.5.10 and I will send it to you at evening after 
tests.

And I also wan't to know about plans to nativly support.

Have a nice day,
Jiri

>
>is there a concurrent LNB patch for 1.5.x? Or are there plans to nativly 
>support this?
>


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Concurrent LNB-patch for 1.5?

2007-10-15 Thread jdobry
PS!!!

I am sorry. My last e-mail contain attachment and I want to send it only for 
Andreas. I was send to maillist only by my mistake.
I'am very sorry.

Jiri

__
> Od: [EMAIL PROTECTED]
> Komu: 
> Datum: 15.10.2007 14:43
> Předmět: [vdr] Concurrent LNB-patch for 1.5?
>
>Hi,
>
>is there a concurrent LNB patch for 1.5.x? Or are there plans to nativly 
>support this?
>
>Regards,
>
>Andreas.
>
>_
>Express yourself instantly with MSN Messenger! Download today it's FREE!
>http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/___
>vdr mailing list
>vdr@linuxtv.org
>http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
>
>


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Concurrent LNB-patch for 1.5?

2007-10-15 Thread jdobry
Hi,

Patch you can find in attachment. Please confirm functionality and write about 
this into maillist.

Regards, 
Jiri

PS: I am not author. I just modify it for vdr 1.5.10



__
> Od: [EMAIL PROTECTED]
> Komu: 
> Datum: 15.10.2007 14:43
> Předmět: [vdr] Concurrent LNB-patch for 1.5?
>
>Hi,
>
>is there a concurrent LNB patch for 1.5.x? Or are there plans to nativly 
>support this?
>
>Regards,
>
>Andreas.
>
>_
>Express yourself instantly with MSN Messenger! Download today it's FREE!
>http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/___
>vdr mailing list
>vdr@linuxtv.org
>http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
>
>

diff -u4 old/config.c vdr-1.5.10/config.c
--- old/config.c	2007-10-06 16:28:58.0 +0200
+++ vdr-1.5.10/config.c	2007-10-15 20:51:14.0 +0200
@@ -288,8 +288,12 @@
   CurrentVolume = MAXVOLUME;
   CurrentDolby = 0;
   InitialChannel = 0;
   InitialVolume = -1;
+#ifdef USE_LNBSHARE
+  VerboseLNBlog = 0;
+  for (int i = 0; i < MAXDEVICES; i++) CardUsesLNBnr[i] = i + 1;
+#endif /* LNBSHARE */
 }
 
 cSetup& cSetup::operator= (const cSetup &s)
 {
@@ -464,9 +468,25 @@
   else if (!strcasecmp(Name, "CurrentDolby"))CurrentDolby   = atoi(Value);
   else if (!strcasecmp(Name, "InitialChannel"))  InitialChannel = atoi(Value);
   else if (!strcasecmp(Name, "InitialVolume"))   InitialVolume  = atoi(Value);
   else
+#ifdef USE_LNBSHARE
+  if (!strcasecmp(Name, "VerboseLNBlog")) VerboseLNBlog = atoi(Value);
+  else {
+ char tmp[20];
+ bool result = false;
+ for (int i = 1; i <= MAXDEVICES; i++) {
+ sprintf(tmp, "Card%dusesLNBnr", i);
+ if (!strcasecmp(Name, tmp)) {
+CardUsesLNBnr[i - 1] = atoi(Value);
+result = true;
+}
+ }
+ return result;
+  }
+#else
  return false;
+#endif /* LNBSHARE */
   return true;
 }
 
 bool cSetup::Save(void)
@@ -545,8 +565,18 @@
   Store("CurrentVolume",  CurrentVolume);
   Store("CurrentDolby",   CurrentDolby);
   Store("InitialChannel", InitialChannel);
   Store("InitialVolume",  InitialVolume);
+#ifdef USE_LNBSHARE
+  Store("VerboseLNBlog",   VerboseLNBlog);
+  char tmp[20];
+  if (cDevice::NumDevices() > 1) {
+ for (int i = 1; i <= cDevice::NumDevices(); i++) {
+ sprintf(tmp, "Card%dusesLNBnr", i);
+ Store(tmp, CardUsesLNBnr[i - 1]);
+ }
+ }
+#endif /* LNBSHARE */
 
   Sort();
 
   if (cConfig::Save()) {
diff -u4 old/config.h vdr-1.5.10/config.h
--- old/config.h	2007-10-06 16:27:18.0 +0200
+++ vdr-1.5.10/config.h	2007-10-15 20:51:14.0 +0200
@@ -43,8 +43,14 @@
 #define MAXOSDWIDTH  672
 #define MINOSDHEIGHT 324
 #define MAXOSDHEIGHT 567
 
+#ifdef USE_LNBSHARE
+#ifndef MAXDEVICES
+#define MAXDEVICES 16 // the maximum number of devices in the system
+#endif
+#endif /* LNBSHARE */
+
 #define MaxFileName 256
 #define MaxSkinName 16
 #define MaxThemeName 16
 
@@ -265,8 +271,12 @@
   int CurrentVolume;
   int CurrentDolby;
   int InitialChannel;
   int InitialVolume;
+#ifdef USE_LNBSHARE
+  int VerboseLNBlog;
+  int CardUsesLNBnr[MAXDEVICES];
+#endif /* LNBSHARE */
   int __EndData__;
   cSetup(void);
   cSetup& operator= (const cSetup &s);
   bool Load(const char *FileName);
diff -u4 old/device.c vdr-1.5.10/device.c
--- old/device.c	2007-10-14 15:09:19.0 +0200
+++ vdr-1.5.10/device.c	2007-10-15 20:51:14.0 +0200
@@ -87,8 +87,12 @@
}
 }
 }
 
+#ifdef USE_LNBSHARE
+#include "diseqc.h"
+#endif /* LNBSHARE */
+
 // --- cPesAssembler -
 
 class cPesAssembler {
 private:
@@ -223,8 +227,14 @@
   SetDescription("receiver on device %d", CardIndex() + 1);
 
   SetVideoFormat(Setup.VideoFormat);
 
+#ifdef USE_LNBSHARE
+  LNBstate = -1;
+  LNBnr = Setup.CardUsesLNBnr[cardIndex];
+  LNBsource = NULL;
+#endif /* LNBSHARE */
+
   mute = false;
   volume = Setup.CurrentVolume;
 
   sectionHandler = NULL;
@@ -290,8 +300,18 @@
   if (n < MAXDEVICES)
  useDevice |= (1 << n);
 }
 
+#ifdef USE_LNBSHARE
+void cDevice::SetLNBnr(void)
+{
+  for (int i = 0; i < numDevices; i++) {
+  device[i]->LNBnr = Setup.CardUsesLNBnr[i];
+  isyslog("LNB-sharing: setting device %d to use LNB %d", i, device[i]->LNBnr);
+  }
+}
+#endif /* LNBSHARE */
+
 int cDevice::NextCardIndex(int n)
 {
   if (n > 0) {
  nextCardIndex += n;
@@ -350,8 +370,100 @@
  d = PrimaryDevice();
   return d;
 }
 
+#ifdef USE_LNBSHARE
+cDevice *cDevice::GetBadDevice(const cChannel *Channel)
+{
+  if (!cSource::IsSat(Channel->Source())) return NULL;
+  if (Setup.DiSEqC) {
+ cDiseqc *diseqc;
+ diseqc = Diseqcs.Get(Channel->Source(), Channel->Frequency(), Channel->Polarization());
+
+ for (int i = 0; i < numDevices; i++) {
+ if (this != d

Re: [vdr] vdr 1.5.10 and teletextsubs

2007-10-16 Thread jdobry
Hi,

You still need ttxtsubs plugin and patch. Plugin is without change, patch for 
1.5.10 you can found here:
http://www.saunalahti.fi/~rahrenbe/vdr/patches/

I read somewhere in this maillist from Klaus, that plan was:
1.5.10 - DVB subtitles
1.5.11 - DVB subtitles include teletext

Regards, 
Jiri

__
> Od: [EMAIL PROTECTED]
> Komu: VDR Mailing List 
> Datum: 16.10.2007 10:15
> Předmět: [vdr] vdr 1.5.10 and teletextsubs
>
>Do i still need the ttxtsubs plugin?
>
>___
>vdr mailing list
>vdr@linuxtv.org
>http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
>


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] VDR 1.5.10, Subtitles gets out of sync

2007-10-17 Thread jdobry
Hi,

>I tested this new VDR version for
>some minutes and noticed that some subtitles were shown too late in
>live tv watching. I didn't check how the timing of subtitles is done,
>but it seemed that VDR missed one "sync-point" and after that all the
>subtitles were shown one "sync-point" too late. Channel change seemed
>to correct the situation for a while.

I just confirm this behavior. Some subtitles were shown too late and too shot 
in live tv watching.
Playback same stream from recording looks correctly.
Old dvbsubtitles patch+plugin (with my modification 
http://dvbn.happysat.org/viewtopic.php?t=42136) works fayn on same channel.

Regards, 
Jiri 


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[vdr] UTF8 chars in weekday name

2007-11-27 Thread jdobry
Hello 

I want to describe some minor problem in VDR: 
Short weekdays can't contain non ASCII-7 chars. Any other char is converted to 
UTF8 (it is correct) and cropped to 6 bytes (not UTF8 chars, incorrect). But 
this crop ignote UTF8 extensions.

This code make problem in menu.c (crop to 3+3=6 bytes):
---
asprintf(&buffer, "%.*s\t%s\t%c%c%c\t%s", 6, *event->GetDateString(), 
*event->GetTimeString(), t, v, r, event->Title());


Dirty fix only for CS language:
---
#. TRANSLATORS: abbreviated weekdays, beginning with monday (must all be 3 
letters!)
msgid "MonTueWedThuFriSatSun"
#I must fix it to this
msgstr "Po Ut St Ct Pa So Ne "
#And correct text is this
#msgstr "Po Út St Čt Pá So Ne "


Have a nice day,
Jiri


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] UTF8 chars in weekday name

2007-11-27 Thread jdobry
I forget write that problem is in VDR 1.5.12 and probably in any version from 
1.5.3


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[vdr] cs_CZ.po Czech translation update for VDR 1.5.16

2008-02-27 Thread jdobry
Hello,

In attachment you can found diff file for Czech translations.

Authors: Jiří Dobrý <[EMAIL PROTECTED]> + users of www.cssf.cz forum (rufus, 
bastlir) 

Have a nice day, Jiri

PS: VDR is excelent piece of software
PSS: this is second try to send this mail into maillist, first was 4hours ago, 
but nothing happen



cs_CZ.po.diff
Description: Binary data
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[vdr] cs_CZ.po Czech translation update for VDR 1.5.16

2008-02-27 Thread jdobry
Hello,

In attachment you can found diff file for Czech translations.

Authors: Jiří Dobrý <[EMAIL PROTECTED]> + users of www.cssf.cz forum (rufus, 
bastlir) 

Have a nice day, Jiri

PS: VDR is excelent piece of software



cs_CZ.po.diff.gz
Description: application/gzip
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] cs_CZ.po Czech translation update for VDR 1.5.16

2008-02-28 Thread jdobry
Hi,
I want to confirm it. This version is correct.

Jiri

__
> Od: [EMAIL PROTECTED]
> Komu: VDR Mailing List 
> Datum: 28.02.2008 15:21
> Předmět: Re: [vdr] cs_CZ.po Czech translation update for VDR 1.5.16
>
>[EMAIL PROTECTED] napsal(a):
>Hi,
>Here is a corrected version of Czech translation made with cooperation
>with Jiří Drobný ;)
>
>Vladimir
>
>


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[vdr] [patch] pin & epgsearch plugins compatibility

2011-01-08 Thread jdobry

Hello all,

I found that pin & epgsearch plugins are not compatible if it is 
compiled on 1.7.16 (maybe more versions).


Patch for epgsearch-0.9.25.beta18 is in attachment

Jiri Dobry

diff -rupN epgsearch-0.9.25.beta18/menu_commands.c epgsearch-0.9.25.beta18-1/menu_commands.c
--- epgsearch-0.9.25.beta18/menu_commands.c	2010-09-19 20:01:58.0 +0200
+++ epgsearch-0.9.25.beta18-1/menu_commands.c	2011-01-08 22:42:28.0 +0100
@@ -165,7 +165,7 @@ eOSState cMenuSearchCommands::Record(voi
   }
 #ifdef USE_PINPLUGIN
   aux = "";
-  aux = UpdateAuxValue(aux, "protected", timer->FskProtection() ? "yes" : "no");
+  aux = UpdateAuxValue(aux, "protected", timer->HasFlags(tfProtected) ? "yes" : "no");
   fullaux = UpdateAuxValue(fullaux, "pin-plugin", aux);
 #endif
 
diff -rupN epgsearch-0.9.25.beta18/menu_main.c epgsearch-0.9.25.beta18-1/menu_main.c
--- epgsearch-0.9.25.beta18/menu_main.c	2010-09-19 20:01:58.0 +0200
+++ epgsearch-0.9.25.beta18-1/menu_main.c	2011-01-08 22:42:46.0 +0100
@@ -226,7 +226,7 @@ eOSState cMenuSearchMain::Record(void)
 	 }
 #ifdef USE_PINPLUGIN
   aux = "";
-  aux = UpdateAuxValue(aux, "protected", timer->FskProtection() ? "yes" : "no");
+  aux = UpdateAuxValue(aux, "protected", timer->HasFlags(tfProtected) ? "yes" : "no");
   fullaux = UpdateAuxValue(fullaux, "pin-plugin", aux);
 #endif
 
diff -rupN epgsearch-0.9.25.beta18/menu_myedittimer.c epgsearch-0.9.25.beta18-1/menu_myedittimer.c
--- epgsearch-0.9.25.beta18/menu_myedittimer.c	2010-09-19 20:01:57.0 +0200
+++ epgsearch-0.9.25.beta18-1/menu_myedittimer.c	2011-01-08 22:59:59.0 +0100
@@ -34,6 +34,9 @@ The project's page is at http://winni.vd
 #include "menu_deftimercheckmethod.h"
 #include "timerstatus.h"
 #include 
+#ifdef USE_PINPLUGIN
+#include "../pin/pin.h"
+#endif
 
 const char *cMenuMyEditTimer::CheckModes[3];
 
@@ -63,7 +66,7 @@ cMenuMyEditTimer::cMenuMyEditTimer(cTime
 	strcpy(file, Timer->File());
 	channel = Timer->Channel()->Number();
 #ifdef USE_PINPLUGIN
-fskProtection = Timer->FskProtection();  
+fskProtection = Timer->HasFlags(tfProtected);  
 #endif
 	if (forcechannel)
 	channel = forcechannel->Number();
@@ -125,7 +128,7 @@ void cMenuMyEditTimer::Set()
 Add(new cMenuEditStrItem( tr("Directory"), directory, MaxFileName, tr(AllowedChars)));
 Add(new cMenuEditBitItem( trVDR("Active"),   &flags, tfActive));
 #ifdef USE_PINPLUGIN
-if (cOsd::pinValid) Add(new cMenuEditChanItem(tr("Channel"), &channel));
+if (PinService::pinValid) Add(new cMenuEditChanItem(tr("Channel"), &channel));
 else {
   cString buf = cString::sprintf("%s\t%s", tr("Channel"), Channels.GetByNumber(channel)->Name());
   Add(new cOsdItem(buf));
@@ -144,7 +147,7 @@ void cMenuMyEditTimer::Set()
 Add(new cMenuEditIntItem( trVDR("Priority"), &priority, 0, MAXPRIORITY));
 Add(new cMenuEditIntItem( trVDR("Lifetime"), &lifetime, 0, MAXLIFETIME));
 #ifdef USE_PINPLUGIN
-if (cOsd::pinValid || !fskProtection) Add(new cMenuEditBoolItem(tr("Childlock"),&fskProtection));
+if (PinService::pinValid || !fskProtection) Add(new cMenuEditBoolItem(tr("Childlock"),&fskProtection));
 else {
   cString buf = cString::sprintf("%s\t%s", tr("Childlock"), fskProtection ? trVDR("yes") : trVDR("no"));
   Add(new cOsdItem(buf));
diff -rupN epgsearch-0.9.25.beta18/menu_searchresults.c epgsearch-0.9.25.beta18-1/menu_searchresults.c
--- epgsearch-0.9.25.beta18/menu_searchresults.c	2010-09-19 20:01:56.0 +0200
+++ epgsearch-0.9.25.beta18-1/menu_searchresults.c	2011-01-08 22:44:10.0 +0100
@@ -259,7 +259,7 @@ eOSState cMenuSearchResults::Record(void
 
 #ifdef USE_PINPLUGIN
  aux = "";
- aux = UpdateAuxValue(aux, "protected", timer->FskProtection() ? "yes" : "no");
+ aux = UpdateAuxValue(aux, "protected", timer->HasFlags(tfProtected) ? "yes" : "no");
  fullaux = UpdateAuxValue(fullaux, "pin-plugin", aux);
 #endif
 
diff -rupN epgsearch-0.9.25.beta18/menu_whatson.c epgsearch-0.9.25.beta18-1/menu_whatson.c
--- epgsearch-0.9.25.beta18/menu_whatson.c	2010-11-24 19:14:00.0 +0100
+++ epgsearch-0.9.25.beta18-1/menu_whatson.c	2011-01-08 22:44:01.0 +0100
@@ -580,7 +580,7 @@ eOSState cMenuWhatsOnSearch::Record(void
  }
 #ifdef USE_PINPLUGIN
  aux = "";
- aux = UpdateAuxValue(aux, "protected", timer->FskProtection() ? "yes" : "no");
+ aux = UpdateAuxValue(aux, "protected", timer->HasFlags(tfProtected) ? "yes" : "no");
  fullaux = UpdateAuxValue(fullaux, "pin-plugin", aux);
 #endif
  SetAux(timer, fullaux);
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] [patch] pin & epgsearch plugins compatibility

2011-01-08 Thread jdobry

Opps! My patch was wrong, here is fixed version
Jiri


Dne 8.1.2011 23:31, jdo...@centrum.cz napsal(a):

Hello all,

I found that pin & epgsearch plugins are not compatible if it is
compiled on 1.7.16 (maybe more versions).

Patch for epgsearch-0.9.25.beta18 is in attachment

Jiri Dobry




diff -rupN epgsearch-0.9.25.beta18/menu_commands.c epgsearch-0.9.25.beta18-1/menu_commands.c
--- epgsearch-0.9.25.beta18/menu_commands.c	2010-09-19 20:01:58.0 +0200
+++ epgsearch-0.9.25.beta18-1/menu_commands.c	2011-01-08 22:42:28.0 +0100
@@ -165,7 +165,7 @@ eOSState cMenuSearchCommands::Record(voi
   }
 #ifdef USE_PINPLUGIN
   aux = "";
-  aux = UpdateAuxValue(aux, "protected", timer->FskProtection() ? "yes" : "no");
+  aux = UpdateAuxValue(aux, "protected", timer->HasFlags(tfProtected) ? "yes" : "no");
   fullaux = UpdateAuxValue(fullaux, "pin-plugin", aux);
 #endif
 
diff -rupN epgsearch-0.9.25.beta18/menu_main.c epgsearch-0.9.25.beta18-1/menu_main.c
--- epgsearch-0.9.25.beta18/menu_main.c	2010-09-19 20:01:58.0 +0200
+++ epgsearch-0.9.25.beta18-1/menu_main.c	2011-01-08 22:42:46.0 +0100
@@ -226,7 +226,7 @@ eOSState cMenuSearchMain::Record(void)
 	 }
 #ifdef USE_PINPLUGIN
   aux = "";
-  aux = UpdateAuxValue(aux, "protected", timer->FskProtection() ? "yes" : "no");
+  aux = UpdateAuxValue(aux, "protected", timer->HasFlags(tfProtected) ? "yes" : "no");
   fullaux = UpdateAuxValue(fullaux, "pin-plugin", aux);
 #endif
 
diff -rupN epgsearch-0.9.25.beta18/menu_myedittimer.c epgsearch-0.9.25.beta18-1/menu_myedittimer.c
--- epgsearch-0.9.25.beta18/menu_myedittimer.c	2010-09-19 20:01:57.0 +0200
+++ epgsearch-0.9.25.beta18-1/menu_myedittimer.c	2011-01-09 00:51:27.0 +0100
@@ -34,6 +34,10 @@ The project's page is at http://winni.vd
 #include "menu_deftimercheckmethod.h"
 #include "timerstatus.h"
 #include 
+#ifdef USE_PINPLUGIN
+#include 
+using namespace PinPatch;
+#endif
 
 const char *cMenuMyEditTimer::CheckModes[3];
 
@@ -63,7 +67,7 @@ cMenuMyEditTimer::cMenuMyEditTimer(cTime
 	strcpy(file, Timer->File());
 	channel = Timer->Channel()->Number();
 #ifdef USE_PINPLUGIN
-fskProtection = Timer->FskProtection();  
+fskProtection = Timer->HasFlags(tfProtected);  
 #endif
 	if (forcechannel)
 	channel = forcechannel->Number();
@@ -125,7 +129,7 @@ void cMenuMyEditTimer::Set()
 Add(new cMenuEditStrItem( tr("Directory"), directory, MaxFileName, tr(AllowedChars)));
 Add(new cMenuEditBitItem( trVDR("Active"),   &flags, tfActive));
 #ifdef USE_PINPLUGIN
-if (cOsd::pinValid) Add(new cMenuEditChanItem(tr("Channel"), &channel));
+if (ChildLock::IsUnlocked()) Add(new cMenuEditChanItem(tr("Channel"), &channel));
 else {
   cString buf = cString::sprintf("%s\t%s", tr("Channel"), Channels.GetByNumber(channel)->Name());
   Add(new cOsdItem(buf));
@@ -144,7 +148,7 @@ void cMenuMyEditTimer::Set()
 Add(new cMenuEditIntItem( trVDR("Priority"), &priority, 0, MAXPRIORITY));
 Add(new cMenuEditIntItem( trVDR("Lifetime"), &lifetime, 0, MAXLIFETIME));
 #ifdef USE_PINPLUGIN
-if (cOsd::pinValid || !fskProtection) Add(new cMenuEditBoolItem(tr("Childlock"),&fskProtection));
+if (ChildLock::IsUnlocked() || !fskProtection) Add(new cMenuEditBoolItem(tr("Childlock"),&fskProtection));
 else {
   cString buf = cString::sprintf("%s\t%s", tr("Childlock"), fskProtection ? trVDR("yes") : trVDR("no"));
   Add(new cOsdItem(buf));
diff -rupN epgsearch-0.9.25.beta18/menu_searchresults.c epgsearch-0.9.25.beta18-1/menu_searchresults.c
--- epgsearch-0.9.25.beta18/menu_searchresults.c	2010-09-19 20:01:56.0 +0200
+++ epgsearch-0.9.25.beta18-1/menu_searchresults.c	2011-01-08 22:44:10.0 +0100
@@ -259,7 +259,7 @@ eOSState cMenuSearchResults::Record(void
 
 #ifdef USE_PINPLUGIN
  aux = "";
- aux = UpdateAuxValue(aux, "protected", timer->FskProtection() ? "yes" : "no");
+ aux = UpdateAuxValue(aux, "protected", timer->HasFlags(tfProtected) ? "yes" : "no");
  fullaux = UpdateAuxValue(fullaux, "pin-plugin", aux);
 #endif
 
diff -rupN epgsearch-0.9.25.beta18/menu_whatson.c epgsearch-0.9.25.beta18-1/menu_whatson.c
--- epgsearch-0.9.25.beta18/menu_whatson.c	2010-11-24 19:14:00.0 +0100
+++ epgsearch-0.9.25.beta18-1/menu_whatson.c	2011-01-08 22:44:01.0 +0100
@@ -580,7 +580,7 @@ eOSState cMenuWhatsOnSearch::Record(void
  }
 #ifdef USE_PINPLUGIN
  aux = "";
- aux = UpdateAuxValue(aux, "protected", timer->FskProtection() ? "yes" : "no");
+ aux = UpdateAuxValue(aux, "protected", timer->HasFlags(tfProtected) ? "yes" : "no");
  fullaux = UpdateAuxValue(fullaux, "pin-plugin", aux);
 #endif
  SetAux(timer, fullaux);

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[vdr] xineliboutput subtitle crop

2011-03-18 Thread jdobry

Hello,

On vdr 1.7.17 I have problem with xineliboutput and subtitles. It's 
oversized and cropped.

Problem is probably incompatibility to change OSD layer size on 1.7.17

Here is my hotfix. I am not sure, if it is correct because I don't know 
vdr/xineliboutput internals.  But it siply works for me.


Jiri
PS: many thanks for nice piece of SW, specially thanks to Klaus.


--- osd.c.old2011-03-18 15:55:32.681879469 +0100
+++ osd.c2011-03-18 16:02:54.111874506 +0100
@@ -393,10 +393,13 @@

 #if VDRVERSNUM >= 10708

+#if VDRVERSNUM < 10717
   if (xc.osd_spu_scaling && (m_Layer == OSD_LEVEL_SUBTITLES || m_Layer 
== OSD_LEVEL_TTXTSUBS)) {

 m_ExtentWidth  = 720;
 m_ExtentHeight = 576;
-  } else {
+  } else
+#endif
+  {
 double Aspect;
 intW, H;
 m_Device->GetOsdSize(W, H, Aspect);


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] xineliboutput subtitle crop

2011-03-19 Thread jdobry

I can try only DVB subtitles.

From: Petri Hintukainen
Subject: Re: [vdr] xineliboutput subtitle crop
To: VDR Mailing List
Message-ID:<1300468302.18383.4870.camel@ph-laptop>
Content-Type: text/plain; charset="UTF-8"

pe, 2011-03-18 kello 16:13 +0100, jdo...@centrum.cz kirjoitti:

Looks correct, at least for DVB subtitles. Did you test only with DVB
subtitles or also with teletext subtitles ?



___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr