Re: [vdr] [Announce] xxv-1.3 - Feature release (1.4 rc)

2009-08-17 Thread Andreas Brachold
Hello Diego,

Am Sonntag, den 16.08.2009, 21:23 +0200 schrieb Diego Pierotto:
> well i just copy the xxv.mo created with Poedit in
> the /usr/local/share/xxv/locale/it/LC_MESSAGES and now i can see the
> right translations.

Thank you very much indeed! Your files are uploaded at our svn
repository.

> Can i ask why i see the module names in english? Is that normal or i
> need to translate the file for the JSON interface 

Module name are (now) not prepared for translations.

> (i saw a file called "lang-de.js" in the file download section but
> it's in german and i can't understand nothing)?

This file only used by skin jason. But, i forgot to create a
translatable template. This template file is now (at svn repository)
present, see :
http://svn.berlios.de/svnroot/repos/xxv/XXV-Skins/trunk/jason/locale/lang-en.js

> I attach here an error i receive when i generate the mo file using
> Poedit. Can you please say me what is related? 
 
I think, the line  "POT-Creation-Date: 2009-08-15 00:07+0100\n" was be
missed.

See http://svn.berlios.de/svnroot/repos/xxv/XXV/trunk/locale/it.po


Kind regards,
Andreas



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


Re: [vdr] [Announce] xxv-1.3 - Feature release (1.4 rc)

2009-08-16 Thread Diego Pierotto




Andreas Brachold ha scritto:

  Hello,


Am Mittwoch, den 12.08.2009, 00:34 +0200 schrieb Diego Pierotto:
  
  
Anyway, after created the mo file i run Xxv but i can't see the
italian rows just translated. I set it_IT.UTF8 in xxvd file and it_IT
in xxv.cfg file without success.

  
  
Please check follow things :

* exits the file (readable)
   "$XXVD/locale/it/LC_MESSAGES/xxv.mo"



* but into etc/init.d/xxvd could define a other directory 	
  see "man $XXVD/doc/xxvd.1"
   --localedir=DIRECTORY



* It used locale installed really 
  (check too proper spelling for environment value)
#> locale -a
C
de_DE
...
de_DE.utf8
deutsch
german
POSIX



* check used "LANG" from "bin/xxvd" process environment variables

#> ps axf | grep xxvd 
SN 0:04 /usr/bin/perl -W ./xxvd --configfile 


#> (cat /proc//environ; echo) | tr "\000" "\n" | grep LANG
LANG=de_DE.utf8






Kind regards,
Andreas


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

  

Hi Andreas,
well i just copy the xxv.mo created with Poedit in the
/usr/local/share/xxv/locale/it/LC_MESSAGES and now i can see the right
translations.

Can i ask why i see the module names in english? Is that normal or i
need to translate the file for the JSON interface (i saw a file called
"lang-de.js" in the file download section but it's in german and i
can't understand nothing)?

Thanks in advance,
Diego

-- 
Member of the Italian VDR Wiki
http://vdr.spaghettilinux.org/




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


Re: [vdr] [Announce] xxv-1.3 - Feature release (1.4 rc)

2009-08-12 Thread Andreas Brachold
Hello,


Am Mittwoch, den 12.08.2009, 00:34 +0200 schrieb Diego Pierotto:
> Anyway, after created the mo file i run Xxv but i can't see the
> italian rows just translated. I set it_IT.UTF8 in xxvd file and it_IT
> in xxv.cfg file without success.

Please check follow things :

* exits the file (readable)
   "$XXVD/locale/it/LC_MESSAGES/xxv.mo"



* but into etc/init.d/xxvd could define a other directory   
  see "man $XXVD/doc/xxvd.1"
   --localedir=DIRECTORY



* It used locale installed really 
  (check too proper spelling for environment value)
#> locale -a
C
de_DE
...
de_DE.utf8
deutsch
german
POSIX



* check used "LANG" from "bin/xxvd" process environment variables

#> ps axf | grep xxvd 
SN 0:04 /usr/bin/perl -W ./xxvd --configfile 


#> (cat /proc//environ; echo) | tr "\000" "\n" | grep LANG
LANG=de_DE.utf8






Kind regards,
Andreas


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


Re: [vdr] [Announce] xxv-1.3 - Feature release (1.4 rc)

2009-08-11 Thread Diego Pierotto




Andreas Brachold ha scritto:

  Hello,

nice to hear,

Am Dienstag, den 14.04.2009, 19:45 +0200 schrieb Diego Pierotto:
  
  
what is necessary to translate this package in italian?

  
  

Frist, please look into /locale/README

I'm attach a patch to prepare our locale build system for italian
translation, apply this to source of xxv, for smart success.


then (

$ cd xxv/locale
$ make all
cp: stat »it.po« missing ...
make: [it.po] Error 1 (ignoriert)
it.po: Warning: »CHARSET« ...


now a new empty it.po should present, which editable.
The warning come from missing details at header of file it.po.
And could ignored at this moment.


To enforce rebuild *.mo files, after editing :

$ cd locale
$ make clean
$ make all


  
  
I took the de_DE.po file and removed every row translated in german
(wow, more than 1000 rows) and renamed the file it_IT.po.

  
  
Thats not necessary, see above of this message.

Thanks, 
Andreas
  
  

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


Hi Andreas,
i downloaded version 1.4, applied the patch you suggested me and
created the italian po file.

Now i'm transalating it but i gotta say it's very long time
necessary :-(

Anyway, after created the mo file i run Xxv but i can't see the italian
rows just translated. I set it_IT.UTF8 in xxvd file and it_IT in
xxv.cfg file without success.

Can you please help me?

TIA,
Diego

-- 
Member of the Italian VDR Wiki
http://vdr.spaghettilinux.org/




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


Re: [vdr] [Announce] xxv-1.3 - Feature release (1.4 rc)

2009-05-06 Thread Joerg Bornkessel

> Hello Joerg, 

> Am Sonntag, den 03.05.2009, 21:13 +0200 schrieb Joerg Bornkessel:
>> My 2 channels on TeleColumbus in Berlin are encrypted on my system.

> Maybe this channels are filtered.

> See inside xxv - Setting > Channels > FilterCA

Ooops, sorry my fault, it works

>> Also, plz can you check the wml part for xxv mobile,

> Please try SVN-Release 1413, i have ported to some changes from modul
> HTTPD to modul WAP.

Thanks, works now on wml
usable ...

> But WML himself is a little bit of outdated. ;-) 
> A native optimized XML-(HTTP)-Skin should better usable on smartphone.

works too, but not optimized

tested with html, blue_flat


Thanks for your work
-- 
Regards
Gentoo Developer
Joerg Bornkessel 


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


Re: [vdr] [Announce] xxv-1.3 - Feature release (1.4 rc)

2009-05-05 Thread Andreas Brachold
Am Dienstag, den 05.05.2009, 11:43 +0200 schrieb Marco Göbenich:
> > Got a problem with the OLDEPG data using two VDR's.
> > While each  reads the EPG from it's channels  it uses some 32 bit
> > integer as eventid, but this eventid is not unique when using more than
> > one VDR, so in my OLDEPG table are double epgeventid's stored.
> > This results in double displayed recordings, one with the right data and
> > one with the wrong data.

The xxv-eventid are merged by channel-id and vdr-eventid, and should be
unique if data(NID-TID-SID) from channel unique ...

What is the biggest eventid from EPG, i think it's could overlapping
with older recordings id.

mysql> SELECT SQL_CACHE  max(eventid) from EPG;



Maybe help the attached patch, it's separating eventid between EPG and
recordings more precisely.

Table OLDEPG should deleted,
#> /etc/init.d/xxvd stop
#> mysql -u root xxv -e "delete from OLDEPG;"
#> /etc/init.d/xxvd start

Andreas
Index: EPG.pm
===
--- EPG.pm	(Revision 1413)
+++ EPG.pm	(Arbeitskopie)
@@ -536,6 +536,7 @@
 
 # Make a fix format 0x : C-Channelid (high-word), E-Eventid(low-word) => real-eventid = uniqueid & 
 my $eventid = (($vid & 0xFF) << 24) | ((($id[-3] + $id[-2] + $id[-1]) & 0x3FFF) << 16) | ($epgid & 0x);
+   $eventid &= 0x6FFF; # Keep 0x7000  free for recording events
 
 return $eventid;
 }
Index: RECORDS.pm
===
--- RECORDS.pm	(Revision 1413)
+++ RECORDS.pm	(Arbeitskopie)
@@ -1680,7 +1680,7 @@
 };
 
 $attr->{eventid} = $self->{dbh}->selectrow_arrayref('SELECT SQL_CACHE  max(eventid)+1 from OLDEPG')->[0];
-$attr->{eventid} = 10 if(not defined $attr->{eventid} or $attr->{eventid} < 10 );
+$attr->{eventid} = 0x7000 if(not defined $attr->{eventid} or $attr->{eventid} < 0x6FFF );
 
 lg sprintf('Create event "%s" into OLDEPG', $subtitle ? $title .'~'. $subtitle : $title);
 
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] [Announce] xxv-1.3 - Feature release (1.4 rc)

2009-05-05 Thread Marco Göbenich
Hi!

One example on that issue:

INSERT INTO `OLDEPG` (`eventid`, `vid`, `title`, `subtitle`,
`description`, `channel_id`, `starttime`, `duration`, `tableid`,
`image`, `version`, `video`, `audio`, `addtime`, `vpstime`) VALUES
(1063954828, 2, 'Kiedy wyjdziesz za maz?', 'Kiedy wyjdziesz za m?a?z?',
'', 'S13.0E-318-11000-4404', '2009-05-03 02:00:00', 7198, 4, '', 25, '1
01 pol 4:3', '2 03 deu stereo', '2009-05-05 11:37:30', NULL),
(1063954828, 1, 'EPL 35-6 2 Tottenham Hotspur - West Bromwich Albion',
NULL, 'åèÓå ÌÏêÏ èåÈÇÔÑ åæ åäÇÙÈ ÇäÏèÑê ÇäååÊÇÒ. áâ× èÍÕÑêÇë Ùäé ÔèÊÇêå
All this season''s Premier League football live and exclusive. Only on
Showtime.', 'S7.0W-2048-3-310', '2009-05-03 02:00:00', 7198, NULL, NULL,
0, '', '03 eng \n03 ara ', '2009-05-05 11:37:30', '1970-01-01 01:00:00');

Regards

Marco


Marco Göbenich schrieb:
> Hi!
>
> Got a problem with the OLDEPG data using two VDR's.
> While each  reads the EPG from it's channels  it uses some 32 bit
> integer as eventid, but this eventid is not unique when using more than
> one VDR, so in my OLDEPG table are double epgeventid's stored.
> This results in double displayed recordings, one with the right data and
> one with the wrong data.
>
> Is there a quickfix for that?
>
> Regards
>
> Marco
>
>
> Andreas Brachold schrieb:
>   
>> Hello,
>>
>> The xxv project team announce this feature release of xxv. 
>> xxv-1.3 is a release candidate of our next major release for XXV the
>> "Xtreme eXtension for VDR",its containing a large number of bug fixes
>> and enhancements and more.
>>
>> Major changes are :
>> --
>>   * Support multiple video disk recorder 
>>   * New module to manage keywords within recordings
>>   * New import module for XML-TV sources and template for scheme
>> based programs.
>>   * and many more
>>
>> Read the full announcement : http://xxv.berlios.de/content/view/43/1/
>>
>> Please note :
>> --
>> Maybe your must check your installed perl modules, because some new
>> external perl modules are needed. After the installation of an update,
>> you should call first always the script contrib/update-xxv.
>>
>> See also our section with installation hints and tips : 
>> http://xxv.berlios.de/content/blogcategory/17/33/
>>
>>
>> Enjoy, 
>> Andreas
>>
>>
>> ___
>> vdr mailing list
>> vdr@linuxtv.org
>> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
>>
>>   
>> 
>
>   

-- 
Needful GbR  Rheinstraße 60a  Telefon +49 (0) 26 24 / 95 29 301
 56203 Hoehr-Grenzhausen  Telefax +49 (0) 26 24 / 95 29 303
 http://www.needful.deE-Mail  m...@needful.de


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


Re: [vdr] [Announce] xxv-1.3 - Feature release (1.4 rc)

2009-05-05 Thread Marco Göbenich
Hi!

Got a problem with the OLDEPG data using two VDR's.
While each  reads the EPG from it's channels  it uses some 32 bit
integer as eventid, but this eventid is not unique when using more than
one VDR, so in my OLDEPG table are double epgeventid's stored.
This results in double displayed recordings, one with the right data and
one with the wrong data.

Is there a quickfix for that?

Regards

Marco


Andreas Brachold schrieb:
> Hello,
>
> The xxv project team announce this feature release of xxv. 
> xxv-1.3 is a release candidate of our next major release for XXV the
> "Xtreme eXtension for VDR",its containing a large number of bug fixes
> and enhancements and more.
>
> Major changes are :
> --
>   * Support multiple video disk recorder 
>   * New module to manage keywords within recordings
>   * New import module for XML-TV sources and template for scheme
> based programs.
>   * and many more
>
> Read the full announcement : http://xxv.berlios.de/content/view/43/1/
>
> Please note :
> --
> Maybe your must check your installed perl modules, because some new
> external perl modules are needed. After the installation of an update,
> you should call first always the script contrib/update-xxv.
>
> See also our section with installation hints and tips : 
> http://xxv.berlios.de/content/blogcategory/17/33/
>
>
> Enjoy, 
> Andreas
>
>
> ___
> vdr mailing list
> vdr@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
>
>   

-- 
Needful GbR  Rheinstraße 60a  Telefon +49 (0) 26 24 / 95 29 301
 56203 Hoehr-Grenzhausen  Telefax +49 (0) 26 24 / 95 29 303
 http://www.needful.deE-Mail  m...@needful.de


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


Re: [vdr] [Announce] xxv-1.3 - Feature release (1.4 rc)

2009-05-04 Thread Andreas Brachold
Hello Joerg, 

Am Sonntag, den 03.05.2009, 21:13 +0200 schrieb Joerg Bornkessel:
> My 2 channels on TeleColumbus in Berlin are encrypted on my system.

Maybe this channels are filtered.

See inside xxv - Setting > Channels > FilterCA

> Also, plz can you check the wml part for xxv mobile,

Please try SVN-Release 1413, i have ported to some changes from modul
HTTPD to modul WAP. 

But WML himself is a little bit of outdated. ;-) 
A native optimized XML-(HTTP)-Skin should better usable on smartphone.

Andreas



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


Re: [vdr] [Announce] xxv-1.3 - Feature release (1.4 rc)

2009-05-03 Thread Joerg Bornkessel

> Hello,

> The xxv project team announce this feature release of xxv. 
> xxv-1.3 is a release candidate of our next major release for XXV the
> "Xtreme eXtension for VDR",its containing a large number of bug fixes
> and enhancements and more.

Andreas,

xxv-1.3.1

i can not find the channel or epg data for HD channels.
It works on vdr osd.
Mysql DB is empty in this 2 parts.

:HD-Channel
PREMIERE HD,PREM 
HD;PREMIERE:346000:C0M256:C:6900:767:0;771=deu,772=eng:32:1837,1833,1834,9C4:129:133:6:0
DISCOVERY HD,DISC 
HD;PREMIERE:346000:C0M256:C:6900:1023:0;1027=deu:32:1837,1833,1834,9C4:130:133:6:0

My 2 channels on TeleColumbus in Berlin are encrypted on my system.

Also, plz can you check the wml part for xxv mobile,

Test with desctop Browser Opera an on my HTC Wizard ppc ( WM 6.1
with IE mobile )

Desctop Browser: start site works,
behind the 4 links, i see only this:

ad  adelete AUTOTIMER   Löschen eines Autotimer 'aid'
ae  aedit   AUTOTIMER   Editieren eines Autotimer 'aid'
al  alist   AUTOTIMER   Zeige Autotimer 'aid'
an  anewAUTOTIMER   Neuer Autotimer
ase asearch AUTOTIMER   Suche nach Autotimer mit Text 'aid'
at  atoggle AUTOTIMER   Umschalten der Autotimer zwischen Ein und Aus 
'aid'
au  aupdate AUTOTIMER   Autotimersuche durchführen
cdl cdelete CHANNELSLöscht einen oder mehrere Kanäle 'pos'
...
...

On HTC Wizard:
start site is loading,
behind the 4 links, browser stop with an error the load ( dont
remember jet for details )


-- 
Regards
Gentoo Developer
Joerg Bornkessel 


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


Re: [vdr] [Announce] xxv-1.3 - Feature release (1.4 rc)

2009-04-26 Thread Andrey Kuzmin
Thanks! I've changed 10 to 40 to fix my issue

> new WebFXTreeItem("",
>   "?cmd=program&data="));




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


Re: [vdr] [Announce] xxv-1.3 - Feature release (1.4 rc)

2009-04-22 Thread Andreas Brachold
Hello,

Am Dienstag, den 21.04.2009, 19:35 +0300 schrieb Andrey Kuzmin:
> Channel  name  is  truncated  in  tree,

I see your channel name are complete truncated.
I haven't any idea why this on your installation happens. Yes, longer
text-strings are truncated, e.g. from xxv-template file html/help.tmpl
like follow line :


programgroup.add( 
new WebFXTreeItem("",   
  "?cmd=program&data="));

This functions are callback into perl lib/XXV/OUTPUT/Html.pm

   # Escape strings for javascript
escape => sub{ 
  my $s = shift; # string
  $s =~ s/\r//g;
  $s =~ s/\n//g;
  $s =~ s/"/\\"/g;
  $s =~ s/\'/\\\'/g;
  return $s;
},

# truncate string with entities
chop => sub{
my $s = shift; # string
my $c = shift; # count
my $l = shift || 0; # lines
...



I hope this help a little bit,
Andreas

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


Re: [vdr] [Announce] xxv-1.3 - Feature release (1.4 rc)

2009-04-21 Thread Andrey Kuzmin
> This happens if you run vdr with --vfat then VDR cuts the recording name.

Please check another screen shot http://binitex.com/jet/20090421-28m-192kb.jpg

This  is  the  same  channel.  Channel  name  is  truncated  in  tree,
recordings are in different place.



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


Re: [vdr] [Announce] xxv-1.3 - Feature release (1.4 rc)

2009-04-21 Thread Marco Göbenich
Hi!

This happens if you run vdr with --vfat then VDR cuts the recording name.

Regards

Marco


Andrey Kuzmin schrieb:
> There is still one issue for me: http://binitex.com/jet/20090420-i7x-194kb.jpg
>
> It seems that long names are truncated. The problem is that even short
> names  in  Russian  are  truncated,  may  be  because  every  cyrillic
> character is 2 bytes length in utf8.
>
> Could  you  point please to the line in code where truncation occurs, I'll
> try to adjust the length.
>
>
>
>
> ___
> vdr mailing list
> vdr@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
>
>   

-- 
Needful GbR  Rheinstraße 60a  Telefon +49 (0) 26 24 / 95 29 301
 56203 Hoehr-Grenzhausen  Telefax +49 (0) 26 24 / 95 29 303
 http://www.needful.deE-Mail  m...@needful.de


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


Re: [vdr] [Announce] xxv-1.3 - Feature release (1.4 rc)

2009-04-20 Thread Andrey Kuzmin
There is still one issue for me: http://binitex.com/jet/20090420-i7x-194kb.jpg

It seems that long names are truncated. The problem is that even short
names  in  Russian  are  truncated,  may  be  because  every  cyrillic
character is 2 bytes length in utf8.

Could  you  point please to the line in code where truncation occurs, I'll
try to adjust the length.




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


Re: [vdr] [Announce] xxv-1.3 - Feature release (1.4 rc)

2009-04-19 Thread Andrey Kuzmin
Please  add  to  readme or anywhere that mysql DB should be created as
UTF8, --utf8 option is not enough to enable utf support for XXV, and this
is non obvious for non experienced users.

In any case, thanks that XXV finally supports utf8!


> Read the full announcement : http://xxv.berlios.de/content/view/43/1/




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


Re: [vdr] [Announce] xxv-1.3 - Feature release (1.4 rc)

2009-04-17 Thread Andreas Brachold
Hello Jörg,

Am Donnerstag, den 16.04.2009, 02:18 +0200 schrieb Joerg Bornkessel:
> what about the useless, not working, feature "Medienliste"?

The core of "media list" (list,add by hand or delete media) work for me.

Only the  "import data from website X" are not functional, 
because a redesign of the html-parser is helpful. The page-query itself
still working. 
A other idea where a rewrite to amazon api (volunteers ?)

For my person, i don't need a media list for my fist full of DVD.



But maybe a other user need a media list...


Andreas

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


Re: [vdr] [Announce] xxv-1.3 - Feature release (1.4 rc)

2009-04-15 Thread Joerg Bornkessel

> Hello,

> The xxv project team announce this feature release of xxv. 
> xxv-1.3 is a release candidate of our next major release for XXV the
> "Xtreme eXtension for VDR",its containing a large number of bug fixes
> and enhancements and more.

> Major changes are :
> --
>   * Support multiple video disk recorder 
>   * New module to manage keywords within recordings
>   * New import module for XML-TV sources and template for scheme
> based programs.
>   * and many more

Hello Andreas,

what about the useless, not working, feature "Medienliste"?

Will this removed or fixed before the final xxv-1.4 will be
released?
I am tryed to contact Poetter, but didn't get any reply from him :(


Cheers

Joerg

-- 
Regards
Gentoo Developer
Joerg Bornkessel 


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


Re: [vdr] [Announce] xxv-1.3 - Feature release (1.4 rc)

2009-04-14 Thread Andreas Brachold
Hello,

Am Dienstag, den 14.04.2009, 20:56 +0200 schrieb Marco Göbenich:
> I saw this behavior too, seems that xxv does not like empty recordings 
> (dirs).


You are right, i fixed that with this patch. 
(apply inside directory lib/XXV/MODULES )


Andreas

--- RECORDS.pm.bak
+++ RECORDS.pm
@@ -918,7 +918,11 @@
 } else {
   $self->{CapacityFree} = int($totalFree * 3600 / 2000); # use 2GB at one hour as base
 }
-$self->{CapacityPercent}  = ($totalSpace * 100 / ($totalFree + $totalSpace));
+if(($totalFree + $totalSpace) > 1) {
+  $self->{CapacityPercent}  = ($totalSpace * 100 / ($totalFree + $totalSpace));
+} else {
+  $self->{CapacityPercent}  = 0;
+}
 
 
 
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] [Announce] xxv-1.3 - Feature release (1.4 rc)

2009-04-14 Thread Andreas Brachold
Hi,

Am Dienstag, den 14.04.2009, 19:32 +0200 schrieb Oliver Bardenheier:
> I cannot get it running, something seems screwed up with my environment:
> 

There are some "perl module dependency" not solved automatic by
cpan-installer oder package-installer. 

Maybe help :

perl -MCPAN -e 'install Encode::Detect'
perl -MCPAN -e 'install Net::DNS'
perl -MCPAN -e 'install IO::Socket::INET6'

or via package-installer. e.g.
apt-get install libnet-dns-perl libio-socket-inet6-perl


> 7 (501) [2009-04-14 19:29:14] SVDRP: DBD::mysql::st execute failed: Unknown
> column 'videodirectory' in 'field list' at
> /usr/src/XXV/bin/../lib/XXV/MODULES/SVDRP.pm line 531.
> 8 (501) [2009-04-14 19:29:14] RECORDS: Video disk recorder '1' does not
> exist in the database!
> 9 (501) [2009-04-14 19:29:14] RECORDS: Missing video directory on localhost!
> 10 (501) [2009-04-14 19:29:14] SVDRP: DBD::mysql::st execute failed: Unknown
> column 'videodirectory' in 'group statement' at



Maybe your database scheme is outdated ?
Do you have call update-xxv to migrate database ?

See http://xxv.berlios.de/content/view/22/40/


Cu,
Andreas

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


Re: [vdr] [Announce] xxv-1.3 - Feature release (1.4 rc)

2009-04-14 Thread Marco Göbenich
Hi!

I saw this behavior too, seems that xxv does not like empty recordings 
(dirs).

Regards

Marco


Oliver Bardenheier schrieb:
> I cannot get it running, something seems screwed up with my environment:
>
>
> 1 (550) [2009-04-14 19:29:12] Info: Can't locate Encode/Detect/Detector.pm
> in @INC (@INC contains: /usr/src/XXV/bin/../lib /usr/src/XXV/bin
> /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0
> /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi
> /usr/lib/perl5/site_perl/5.10.0
> /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at
> /usr/lib/perl5/site_perl/5.10.0/MP3/Info.pm line 187.
> 2 (501) [2009-04-14 19:29:12] Carp: DBI
> connect('database=GiantDisc;host=localhost;port=3306','xxv',...) failed:
> Access denied for user 'xxv'@'localhost' to database 'GiantDisc' at
> /usr/src/XXV/bin/../lib/XXV/MODULES/MUSIC.pm line 1205
> 3 (501) [2009-04-14 19:29:12] MUSIC: Access denied for user
> 'xxv'@'localhost' to database 'GiantDisc'
> 4 (550) [2009-04-14 19:29:12] Base: Can't locate IO/Socket/INET6.pm in @INC
> (@INC contains: /usr/src/XXV/bin/../lib /usr/src/XXV/bin
> /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0
> /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi
> /usr/lib/perl5/site_perl/5.10.0
> /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at
> /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/Net/DNS/Resolver
> /Base.pm line 61.
> 5 (270) [2009-04-14 19:29:13] CHANNELS: Call command "lstc :groups" on
> localhost successful.
> 6 (270) [2009-04-14 19:29:14] TIMERS: Call command "lstt" on localhost
> successful.
> 7 (501) [2009-04-14 19:29:14] SVDRP: DBD::mysql::st execute failed: Unknown
> column 'videodirectory' in 'field list' at
> /usr/src/XXV/bin/../lib/XXV/MODULES/SVDRP.pm line 531.
> 8 (501) [2009-04-14 19:29:14] RECORDS: Video disk recorder '1' does not
> exist in the database!
> 9 (501) [2009-04-14 19:29:14] RECORDS: Missing video directory on localhost!
> 10 (501) [2009-04-14 19:29:14] SVDRP: DBD::mysql::st execute failed: Unknown
> column 'videodirectory' in 'group statement' at
> /usr/src/XXV/bin/../lib/XXV/MODULES/SVDRP.pm line 510.
> 11 (501) [2009-04-14 19:29:14] RECORDS: Couldn't execute query: Unknown
> column 'videodirectory' in 'group statement'.
> 12 (550) [2009-04-14 19:29:14] RECORDS: Illegal division by zero at
> /usr/src/XXV/bin/../lib/XXV/MODULES/RECORDS.pm line 921.
>
>
>
>
>
> -Ursprüngliche Nachricht-
> Von: vdr-boun...@linuxtv.org [mailto:vdr-boun...@linuxtv.org] Im Auftrag von
> Andreas Brachold
> Gesendet: Montag, 13. April 2009 16:59
> An: vdr@linuxtv.org
> Betreff: [vdr] [Announce] xxv-1.3 - Feature release (1.4 rc)
>
> Hello,
>
> The xxv project team announce this feature release of xxv. 
> xxv-1.3 is a release candidate of our next major release for XXV the
> "Xtreme eXtension for VDR",its containing a large number of bug fixes
> and enhancements and more.
>
> Major changes are :
> --
>   * Support multiple video disk recorder 
>   * New module to manage keywords within recordings
>   * New import module for XML-TV sources and template for scheme
> based programs.
>   * and many more
>
> Read the full announcement : http://xxv.berlios.de/content/view/43/1/
>
> Please note :
> --
> Maybe your must check your installed perl modules, because some new
> external perl modules are needed. After the installation of an update,
> you should call first always the script contrib/update-xxv.
>
> See also our section with installation hints and tips : 
> http://xxv.berlios.de/content/blogcategory/17/33/
>
>
> Enjoy, 
> Andreas
>
>
> ___
> 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
>
>   


-- 
Needful GbR  Rheinstraße 60a  Telefon +49 (0) 26 24 / 95 29 301
 56203 Hoehr-Grenzhausen  Telefax +49 (0) 26 24 / 95 29 303
 http://www.needful.deE-Mail  m...@needful.de


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


Re: [vdr] [Announce] xxv-1.3 - Feature release (1.4 rc)

2009-04-14 Thread Andreas Brachold
Hello,

nice to hear,

Am Dienstag, den 14.04.2009, 19:45 +0200 schrieb Diego Pierotto:
> what is necessary to translate this package in italian?


Frist, please look into /locale/README

I'm attach a patch to prepare our locale build system for italian
translation, apply this to source of xxv, for smart success.


then (

$ cd xxv/locale
$ make all
cp: stat »it.po« missing ...
make: [it.po] Error 1 (ignoriert)
it.po: Warning: »CHARSET« ...


now a new empty it.po should present, which editable.
The warning come from missing details at header of file it.po.
And could ignored at this moment.


To enforce rebuild *.mo files, after editing :

$ cd locale
$ make clean
$ make all


> I took the de_DE.po file and removed every row translated in german
> (wow, more than 1000 rows) and renamed the file it_IT.po.

Thats not necessary, see above of this message.

Thanks, 
Andreas
--- locale/Makefile.bak
+++ locale/Makefile
@@ -4,14 +4,14 @@
 # $Id$
 
 ### Targets:
-PREPARE = de.po \
+PREPARE = de.po it.po \
 #  fr.po \
-#  it.po ne.po po.po \
+#  ne.po po.po \
 #  su.po es.po
 
-TRANSLATION = de.mo \
+TRANSLATION = de.mo it.mo \
 #  fr.mo \
-#  it.mo ne.mo po.mo \
+#  ne.mo po.mo \
 #  su.mo es.mo
 
 MODULES = ../lib/XXV/MODULES/AUTOTIMER.pm \
--- bin/xxvd.bak
+++ bin/xxvd
@@ -672,6 +672,7 @@
 choices => [
 [gettext('English'), 'C'], # C Stand for nativ gettext language, and means en_US
 [gettext('German'),  'de_DE'],
+[gettext('Italian'), 'it_IT'],
 ],
 default => 'C',
 },
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] [Announce] xxv-1.3 - Feature release (1.4 rc)

2009-04-14 Thread Diego Pierotto
Andreas Brachold ha scritto:
> Hello,
>
> The xxv project team announce this feature release of xxv. 
> xxv-1.3 is a release candidate of our next major release for XXV the
> "Xtreme eXtension for VDR",its containing a large number of bug fixes
> and enhancements and more.
>
> Major changes are :
> --
>   * Support multiple video disk recorder 
>   * New module to manage keywords within recordings
>   * New import module for XML-TV sources and template for scheme
> based programs.
>   * and many more
>
> Read the full announcement : http://xxv.berlios.de/content/view/43/1/
>
> Please note :
> --
> Maybe your must check your installed perl modules, because some new
> external perl modules are needed. After the installation of an update,
> you should call first always the script contrib/update-xxv.
>
> See also our section with installation hints and tips : 
> http://xxv.berlios.de/content/blogcategory/17/33/
>
>
> Enjoy, 
> Andreas
>
>
> ___
> vdr mailing list
> vdr@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
>
>   
Hi Andreas,
what is necessary to translate this package in italian?

I took the de_DE.po file and removed every row translated in german
(wow, more than 1000 rows) and renamed the file it_IT.po.

Is it sufficient or i need to create the mo file too? I could create it
during saving with Poedit, or not?

Thanks for your help.

-- 
Member of the Italian VDR Wiki
http://vdr.spaghettilinux.org/


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


Re: [vdr] [Announce] xxv-1.3 - Feature release (1.4 rc)

2009-04-14 Thread Oliver Bardenheier
I cannot get it running, something seems screwed up with my environment:


1 (550) [2009-04-14 19:29:12] Info: Can't locate Encode/Detect/Detector.pm
in @INC (@INC contains: /usr/src/XXV/bin/../lib /usr/src/XXV/bin
/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0
/usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi
/usr/lib/perl5/site_perl/5.10.0
/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at
/usr/lib/perl5/site_perl/5.10.0/MP3/Info.pm line 187.
2 (501) [2009-04-14 19:29:12] Carp: DBI
connect('database=GiantDisc;host=localhost;port=3306','xxv',...) failed:
Access denied for user 'xxv'@'localhost' to database 'GiantDisc' at
/usr/src/XXV/bin/../lib/XXV/MODULES/MUSIC.pm line 1205
3 (501) [2009-04-14 19:29:12] MUSIC: Access denied for user
'xxv'@'localhost' to database 'GiantDisc'
4 (550) [2009-04-14 19:29:12] Base: Can't locate IO/Socket/INET6.pm in @INC
(@INC contains: /usr/src/XXV/bin/../lib /usr/src/XXV/bin
/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0
/usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi
/usr/lib/perl5/site_perl/5.10.0
/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at
/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/Net/DNS/Resolver
/Base.pm line 61.
5 (270) [2009-04-14 19:29:13] CHANNELS: Call command "lstc :groups" on
localhost successful.
6 (270) [2009-04-14 19:29:14] TIMERS: Call command "lstt" on localhost
successful.
7 (501) [2009-04-14 19:29:14] SVDRP: DBD::mysql::st execute failed: Unknown
column 'videodirectory' in 'field list' at
/usr/src/XXV/bin/../lib/XXV/MODULES/SVDRP.pm line 531.
8 (501) [2009-04-14 19:29:14] RECORDS: Video disk recorder '1' does not
exist in the database!
9 (501) [2009-04-14 19:29:14] RECORDS: Missing video directory on localhost!
10 (501) [2009-04-14 19:29:14] SVDRP: DBD::mysql::st execute failed: Unknown
column 'videodirectory' in 'group statement' at
/usr/src/XXV/bin/../lib/XXV/MODULES/SVDRP.pm line 510.
11 (501) [2009-04-14 19:29:14] RECORDS: Couldn't execute query: Unknown
column 'videodirectory' in 'group statement'.
12 (550) [2009-04-14 19:29:14] RECORDS: Illegal division by zero at
/usr/src/XXV/bin/../lib/XXV/MODULES/RECORDS.pm line 921.





-Ursprüngliche Nachricht-----
Von: vdr-boun...@linuxtv.org [mailto:vdr-boun...@linuxtv.org] Im Auftrag von
Andreas Brachold
Gesendet: Montag, 13. April 2009 16:59
An: vdr@linuxtv.org
Betreff: [vdr] [Announce] xxv-1.3 - Feature release (1.4 rc)

Hello,

The xxv project team announce this feature release of xxv. 
xxv-1.3 is a release candidate of our next major release for XXV the
"Xtreme eXtension for VDR",its containing a large number of bug fixes
and enhancements and more.

Major changes are :
--
  * Support multiple video disk recorder 
  * New module to manage keywords within recordings
  * New import module for XML-TV sources and template for scheme
based programs.
  * and many more

Read the full announcement : http://xxv.berlios.de/content/view/43/1/

Please note :
--
Maybe your must check your installed perl modules, because some new
external perl modules are needed. After the installation of an update,
you should call first always the script contrib/update-xxv.

See also our section with installation hints and tips : 
http://xxv.berlios.de/content/blogcategory/17/33/


Enjoy, 
Andreas


___
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


[vdr] [Announce] xxv-1.3 - Feature release (1.4 rc)

2009-04-13 Thread Andreas Brachold
Hello,

The xxv project team announce this feature release of xxv. 
xxv-1.3 is a release candidate of our next major release for XXV the
"Xtreme eXtension for VDR",its containing a large number of bug fixes
and enhancements and more.

Major changes are :
--
  * Support multiple video disk recorder 
  * New module to manage keywords within recordings
  * New import module for XML-TV sources and template for scheme
based programs.
  * and many more

Read the full announcement : http://xxv.berlios.de/content/view/43/1/

Please note :
--
Maybe your must check your installed perl modules, because some new
external perl modules are needed. After the installation of an update,
you should call first always the script contrib/update-xxv.

See also our section with installation hints and tips : 
http://xxv.berlios.de/content/blogcategory/17/33/


Enjoy, 
Andreas


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