arnoldl;500245 Wrote: 
> 
> -1- hmm is that something thats going to come in a next version...
> or i can define a diferent ab/code for hold of the volume key in the
> config xml, cant's i define a repeat ir command in the config for hold
> of vol+/-?
> 
I found that the timer in the Controller wasn't accurate enough to use
repeat codes reliably so I have deliberately not implemented them.  I
think to get the required accuracy would require building SqueezeIR into
the kernel rather than having it run as an applet.  However, you could
bully SqueezeIR into using repeat codes by doing the following and see
how you get on (I can't guarantee that it will work though):
1) Add the following to the end of your LIRC file:

Code:
--------------------
    
  begin remote
  name  hk_repeat
  flags RAW_CODES
  gap   22608
  begin raw_codes
  name repeat
  9038 2158 624
  end raw_codes
  end remote
  
--------------------

2) You then reference both lirc remotes in the xml like this:

Code:
--------------------
    
  <SqueezeIR>
  <remotes>
  <remote ID="HK"> <!-- this is your existing remote -->
  <protocol>LIRC</protocol>
  <parameters>
  <parameter ID="filename">hk.lirc</parameter>
  <parameter ID="remote">hk</parameter>
  </parameters>
  </remote>
  <remote ID="HK_REPEAT"> <!-- this is the new lirc remote -->
  <protocol>LIRC</protocol>
  <parameters>
  <parameter ID="filename">hk.lirc</parameter>
  <parameter ID="remote">hk_repeat</parameter>
  </parameters>
  </remote>
  </remotes>
  
--------------------

3) modify the VOLUME_* hold events in your xml:

Code:
--------------------
    
  <event ID="HOLD">
  <modifier>LAST</modifier>
  <actions>
  <action order="1">
  <remote>hk</remote>
  <command>vol+</command>
  </action>
  <action order="2">
  <remote>hk_repeat</remote>
  <command>repeat</command>
  </action>
  </actions>
  </event>
  
--------------------


arnoldl;500245 Wrote: 
-2- ok...didn't realy think of that...normaly only using the controller
to start/stop music..so wouldn't be a problem for me to sent on when
controller starts the music...but i get you point..
it might be nice to sent a off command when "squeezebox standby" menu
item is chosen. I'll look into it for a future release.


-- 
indifference_engine
------------------------------------------------------------------------
indifference_engine's Profile: 
http://forums.slimdevices.com/member.php?userid=20698
View this thread: http://forums.slimdevices.com/showthread.php?t=66795

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to