[vdr] plugin writing - need help with C

2007-04-12 Thread Simon Baxter
Hi. I'm modifying a non-published pvrinput variation which sends IR commands to a set box box - specifically, the channel number stored in channels.conf. 12345J2:6:C12:C:0:301:300:305:A1:62006:0:1009:0 FOODJ2:63:C12:C:0:301:300:305:A1:62008:0:1019:0 ^^ - channel number to send to

Re: [vdr] plugin writing - need help with C

2007-04-12 Thread Jose Alberto Reguero
El Viernes, 13 de Abril de 2007, Simon Baxter escribió: Hi. I'm modifying a non-published pvrinput variation which sends IR commands to a set box box - specifically, the channel number stored in channels.conf. 12345J2:6:C12:C:0:301:300:305:A1:62006:0:1009:0

Re: [vdr] plugin writing - need help with C

2007-04-12 Thread Simon Baxter
El Viernes, 13 de Abril de 2007, Simon Baxter escribió: My question is this. I need to modify the channel sent, so that double (or triple) channel numbers are sent as '6 3' or '1 1 7' rather than '63' or '117'. i.e. put spaces between the letters. You can try something like that: