Re: [vdr] dvd plugin - WAF

2007-07-30 Thread Ondrej Wisniewski
You let your wife operate your VDR ?

;-)

Torgeir Veimo wrote:
> The DVD plugin works reasonably well on a technical level, but my gf has 
> a hard time operating it at times; it's hard to remember which keys are 
> which when you only use it once in a while.
> 
> Why is it not possible to use the normal cursor keys on the remote for 
> the same functions in DVD playback mode, instead of using the numerical 
> keys?
> 

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


Re: [vdr] dvb-s h264 channels with standard de finition

2007-07-30 Thread Igor
> The next vdr-xine release will support it. You may want to try the
> attached patch for VDR-1.5.x, which prepares cRemux for H.264 (most
> likely one of the next VDR releases will contain this patch). After that
> you should be able to record such channels. Be aware that channels.conf
> may nolonger be compatible with non patched VDR versions.

but I'm using VDR (ArVDR) with FF card (Technotrend Premium 2300) and MPlayer.
Is there any decision for my VDR's variant ?

Igor


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


Re: [vdr] dvb-s h264 channels with standard definition

2007-07-30 Thread Steffen Barszus
Igor schrieb:

>>The next vdr-xine release will support it. You may want to try the
>>attached patch for VDR-1.5.x, which prepares cRemux for H.264 (most
>>likely one of the next VDR releases will contain this patch). After that
>>you should be able to record such channels. Be aware that channels.conf
>>may nolonger be compatible with non patched VDR versions.
>>
>>
>
>but I'm using VDR (ArVDR) with FF card (Technotrend Premium 2300) and MPlayer.
>Is there any decision for my VDR's variant ?
>
>Igor
>  
>
FF card can not play H.264 . So what would be the use ?



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


Re: [vdr] Announce LoadEPG 0.1.11

2007-07-30 Thread lukkinosat
--- Luca Olivetti <[EMAIL PROTECTED]> ha scritto:
> I made a crude hack: I assume that the epg is in
> ISO-8859-15, so if 
> SystemCharacterTable is different than iso-8859-15,
> I call iconv to 
> convert the file in cLoadepgOsd::SaveEpg, just
> before the LoadFile label:
[CUT]

Hi

The epg is ISO-8859-15. I must still try with vdr
version 1.5.x.
As soon as I can I make you to know :-)

Do you speak italian? 

Hello, Luca



  ___ 
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: 
http://it.docs.yahoo.com/nowyoucan.html

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


Re: [vdr] Announce LoadEPG 0.1.11

2007-07-30 Thread Luca Olivetti
En/na lukkinosat ha escrit:
> --- Luca Olivetti <[EMAIL PROTECTED]> ha scritto:
>> I made a crude hack: I assume that the epg is in
>> ISO-8859-15, so if 
>> SystemCharacterTable is different than iso-8859-15,
>> I call iconv to 
>> convert the file in cLoadepgOsd::SaveEpg, just
>> before the LoadFile label:
> [CUT]
> 
> Hi
> 
> The epg is ISO-8859-15. I must still try with vdr
> version 1.5.x.

Well, with the previous patch, the iconv hack and using 
cDevice::PrimaryDevice() to tune to the epg channel, everything is 
working fine here.
For a more general solution I suppose I'll have to do the same I did in 
my actuator plugin (use cDevice::PrimaryDevice() only if the selected 
device is ActualDevice and provides the needed channel).
I'll look into it and post a revised patch.

> As soon as I can I make you to know :-)
> 
> Do you speak italian? 

Yes, I do

Bye
-- 
Luca


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


Re: [vdr] Announce LoadEPG 0.1.11

2007-07-30 Thread Luca Olivetti

En/na Luca Olivetti ha escrit:

En/na lukkinosat ha escrit:

--- Luca Olivetti <[EMAIL PROTECTED]> ha scritto:

I made a crude hack: I assume that the epg is in
ISO-8859-15, so if 
SystemCharacterTable is different than iso-8859-15,
I call iconv to 
convert the file in cLoadepgOsd::SaveEpg, just

before the LoadFile label:

[CUT]

Hi

The epg is ISO-8859-15. I must still try with vdr
version 1.5.x.


Well, with the previous patch, the iconv hack and using 
cDevice::PrimaryDevice() to tune to the epg channel, everything is 
working fine here.
For a more general solution I suppose I'll have to do the same I did in 
my actuator plugin (use cDevice::PrimaryDevice() only if the selected 
device is ActualDevice and provides the needed channel).

I'll look into it and post a revised patch.


Here it is. It should work for 1.4.x as well as for 1.5.x (but I only 
tested it with 1.5.6 and a single dvb card, so YMMV).


Bye
--
Luca

Només a loadepg-0.1.11: .dependencies
diff --unified --recursive --exclude '*.o' --exclude '*.so' loadepg-0.1.11.orig/loadepg.c loadepg-0.1.11/loadepg.c
--- loadepg-0.1.11.orig/loadepg.c	2007-07-26 18:32:05.0 +0200
+++ loadepg-0.1.11/loadepg.c	2007-07-30 14:54:09.468527000 +0200
@@ -936,6 +936,10 @@
 Timeout = 0;
 LoadepgConfig.OldUpdateChannels = Setup.UpdateChannels;
 Setup.UpdateChannels = 0;
+EpgDevice=NULL;  
+for (int i=0; iCardIndex()==LoadepgConfig.DeviceNumber -1) 
+EpgDevice=cDevice::GetDevice(i);
 }
 
 cLoadepgOsd::~cLoadepgOsd( void )
@@ -947,7 +951,7 @@
 Setup.UpdateChannels = LoadepgConfig.OldUpdateChannels;
 if( Filter )
 {
-cDevice::GetDevice( LoadepgConfig.DeviceNumber - 1 )->Detach( Filter );
+EpgDevice->Detach( Filter );
 	delete Filter;
 }
 if( Osd )
@@ -967,7 +971,7 @@
 if( SwitchToEpgChannel() )
 	{
 	Filter = new cLoadepgFilter();
-	cDevice::GetDevice( LoadepgConfig.DeviceNumber - 1 )->AttachFilter( Filter );
+	EpgDevice->AttachFilter( Filter );
 	}
 	else
 	{
@@ -1009,6 +1013,7 @@
 
 void cLoadepgOsd::Show( void )
 {
+if ( EpgDevice == NULL) return;
 Osd = cOsdProvider::NewOsd( 160, 88 );
 if( Osd )
 {
@@ -1026,7 +1031,8 @@
 
 bool cLoadepgOsd::SaveOldChannel( void )
 {
-OldChannel = Channels.GetByNumber( cDevice::GetDevice( LoadepgConfig.DeviceNumber - 1 )->CurrentChannel() );
+if (EpgDevice == NULL) return false;
+OldChannel = Channels.GetByNumber( EpgDevice->CurrentChannel() );
 if( OldChannel )
 {
 return true;
@@ -1038,7 +1044,8 @@
 {
 if( OldChannel )
 {
- cDevice::GetDevice( LoadepgConfig.DeviceNumber - 1 )->SwitchChannel( OldChannel, true );
+ if (UsingPrimaryDevice) cDevice::PrimaryDevice()->SwitchChannel( OldChannel, true);
+ else EpgDevice->SwitchChannel( OldChannel, false );
 }
 }
 
@@ -1055,9 +1062,19 @@
 *EpgChannel = *OldChannel;
 	sscanf( EpgProviderValue1[MenuItem], "%[^:]:%[^:]:%[^:]:%[^:]:%[^:]", ProviderName, Frequency, Polarization, SourceName, SymbolRate );
 	EpgChannel->cChannel::SetSatTransponderData( cSource::FromString( SourceName ), atoi( Frequency ), Polarization[0], atoi( SymbolRate ), FEC_AUTO );
-	cDevice::GetDevice( LoadepgConfig.DeviceNumber - 1 )->SwitchChannel( EpgChannel, true );
+	if (EpgDevice==cDevice::ActualDevice() && cDevice::GetDevice(EpgChannel,0
+	  #if APIVERSNUM >= 10500  
+  ,true
+  #endif  
+  ) == EpgDevice) {
+  cDevice::PrimaryDevice()->SwitchChannel( EpgChannel, true );
+  UsingPrimaryDevice = true;
+} else {
+  EpgDevice->SwitchChannel( EpgChannel, false );
+  UsingPrimaryDevice = false;
+}
 	usleep( 200 );
-	if( cDevice::GetDevice( LoadepgConfig.DeviceNumber - 1 )->HasLock() )
+	if( EpgDevice->HasLock() )
 	{
 	return true;
 	}
@@ -1071,6 +1088,10 @@
 
 eOSState cLoadepgOsd::ProcessKey( eKeys Key )
 {
+if (EpgDevice == NULL ) {
+  Skins.Message(mtError,tr("Card not available"));
+  return osEnd;
+}
 eOSState state = cOsdObject::ProcessKey( Key );
 StatusKey = 0;
 if( state == osUnknown )
@@ -1259,6 +1280,18 @@
 	BeginProgramId = BeginProgramId + ListEpgPrograms[ChannelId+1];
 	}
 fclose( File );
+#if APIVERSNUM >= 10500  
+const char *syschar=cCharSetConv::SystemCharacterTable();
+if (syschar==NULL || !strcasestr(syschar, "ISO-8859-15")) {
+char *cmd;
+asprintf(&cmd, "iconv -f ISO-8859-15 -t %s -o \"%s.converted\" \"%s\"", syschar ? syschar : "UTF-8",FileName,FileName);
+SystemExec(cmd);
+free(cmd);
+asprintf(&cmd, "mv \"%s.converted\" \"%s\"", FileName,FileName); 
+SystemExec(cmd);
+free(cmd);
+}
+#endif 
 }
 LoadFile:;
 if( ( File = fopen( FileName, "r" ) ) != NULL )
@@ -1357,7 +1390,7 @@

Re: [vdr] dvb-s h264 channels with standard de finition

2007-07-30 Thread Igor
> >but I'm using VDR (ArVDR) with FF card (Technotrend Premium 2300) and 
> >MPlayer.
> >Is there any decision for my VDR's variant ?
> >
> >Igor
> >  
> >
> FF card can not play H.264 . So what would be the use ?


I can play H.264 *.ts/mpeg files with standard definition (720x576) on my VDR 
by MPlayer 

Igor 

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


Re: [vdr] dvb-s h264 channels with standard definition

2007-07-30 Thread Torgeir Veimo
FYI; Norway starts country wide SD transmission in h.264 pretty soon
now. There will prob take some time until someone comes online asking
for support though, as they have been so stupid as to require CAM
equipment for all channels.

-- 
-Tor


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


[vdr] Building debain plugin packages

2007-07-30 Thread Rainer Zocholl
Hello

Tobias made real help pages at e-tobi.net.
Thanks a lot. Really very helpful!


Now i am trying to make my next VDR using "debian packaging".
I can't use precompiled vdr because i need the "lnbsharing patch".
But when i apply that patch, all binary plugins are rejected.
That's OK.

Building vdr it self works so far, but.

But:
How should a compile all these tons of plugins?

Is there somewhere a list (like patches) or script or have i to download 
each plugin, complie it, install it and than do the next
as shown in the script?

Is that the intended way to go?



Any hints?

The script 
debian/vdraptrefresh
seems to be something but it ia actually not...



Currenty i use these steps to "make" a debian package 
according to
http://www.e-tobi.net/blog/articles/2004/09/21/das-vdr-quelltextpaket



vdr:~# cd /usr/src/vdr
vdr:/usr/src/vdr# cat ../vdrgetsources
#!/bin/sh


# last version.
VER=1.4.7

# make sure paths exists.
mkdir --parents /usr/src/vdr
mkdir --parents /usr/src/vdr-plugin-mp3



# remove all old files
cd /usr/src/vdr
rm ver_$VDR*.dsc

# get new files
apt-get source vdr
apt-get build-dep vdr

# get vdr-plugin (???<---)
cd /usr/src/vdr-plugin-mp3
apt-get source vdr-plugin-mp3
apt-get build-dep vdr-plugin-mp3


# Expand packages
cd /usr/src/vdr
for i in $(ls -1 vdr_$VER*dsc)
do
 dpkg-source -x $i
done


# compile vdr
cd /usr/src/vdr/vdr-$VER

#check and display new patches if any.
diff -Nau ../../00list.ref ./debian/patches/00list > ../../00list.new
cat ../../00list.new

#generate patch list patch with my patch selection
diff -Nau ../../00list.ref  ../../00list > ../../00list.diff
cat ../../00list.diff | patch  ./debian/patches/00list


#exit
dpkg-buildpackage -tc

# show rejected files if patches failed
find .  -name "*.rej"


# store the package data in the local repository
cd /usr/src/vdr
mkdir --parents /var/lib/vdr-repository
rsync -p *.deb /var/lib/vdr-repository/


# bind the package
cd /var/lib/vdr-repository/
echo " Archive: stable
Component: main
Origin: Meins!
Label: Mein persoenliches Debian repository $(date --iso=seconds)
Architecture: i386" >Release

dpkg-scanpackages ./ /dev/null | gzip -9c >Packages.gz


#patch /etc/apt/sources
echo "deb file:/var/lib/vdr-repository ./"
ls -al vdr*.deb

#install the package (may faill die to wrong plugins!
echo "dpkg -i vdr-dev_$VER.deb"

 

#EOF


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


[vdr] vdr-mailbox-0.4.0 wont load with vdr-1.5.6

2007-07-30 Thread Joerg Bornkessel
Hallo Listusers,

Iam try to use the vdr-mailbox-0.4.0 plugin on vdr-1.5.6

Iam used the patch from
http://toms-cafe.de/vdr/download/mailbox-0.4.0-1.5.3.diff
to fix compile Problems.

On try to load the plugin on vdr start, i get following ERROR in
syslog:

Jul 30 22:27:23 vdr1 vdr: [9428] ERROR:
/usr/lib/vdr/plugins/libvdr-mailbox.so.1.5.6: \
undefined symbol: _ZN2Ax3VDR11OsdMenuBaseI8cOsdMenuE14clearStatusMsgEv


Is there a workaround or any hints how is this to fix?

-- 
Regards
Joerg Bornkessel





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