------------------------------------------------------------------------
A poll associated with this post was created, to vote and see the
results, please visit http://forums.slimdevices.com/showthread.php?t=79524
------------------------------------------------------------------------
Question: Are you interested in IR-over-IP?
    
- Yes, I'd like to have IRoIP.
- No, I don't care.
------------------------------------------------------------------------

oyvindo;601880 Wrote: 
> He, he - what else could I do? :-)
> Here's the LIRC file I intend to use <Samsung BN59-00937A IT.LIRC.txt>
> which I copied as-is into the SBS directory structure next to my
> SqueezeIR.xml file - but of course, that didn't cause things to
> magically begin working. I found the file at:
> http://lirc.sourceforge.net/remotes/samsung/BN59-00937A.irman
> and I havn't modified it at all (yet), except renaming it.
> 
> Awaiting your reply, Indifference.....
ahem, sorry for the delay.  I've been a bit busy but that's no excuse
to abandon my loyal band of SqueezeIRites! :o
Linking lirc files into SqueezeIR isn't too hard and generally the lirc
file itself can be used without modification but there are a few things
to bear in mind:
1) In order for the lirc files to be served to the Controller by SBS
they must end in '.txt' - ok so far.
2) When you reference a lirc file within SqueezeIR.xml the references
are case sensitive (because lirc is a linux based project, as is the
Controller)
3) The lirc files must be placed in the html\SqueezeIR\<controller MAC
address> folder on your SBS (the same place as the SqueezeIR.xml file)

Assuming you have all the files in the correct place then you link them
up like this (I have omitted the rest of the SqueezeIR.xml file for
brevity):

Code:
--------------------
    
  <!--
  IR commands are defined here and can be protocol parameters or references to 
lirc files.
  Commands are mapped to friendly names for easier reference later on.
  -->
  <remotes>
  <remote ID="samsung"> <!-- What SqueezeIR will call the remote -->
  <protocol>LIRC</protocol> <!-- tells SqueezeIR we are using a lirc file -->
  <parameters>
  <parameter ID="filename">Samsung BN59-00937A IT.LIRC.txt</parameter> <!-- 
lirc filename (case sensitive) -->
  <parameter ID="remote">Samsung_BN59-00937A</parameter> <!-- name of remote in 
lirc file (case sensitive) -->
  </parameters>
  </remote>
  </remotes>
  
  <!-- now SqueezeIR knows where to get the codes from we can assign them to 
buttons -->
  <profiles>
  <profile ID="Test">
  <keys>
  <key ID="VOLUMEUP">
  <events>
  <event ID="ALL">
  <override>TRUE</override> <!-- send ir to the amp instead of the player -->
  <actions>
  <action order="1">
  <remote>samsung</remote> <!-- remote ID defined above -->
  <command>Vol+</command> <!-- name of command in the lirc file (case 
sensitive) -->
  </action>
  </actions>
  </event>
  </events>
  </key>
  
  <key ID="VOLUMEDOWN">
  <events>
  <event ID="ALL">
  <override>TRUE</override> <!-- send ir to the amp instead of the player -->
  <actions>
  <action order="1">
  <remote>samsung</remote> <!-- remote ID defined above -->
  <command>Vol-</command> <!-- name of command in the lirc file (case 
sensitive) -->
  </action>
  </actions>
  </event>
  </events>
  </key>
  </keys>
  </profile>
  </profiles>
  
--------------------

That should give you a start.


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

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

Reply via email to