Re: [vdr] VDR as a set top box

2008-04-06 Thread Boguslaw Juza
 Hi

Look at http://freevo.sourceforge.net/ - it is the frontend for home
cinema linux PC. It starts Xserver itself, you don't need gdm, gnome
etc... I'm using it and Im very glad :).
I removed freevo TV config and I set xine for VDR as a "external command" 
in freevo. It works nice and looks very good.

      Boguslaw Juza


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


[vdr] Deinterlace / Motion Compensation

2008-03-31 Thread Boguslaw Juza
 Hi!

   I have a quesion to LCD TV owners. Most of the new LCD TVs have
a "motion compensation" feature. Is it deinterlacing the picture?
I'm going to buy Sony40", to connect to PC via DVI/HDMI with 720p
or 1080p and run VDR with vdr-xine. Now Im using nvidia xxmc and
the deinterlace is ugly. With LCD TV it'll be visible much more,
so I need better deinterlacing - so I'm wondering if TV hw motion
compensation will do it...

   Boguslaw Juza


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


Re: [vdr] vdr-1.6.0 and syncearly

2008-03-27 Thread Boguslaw Juza
On Thu, 27 Mar 2008, Reinhard Nissl wrote:

>> Is the syncearly patch needed for new vdr?
> I'd say it's suggested. At least it is part of my H.264 patches.

Did you create H.264 patches for VDR-1.6.0?

     Boguslaw Juza


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


[vdr] vdr-1.6.0 and syncearly

2008-03-25 Thread Boguslaw Juza
Hi!

Is the syncearly patch needed for new vdr?

  Boguslaw Juza


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


Re: [vdr] HD-TV hardware decoding on motherboard instead of waitingfor FF DVB-S2 card

2008-02-06 Thread Boguslaw Juza
Hi!

Maybe the best solution is to use a hardware STB for IPTV? It takes all
soft and stream from ethernet, it allows to control via web based portal.
Video stream for this devices is near the same as SAT stream - it needs
PAT for one program only, PAT rewriting is easy.

Typical STB costs are like FF card - 100-200e, got DHMI, hardware HDTV 
etc. And it eats about 20-40W.

I'm not sure about OSD...

What do you think about this solution?

   Boguslaw Juza


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


[vdr] which card to choose?

2007-09-15 Thread Boguslaw Juza

Hello.

I build IPTV stream server, based on Linux with DVB cards and
dvbstream program. Linux takes DVB stream form SAT, divides it
to set of single-program streams and sends it to network using 
multicasts. These streams are received by IPTV SetTopBoxes.

It works. Now with FTA only. Now I need to add some crypted channels.
These services should be decrypted in the stream-server and will be
send to network without any CA. Of course fully legal, with operator 
smardcard and agreement for redistribution.

I have trouble witch decryption. Dvbstream allow to decrypt one
A/V service using full-featured card. Its only one, but better then
nothing - I can take a sets of these cards. But which card?
Does anybody know, which cards to buy? I need several ones, so
it should be new card from actual production/offer...
And it should to have CI interface and work correctly with linux.

I checked wiki.linuxtv.org - but there are listed cards, which are
no avaliable in shops - only at ebay/etc... There are mostly budged card
in acctual offer, some of them with CI (ex. SkyStarHD), but no-one
with support in linux.

What to buy? Anybody can help?

   Boguslaw Juza

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


Re: [vdr] EPG charset

2007-09-01 Thread Boguslaw Juza
On Sat, 1 Sep 2007, Stone wrote:

> When you do export LANG to pl_PL.ISO-8859-2, does VDR say the locale is
> recognized on startup?

I do:

export LC_CTYPE=pl_PL

Its enough - in vdr.c:

...
if (setlocale(LC_CTYPE, ""))
CodeSet = nl_langinfo(CODESET);
...

it sets CodeSet to "ISO-8859-2". And it is recognized and working :)

    Boguslaw Juza


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


Re: [vdr] EPG charset

2007-09-01 Thread Boguslaw Juza
On Sat, 1 Sep 2007, Klaus Schmidinger wrote:

> The character set is defined in the first byte(s) of the data that
> is broadcast for each string. VDR uses that information to convert
> that string to the character set used on your system.

Well, I found this piece of code and check returned charset tags.
It was lots of numbers for this channel - f.e. 109, 90, 54, 82, 52, 74, 
49, 83, 80, 86, 49, 65, 85, 83...

So I set:

const char *cs = "ISO-8859-2";

in getCharacterTable() in si.c and its much better :).

      Boguslaw Juza


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


Re: [vdr] EPG charset

2007-09-01 Thread Boguslaw Juza
On Sat, 1 Sep 2007, Stone wrote:

> On 9/1/07, Boguslaw Juza <[EMAIL PROTECTED]> wrote:
>> On Sat, 1 Sep 2007, Klaus Schmidinger wrote:
>>> The character set is defined in the first byte(s) of the data that
>>> is broadcast for each string. VDR uses that information to convert
>>> that string to the character set used on your system.
>> Which function do this conversion and where?
>
> Why not just  "export LANG="  at the beginning of your startup script to set
> the locale?

I have set it to pl_PL.ISO-8859-2 . If I'll set it to pl_PL.UTF-8, 
characters are not displayed correctly. But are not converted to '?' :).

 Boguslaw Juza


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


Re: [vdr] EPG charset

2007-09-01 Thread Boguslaw Juza
On Sat, 1 Sep 2007, Klaus Schmidinger wrote:

> The character set is defined in the first byte(s) of the data that
> is broadcast for each string. VDR uses that information to convert
> that string to the character set used on your system.

Which function do this conversion and where?

  Boguslaw Juza


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


[vdr] EPG charset

2007-09-01 Thread Boguslaw Juza
Hi!

I upgraded my VDR from 1.5.1 to 1.5.9 yesterday. Its work fine, but
I have a question:

In some channels I have the EPG with characters in ISO-8859-2. These
chars are replaced to '?'. How can I set EPG charset in VDR?
It would be useful an option in setup.conf - EPGCharset = ISO-8859-2


     Boguslaw Juza

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


[vdr] xine-lib 1.1.7, xxmc on nVidia and xine-vdr

2007-08-01 Thread Boguslaw Juza
 Hi

Have anybody tried xine-lib 1.1.7 with xine-vdr plugin and
xxmc video engine? When I have done it, picture was flashing while
deinterlace was enabled.

I'm affraid, that support for bob deinterlace in xinelib 1.1.7
in xxmc module was changed and now is a little underdone...

    Boguslaw Juza


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


Re: [vdr] CurrentChannel

2007-03-24 Thread Boguslaw Juza

On Sat, 24 Mar 2007, VDR User wrote:


How are you killing/shutting down vdr?


I have found the souce of trouble - its one of my plugins... VDR with
only xine plugin works well.

Boguslaw Juza


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


[vdr] CurrentChannel

2007-03-24 Thread Boguslaw Juza

   Hi!

I updgraded VDR from 1.4.4 to 1.5.1 today. Everything works fine,
even better :), but there is one thing broken: When I'm restarting VDR
(from setup menu), VDR doesn't save CurrentChannel setting. So when it
starts again, it switches to channel I have set last time in 1.4.4.

     Boguslaw Juza


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


Re: [vdr] Re: replay stuttering

2007-02-01 Thread Boguslaw Juza


I have noticed smilar trouble:

When VDR playbacks a recording, and I pause playback and put play 
again, video starts playing, then stops for less than second after about 5 
seconds, then plays, after two seconds stops again for one second, and 
then plays smoothly.


I have noticed "replay stuttering" trouble sometimes, but increasing
PLAYERBUFSIZE to MEGABYTE(8) resolved the trouble.

    Boguslaw Juza


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


[vdr] EPG from external source

2006-12-28 Thread Boguslaw Juza

Hi!


From manual:


" is a hex number that indicates the table this event is
contained in (if this is left empty or 0 this event will not be 
overwritten or modified by data that comes from the DVB stream)"


I want VDR to overwrite events which I have imported from external source.
What should I set as table id for external events? What will happen if I 
set recording for event, which will be replaced by data from DVB stream?



    Boguslaw Juza

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


Re: [vdr] [ANNOUNCE] vdr-xine-0.7.10 plugin

2006-12-10 Thread Boguslaw Juza

On Sun, 10 Dec 2006, Reinhard Nissl wrote:

I don't know what should have changed in vdr-xine that it works now. Maybe 
it's a matter of ongoing xine-lib development.


My settings:
  prebufferFrames = 8
  prebufferHysteresis = 0
  monitoringDuration = 0

There was near two seconds picture jerking after channel sets in 0.7.9.
Now is much better - picture is frozen for 8/25 sec and then play 
smoothly.

Correction: It still happens for few channels. But only a few ones:)
jerking example:
Zdrowie i Uroda:11158:v:S13.0E:27500:337:338=pol:0:0:13106:113:13200:0
smooth example:
TV POLONIA:11487:h:S13.0E:27500:160:80=pol:500:0:5101:318:1500:0

Second thing: I'm using xxmc on nVidia card. When I'm switching channel, 
there is black "no signal" screen with OSD, then blue screen (nVidia 
waiting for sync frame) and then video. Could You make an option for

ignoring mpeg stream while sync frame appears? Blue screen without OSD
is a little irritatting...
I own a GeForce 6600-GT, use nVidias driver 1.0-9631 and do not see a blue 
screen without OSD. Can you tell me your settings to reproduce this issue?


X Window System Version 6.8.2
Linux 2.6.18.3 #1 PREEMPT
NVIDIA GPU GeForce FX 5200 at PCI:1:5:0
NVIDIA dlloader X Driver  1.0-9631

xine -f -g vdr:/tmp/vdr-xine/stream#demux:mpeg_pes -Vxxmc -D --post vdr
xine: video.device.xvmc_bob_deinterlacing:1
xine: video.device.xvmc_nvidia_color_fix:1

DVB-S SkyStar2, drivers from kernel.

    Boguslaw Juza


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


[vdr] HDTV - no video stream

2006-12-07 Thread Boguslaw Juza

Hi!

There is new HD channel (crypted) at HotBird:

CANAL+ Sport HD:10719:v:S13.0E:27500:250:251=pol;252=ORY:0:100:4410:113:11000:0

VPID is 250. But when I have set it in VDR, I have only audio. While
recording, it save 23MB in 5 minutes. VDR corrected the VPID to 0. Why? 
Video is MPEG4 stream...


  Boguslaw Juza

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


[vdr] VDR (xine?) playback

2006-10-16 Thread Boguslaw Juza

Hi!

I am looking for a best solution for live TV playback for VDR.
I have PC with Celeron 2.26 GHz, 512 MB RAM, nVidia FX 5200, SkyStar2
and software MPEG2 by xine (vdr-xine 0.7.9). PC is connected do
TV using SVideo TV-Out.

Now I'm using xxmc driver for xine (nVidia hardware acc.) - playback
is smooth, without jerking, but deinterlacing is low quality (both
OneField and BOB are not ideal solution). CPU usage is about 10%.

When I have tried xine xv driver with deinterlacing, picture was nice
- clear and sharp, but the playback jerking - mostly in sports programs.
CPU usage was about 30-40%

So both solutions are not perfect. Are there any other solution?
Maybe the xine should buffer some decomperessed frames? Are there any 
possibilities to set it?


Im afraid, that only FF card will work beter... If I will decide to buy 
one, which one to choose?


I have ony one PCI slot and one AGP slot (small barebone PC), so I can't
install dxr3 card...


   Boguslaw Juza

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


[vdr] ecmhandler stopping until valid key is found

2006-10-10 Thread Boguslaw Juza
id 0065 with ecm 6ad (cached) 
(pri=-15)
ecmhandler 0.1: now try system Cardclient with pri=-15
ecmhandler 0.1: got CaDescriptors (len=19)
ecmhandler 0.1: descriptor 01 00 e6 ad 00 65 ff 00 00 04 00 40 00 00 00 21 4a
ecmhandler 0.1: found 0100 (Cardclient) id 0065 with ecm 6ad (already present)
ecmhandler 0.1: try system Cardclient (0100) id 0065 with ecm 6ad (cached) 
(pri=-15)
ecmhandler 0.1: now try system Cardclient with pri=-15
ecmhandler 0.1: got CaDescriptors (len=19)
ecmhandler 0.1: descriptor 01 00 e6 ad 00 65 ff 00 00 04 00 40 00 00 00 21 4a
ecmhandler 0.1: found 0100 (Cardclient) id 0065 with ecm 6ad (already present)
ecmhandler 0.1: try system Cardclient (0100) id 0065 with ecm 6ad (cached) 
(pri=-15)
ecmhandler 0.1: stopping console log until valid key is found
SetPlayMode: 0
ecmhandler 0.1: is idle now
softcam: no SoftCSA streams registered
ecmhandler 0.1: triggered SID 13009/ idx 1/1 mode 4/-1 -
SetAudioChannelDevice: 0
SetPlayMode: 1
netwatch: idle timeout, disconnected 127.0.0.1:6001
netwatch: down

--- I was switched few channel, last was FTA - no video ---
--- And next FTA - still no video ---

SetPlayMode: 0
SetAudioChannelDevice: 0
SetPlayMode: 1

--- And ch. with CAID 0100 - still no video -

SetPlayMode: 0
cam 0: check ProvidesCa: 0100 -> n=1
cam 0: check ProvidesCa: 0100 -> n=1
ecmhandler 0.1: setting new SID 13001
ecmhandler 0.1: is no longer idle
softcam: now 1 SoftCSA stream(s) registered
SetAudioChannelDevice: 0
SetPlayMode: 1
ecmhandler 0.1: triggered SID /13001 idx -1/1 mode -1/0 -
ecmcache: from cache: system Cardclient (0100) id 0065 with ecm 6a5/80
ecmhandler 0.1: got CaDescriptors (len=19)
ecmhandler 0.1: descriptor 01 00 e6 a5 00 65 ff 00 00 04 00 40 00 00 00 21 4a
ecmhandler 0.1: found 0100 (Cardclient) id 0065 with ecm 6a5 (already present)
ecmhandler 0.1: try system Cardclient (0100) id 0065 with ecm 6a5 (cached) 
(pri=-15)
ecmhandler 0.1: now try system Cardclient with pri=-15
ecmhandler 0.1: got CaDescriptors (len=19)
ecmhandler 0.1: descriptor 01 00 e6 a5 00 65 ff 00 00 04 00 40 00 00 00 21 4a
ecmhandler 0.1: found 0100 (Cardclient) id 0065 with ecm 6a5 (already present)
ecmhandler 0.1: try system Cardclient (0100) id 0065 with ecm 6a5 (cached) 
(pri=-15)
ecmhandler 0.1: now try system Cardclient with pri=-15
ecmhandler 0.1: got CaDescriptors (len=19)
ecmhandler 0.1: descriptor 01 00 e6 a5 00 65 ff 00 00 04 00 40 00 00 00 21 4a
ecmhandler 0.1: found 0100 (Cardclient) id 0065 with ecm 6a5 (already present)
ecmhandler 0.1: try system Cardclient (0100) id 0065 with ecm 6a5 (cached) 
(pri=-15)
ecmhandler 0.1: now try system Cardclient with pri=-15
ecmhandler 0.1: got CaDescriptors (len=19)
ecmhandler 0.1: descriptor 01 00 e6 a5 00 65 ff 00 00 04 00 40 00 00 00 21 4a
ecmhandler 0.1: found 0100 (Cardclient) id 0065 with ecm 6a5 (already present)
ecmhandler 0.1: try system Cardclient (0100) id 0065 with ecm 6a5 (cached) 
(pri=-15)
ecmhandler 0.1: stopping console log until valid key is found

--- And FTA - no video 
SetPlayMode: 0
ecmhandler 0.1: is idle now
softcam: no SoftCSA streams registered
ecmhandler 0.1: triggered SID 13001/ idx 1/1 mode 4/-1 -
SetAudioChannelDevice: 0
SetPlayMode: 1


The only one way to video back is to restart VDR...


Boguslaw Juza


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


Re: [vdr] Bug in audio track replaing

2006-10-08 Thread Boguslaw Juza

On Sun, 8 Oct 2006, Klaus Schmidinger wrote:


Klaus Schmidinger wrote:



Please try the attached replacement for I18nNormalizeLanguageCode()
(this is not a patch, but the complete function).
Let me know if this works for you, so I can include it in the
next maintenance patch.


It works. And while replaing, name od first track ("A_1") is replaced by
"pol", still.

      Boguslaw Juza



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


[vdr] skinclassic suggestions

2006-10-07 Thread Boguslaw Juza

   Hi!

I have a little suggestion about skinclassic - attached patch.
It looks much better :)

Boguslaw Juza
--- skinclassic.c.orig  2006-10-03 17:20:26.0 +0200
+++ skinclassic.c   2006-10-07 20:34:21.0 +0200
@@ -112,14 +112,35 @@
 
 void cSkinClassicDisplayChannel::SetEvents(const cEvent *Present, const cEvent 
*Following)
 {
+  char *src, descr[60];
+  int a;
+
   osd->DrawRectangle(0, lineHeight, timeWidth - 1, osd->Height(), 
Theme.Color(clrChannelEpgTimeBg));
   osd->DrawRectangle(timeWidth, lineHeight, osd->Width() - 1, osd->Height(), 
Theme.Color(clrBackground));
   for (int i = 0; i < 2; i++) {
   const cEvent *e = !i ? Present : Following;
   if (e) {
+ src=(char *)e->ShortText();
+ if(!src)src=(char *)e->Description();
+ if((src)&&(strlen(src)>55)) {
+   for(a=55;a>0;a--)if(src[a]=='.')break;
+   if(a>0) {
+ memcpy(descr,src,a+1);
+ descr[a+1]=0;
+   }
+   else {
+ for(a=53;a>0;a--)if(src[a]==' ')break;
+ memcpy(descr,src,a);
+ strcpy(descr+a,"...");
+   }
+ }
+ else {
+   if(src)strcpy(descr,src);
+   else descr[0]=0;
+ }  
  osd->DrawText( 2, (2 * i + 1) * lineHeight, 
e->GetTimeString(), Theme.Color(clrChannelEpgTimeFg), 
Theme.Color(clrChannelEpgTimeBg), cFont::GetFont(fontOsd));
  osd->DrawText(timeWidth + 10, (2 * i + 1) * lineHeight, e->Title(), 
Theme.Color(clrChannelEpgTitle), Theme.Color(clrBackground), 
cFont::GetFont(fontOsd));
- osd->DrawText(timeWidth + 10, (2 * i + 2) * lineHeight, 
e->ShortText(), Theme.Color(clrChannelEpgShortText), 
Theme.Color(clrBackground), cFont::GetFont(fontSml));
+ osd->DrawText(timeWidth + 10, (2 * i + 2) * lineHeight, descr, 
Theme.Color(clrChannelEpgShortText), Theme.Color(clrBackground), 
cFont::GetFont(fontSml));
  }
   }
 }
@@ -315,7 +336,8 @@
   ts.Set(osd, xl, y, x1 - xl, y3 - y, Event->Title(), font, 
Theme.Color(clrMenuEventTitle), Theme.Color(clrBackground));
   y += ts.Height();
   if (!isempty(Event->ShortText())) {
- const cFont *font = cFont::GetFont(fontSml);
+ y += font->Height();
+// const cFont *font = cFont::GetFont(fontSml);
  ts.Set(osd, xl, y, x1 - xl, y3 - y, Event->ShortText(), font, 
Theme.Color(clrMenuEventShortText), Theme.Color(clrBackground));
  y += ts.Height();
  }
@@ -346,7 +368,8 @@
   ts.Set(osd, xl, y, x1 - xl, y3 - y, Title, font, 
Theme.Color(clrMenuEventTitle), Theme.Color(clrBackground));
   y += ts.Height();
   if (!isempty(Info->ShortText())) {
- const cFont *font = cFont::GetFont(fontSml);
+ y += font->Height();
+// const cFont *font = cFont::GetFont(fontSml);
  ts.Set(osd, xl, y, x1 - xl, y3 - y, Info->ShortText(), font, 
Theme.Color(clrMenuEventShortText), Theme.Color(clrBackground));
  y += ts.Height();
  }
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] ShortText == Description

2006-10-07 Thread Boguslaw Juza

On Sat, 7 Oct 2006, Klaus Schmidinger wrote:


Can you please try the attached patch?
It should fix this problem.


It works. No any duplicates. Now I have only description, so I have not 
any "Short Text" in channel info...


     Boguslaw Juza


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


Re: [vdr] Bug in audio track replaing

2006-10-07 Thread Boguslaw Juza

On Sat, 7 Oct 2006, Klaus Schmidinger wrote:


Klaus Schmidinger wrote:
...
Actually here's a more elaborate patch.
It also explicitly checks for the audio stream.
Wouldn't make a difference right now, but if we have more
streams later, it might be necessary.


There is no correct still, but something changes:

At channel:
CYFRA+ RADIO:10892:h:S13.0E:27500:0:116=PR1,117=PR2,118=PR3,115=BIS,123=ZET,122=
RAD,124=PIN,121=TOK,120=JAZ,126=ANT:0:100:4841:318:11900:0

after recording and replaying name of first track was replaced from "PR1" 
to "pol", but there was no shift - PR2 still was PR2, etc...



At channel:
XtraMusicPop:11278:v:S13.0E:27500:0:611=A 1,612=A 2,613=A 3,614=A 4,615=A 
5,616=A 6,617=A 7,618=A 8,619=A 9,620=A10:0:100:13042:318:400:0


is smillar, but "A " is eaten - so, while replaying, there are avaliable 
tracks: "pol", "2", "3", ..., "A10"


  Boguslaw Juza


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


Re: [vdr] LanguageCode

2006-10-07 Thread Boguslaw Juza

On Sat, 7 Oct 2006, Klaus Schmidinger wrote:


Maybe it would be even better to just replace isalnum() with
isprint(). That would allow all printable characters, plus the
blank.
Can you please try if that works for you?


isprint is a good choice, works well :).

   Boguslaw Juza


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


Re: [vdr] ShortText == Description

2006-10-04 Thread Boguslaw Juza

On Thu, 5 Oct 2006, Boguslaw Juza wrote:


If you moving ShortText to Description, maybe you could generate
small ShortText based on description? For example:
...


Ugh... Few posts ago I sugested to removing these duplicates... :)


From the other way - I want generated shortText in situations, where

description is not displayed - for example in channel info
(cSkinClassicDisplayChannel::SetEvents)


 Boguslaw Juza


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


Re: [vdr] ShortText == Description

2006-10-04 Thread Boguslaw Juza

On Wed, 4 Oct 2006, Klaus Schmidinger wrote:


So I guess it will make sense to make sure an event that is
newly received from the data stream has *all* its data
refreshed from the stream. If there is no short text, for instance,
an already existing short text needs to be deleted etc.


If you moving ShortText to Description, maybe you could generate
small ShortText based on description? For example:

ShortTextLen=strlen(Description); if(ShortTextLen>31)ShortTextLen=31;
for(a=ShortTextLen;a>0;a--)if(Description[a]==' ')break;
if(a>0)ShortTextLen=a;

ShortText=(char *)malloc(ShortTextLen+4);
memcpy(ShortText,Description,ShortTextLen);
strcpy(ShortText+ShortTextLen,"...");


 Boguslaw Juza

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


Re: [vdr] ShortText == Description

2006-10-04 Thread Boguslaw Juza


I have investigated it more carefully:

Broadcaster sends only shortText.

VDR reads the Epg event. At EpgBugFix #6 VDR moves shortText to 
description if description is empty


EPG in this state are saved in epg.data.

After restart VDR reads epg.data. Then scans this event again. Event 
already have description, so it doesn't make BugFix #6 and now we have

shortText and description the same.

Not exacly the same. Becouse "old" descrypion is after BugFix corrections.
So there is no BugFix #7 corection. But at the funcion end we have the 
same texts.


I have commented EpgBugFix #6 and VDR now works correctly.


     Boguslaw Juza

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


Re: [vdr] ShortText == Description

2006-10-04 Thread Boguslaw Juza

On Wed, 4 Oct 2006, Klaus Schmidinger wrote:


The two texts are either exactly the same (in which case one
of them will be deleted) or they are different, in which case
both will be kept.


Well - text - two/three sentences. Diffrence - one of them are cutted
a word earlier. There are not the same for computers, but people
have different opinion. :)


Maybe it would help to contact the broadcaster and ask them
to provide better EPG data?


Do you realy belive that it helps? They will say "Use one of receivers 
recommended by us" :).


   Boguslaw Juza


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


Re: [vdr] ShortText == Description

2006-10-04 Thread Boguslaw Juza

On Wed, 4 Oct 2006, Klaus Schmidinger wrote:


Doesn't the "EPG bugfix #7" already take care of this:
 // Some channels put the same information into ShortText and Description.
 // In that case we delete one of them:
...
Maybe you have disabled the "EPG bugfix level" setup option?


I have "EPG bugfix level" set to 3. The point is - ShortText and 
Description are near the same - one of them is a few characters longer.

Perheaps it would be better to compare only a few first characters?
I have sugested 8 - if both text starts from the same word(s), they
its very probably, its near the same.

Or... 
strncmp(ShortText,Description,


strlen(ShortText)>strlen(Description)?strlen(Description):strlen(ShortText))


   Boguslaw Juza


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


[vdr] ShortText == Description

2006-10-04 Thread Boguslaw Juza

Hi!

There are some channels witch EPG ShortText is the same as Description
(and a few sentences long). So I'm suggesting little change in 
skinclassic.c (and probably in skinsttng.c too):


in cSkinClassicDisplayMenu::SetEvent

-  y += font->Height();
-  if (!isempty(Event->Description())) {
- textScroller.Set(osd, xl, y, x1 - xl - 2 * ScrollWidth, y3 - y,...
- SetScrollbar();
- }


+  if((isempty(Event->ShortText()))||(isempty(Event->Description()))||
+ (strncmp(Event->ShortText(),Event->Description(),8))) {
+y += font->Height();
+if (!isempty(Event->Description())) {
+   textScroller.Set(osd, xl, y, x1 - xl - 2 * ScrollWidth, y3 - y,...
+   SetScrollbar();
+   }
+  }


and the like in cSkinClassicDisplayMenu::SetRecording


   Boguslaw Juza


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


[vdr] empty spaces in channels list

2006-10-03 Thread Boguslaw Juza

Hi!

  I have got big request for Author - It would be nice to make "spaces" in
channels list. I want to set "info channels" from 1 to 8, "movie channels"
form 10 to 15, sport from 20 etc... So I need to make empty spaces
witch ch. numbers 9, 16-19... etc. Switching channels Up/Down  should skip 
spaces.


And second thing - hidden or pin-lock channels. There are some channels,
which i dont want to show to others people (somebody plays with remote).
It would be nice to set its as pin-locked or something...

     Boguslaw Juza



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


[vdr] Bug in audio track replaing

2006-10-03 Thread Boguslaw Juza

Hi!

I have found small bug: When I have record channel witch multiple audio 
track - f.e. tracks witch language codes: A1, A2, A3, A4, and then

I replay it, when I'm choosing audio track, I have to choose:
POL, A1, A2, A3. POL plays A1 track, A1 plays A2 track etc...
PL (polish) is my preffered language in EPG menu, but there was no 
PL-track in this channel.


 Boguslaw Juza

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


[vdr] LanguageCode

2006-10-03 Thread Boguslaw Juza

Hi!

There are channels (mostly audio-only) witch spaces in LanguageCode.
For example:

XtraMusicPop:11278:v:S13.0E:27500:0:611=A 1,612=A 2,613=A 3,614=A 4,615=A 
5,616=A 6,617=A 7,618=A 8,619=A 9,620=A10:0:100:13042:318:400:0


so I ask for little patch in i18n.c:I18nNormalizeLanguageCode:

-  if (Code[0] && !isalnum(Code[0]) || Code[1] && !isalnum(Code[1]) ...
+  if ( (Code[0] && !(isalnum(Code[0]) || Code[0]==' ')) ||
+   (Code[1] && !(isalnum(Code[1]) || Code[1]==' ')) ||
+   (Code[2] && !(isalnum(Code[2]) || Code[2]==' ')) ) {


   Boguslaw Juza


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