Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Idea for long range RCU



Servus

Well I've gotten a nice little stupid idea.
You probably know the problem, you are somewhere in the world, but want to 
switch a channel.
Well my idea would be a remote which sends out UDP-Packets containing the 
key. This should be doable in hardware and probably is easy to do in 
Software.
I'd choose UDP because you don't have to listen to any packets there. That 
way you could have a simple one-way communication (IR).
On the computer running VDR you would then change the UDP-Packets into 
SVDPR.

What do you think :)

Servus
  Casandro

-- 
#define T 1000
#define M T*T
int main(){int x,y;for(y=0;y<20;y++){for(x=0;x<70;x++){int
c=-1;int xr,yr,zr;int xp,yp,zp;xp=yp=zp=0;xr=(x-35);yr=(y-
10);zr=10;while(1){if(yp>T){c=5;if((((zp)/T)%2==1)^(((xp+M
)/T)%2==1))c=0;break;}if(zp>T*10){c=0;if (((yp*yp+xp*xp)/(
T*100))%2==1)c=2;break;}zp+=zr;xp+=xr;yp+=yr;}printf("%c",
c+32);}printf("\n");}};




Home | Main Index | Thread Index