------------------------------------------------------------------------
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.
------------------------------------------------------------------------

SqueezeIR Version 2.02 has just been released to the repository. 
Changes include:
- New <players> xml element to allow SqueezeIR to respond to changes in
player state (see below for details).
- New optional <caption> element for <IPevent> to allow the name on the
webpage and the URI to be different.  If missing then the eventID will
be used as the caption as previously.
- BUGFIX: IPevent ID's were not being URI escaped properly (or at
all!).
- BUGFIX: IPevent URI's were using a non-standard format (using ? as
the delimiter instead of &).  Both formats are now supported.

The <players> element allows SqueezeIR to do something when the player
does something, rather than when a button is pressed on the controller. 
For example it can turn your amp on when the player starts playing.  The
xml looks like this:

Code:
--------------------
    
  <players>
  <player ID="my_player"> <!-- the name of your player, not case sensitive -->
  <playerEvents>
  <playerEvent ID="power=false"> <!-- whenever the player powers off -->
  <actions>
  <!-- actions go here as for normal events when a button is pressed -->
  </actions>
  </playerEvent>
  <playerEvent ID="mode=play"> <!-- whenever the player starts playing --> 
  <!-- actions as above -->
  </playerEvent>
  </playerEvents>
  </player>
  <player ID="my_other_player">
  <-- player events for this player -->
  </player>
  </players>
  
--------------------


Supported playerEvent IDs are "power=true", "power=false", "mode=play",
"mode=pause", "mode=stop".

I want to be able to respond to volume changes too but haven't figured
out how to do that yet.  The player class doesn't seem to offer a
notify_*() function to detect them in the same way as it does for power
and mode changes.

NB: The controller will fire the IR when the player changes even if it
is not the currently selected player on the controller.



1xRadio, 2xReceiver, 2xController, 1xSB3, 2xSqueezeSlave, SBS 7.5.3
Inventor of SqueezeIR applet for the Controller
------------------------------------------------------------------------
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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to