The attached patch to lirc_input.py corrects this problem more simply, by telling it to ignore up to 5 repetitions resulting from holding down a button before going into repeat mode. No timing involved. It defaults to a repeat value of 5, which gives good results with the streamzap remote, but it will respect values made in the elisa conf file by setting
repeat = '5'
in the [lirc.lirc_input:LircInput] section, substituting your own value for 5.
Tested only with the streamzap remote. Will only work with remotes that generate the repeat number.
The attached patch to lirc_input.py corrects this problem more simply, by telling it to ignore up to 5 repetitions resulting from holding down a button before going into repeat mode. No timing involved. It defaults to a repeat value of 5, which gives good results with the streamzap remote, but it will respect values made in the elisa conf file by setting
repeat = '5'
in the [lirc.lirc_ input:LircInput ] section, substituting your own value for 5.
Tested only with the streamzap remote. Will only work with remotes that generate the repeat number.