Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2021-05-05 Thread indifference_engine



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.


maf wrote: 
> I noticed that your repository has moved to
> http://www.koukalaka.me.uk/squeezebox/repo/repo.xml. It might be a
> little confusing to new users that the instructions for installation and
> configuration still refer to http://www2.woodbine.me.uk/squeezebox :-)
> 
> According to the repo, there seems to be new version 2.03 of SqueezeIR.
> Thanks for keeping on improving the applet! What has changed?

Hi,  I admit I have been a bit tardy with updating the documentation! 
The only change between v2.02 and 2.03 is a bugfix concerning using
player events. Previously it would respond if any player's state
changed, now it only cares about the player being controlled by the
receiver.



1xRadio, 2xReceiver, 2xController, 1xSB3, 1xSqueezeLite (on
Rpi3/Jessie), SBS 7.9.2 (on Rpi3/Jessie)
Creator of SqueezeIR applet for the Controller.
Creator of LineInButton applet for the Radio.

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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2021-05-05 Thread maf



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.


I noticed that your repository has moved to
http://www.koukalaka.me.uk/squeezebox/repo/repo.xml. It might be a
little confusing to new users that the instructions for installation and
configuration still refer to http://www2.woodbine.me.uk/squeezebox :-)

According to the repo, there seems to be new version 2.03 of SqueezeIR.
Thanks for keeping on improving the applet! What has changed?



maf's Profile: http://forums.slimdevices.com/member.php?userid=30870
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2020-06-12 Thread maf



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.


That's great, thanks a lot!

Unfortunately, I can't get either of the two new elements to work. May
be, it's because the schema definition
http://www.woodbine.me.uk/squeezebox/squeezeir/files/SqueezeIR.xsd still
seems to be the one for version 2.01? At least, it does not include the
players element type.



maf's Profile: http://forums.slimdevices.com/member.php?userid=30870
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2020-06-11 Thread indifference_engine



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  xml element to allow SqueezeIR to respond to changes in
player state (see below for details).
- New optional  element for  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  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:


  
   
  
   
  
  
  
  

  
  
  
  
  
  <-- player events for this player -->
  
  
  



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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2020-05-26 Thread indifference_engine



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.


maf wrote: 
> I think I ran into a little problem with the way the ID of IPevents is
> used as part of the URL for triggering those events. Because the ID is
> no URI encoded, characters like space, slash or any umlaut seem to end
> up in the URL on the HTML page. In my case, an umlaut in the ID was no
> correctly rended by the browser and the link did not trigger the event.
> 
> If my assumption is correct, encoding/decoding special characters on the
> controller should help. But what I would like even better is if one
> could keep the ID simple and use an additional caption element of
> IPevent to specify the text displayed on the page.

You're quite correct, SqueezeIR just takes the uri and assumes no
escaping was required.  I spent ages writing regular expressions to
extract the ifo from the url when I now realise that I could have just
used the url.lua class that does it all for me!  I'll look into handling
url's correctly.

You're suggestion of a "simple" ID is also a good one.  Menus have a
separate  element so it makes sense for iroip too.



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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2020-05-26 Thread indifference_engine



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.


bassa wrote: 
> Hi,
> 
> I'm am struggling  to get squeezeir working, but find it very hard to
> get it done, hopefully you can give my some hints in the right
> direction.
> 
> what i have done sofar: installed squeezeir, and used the simple online
> xml example to start with.
> I tried to change the protocol section to RC5 or Pronto (with codes i
> learned with IR blaster) but i keep getting faults or warnings.
> Then installed squeezeplay, hoping to find errors in a log file.
> 
> can anyone tell me where i can find this logfile?
> Are these logs also on the controller itself (via ssh?)
> 
> thanks

Hi,

Yes, the logs are on the Controller and you'll need to enable SSH or use
an SD card to see them:
http://wiki.slimdevices.com/index.php/Squeezebox_Controller_Messages_File#Extracting_the_Messages_File_from_a_Controller
I use WinSCP to copy them to my PC and view them in Notepad++



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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2020-05-24 Thread bassa



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.


Hi,

I'm am struggling  to get squeezeir working, but find it very hard to
get it done, hopefully you can give my some hints in the right
direction.

wat i have done sofar is installed squeezeir, and used the simple xml
example to start from.
I try to change the protocol section to RC5 or Pronto (with codes i
fetched with IR blaster learning) but i keep getting faults or
warnings.
installed squeezeplay, because i could find errors in a log file.

can anyone tell me where i can find this logfile?
is this logfile also to be found on the controller itself (via ssh?)

thanks



SB classic (silver) Duet, Radio, Radio

bassa's Profile: http://forums.slimdevices.com/member.php?userid=22644
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2020-05-16 Thread maf



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.


I think I ran into a little problem with the way the ID of IPevents is
used as part of the URL for triggering those events. Because the ID is
no URI encoded, characters like space, slash or any umlaut seem to end
up in the URL on the HTML page. In my case, an umlaut in the ID was no
correctly rended by the browser and the link did not trigger the event.

If my assumption is correct, encoding/decoding special characters on the
controller should help. But what I would like even better is if one
could keep the ID simple and use an additional caption element of
IPevent to specify the text displayed on the page.



maf's Profile: http://forums.slimdevices.com/member.php?userid=30870
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2020-05-16 Thread maf



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.


Because currently there is no way to 'have SqueezeIR send signals on
player state changes'
(https://forums.slimdevices.com/showthread.php?79524-SqueezeIR-Support-Thread=972874=1#post972874),
I wrote a little plugin that allows me powers on
and off my amplifier whenever the attached controller is turned on or
off.

While working on that plugin, I read about and experimented with the
server's command line interface, as documented in the server's help
pages. Using telnet, one can subscribe to events like a player being
turned on. Would it be possible to utilize that in SqueezeIR? Then, the
applet could react to player state changes (like power or volume) by
sending IR signals. Concentrating this functionality in the applet and
specifying it in IR-o-IP configuration would be much nicer that having
to use and additional plugin, I think. I'm sure you'd love to add that
functionality :-).



maf's Profile: http://forums.slimdevices.com/member.php?userid=30870
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2020-05-07 Thread indifference_engine



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.


maf wrote: 
> 
> I found the old URL in the installation instructions on
> http://www.woodbine.me.uk/squeezebox/squeezeir/install ...

Not any more!



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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2020-05-06 Thread maf



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.


indifference_engine wrote: 
> 
> Sorry about this, I think I forgot to update my documentation.  The repo
> has moved to http://www2.woodbine.me.uk/squeezebox/repo/repo.xml

Thanks, that solved it for me!

I found the old URL in the installation instructions on
http://www.woodbine.me.uk/squeezebox/squeezeir/install ...



maf's Profile: http://forums.slimdevices.com/member.php?userid=30870
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2020-05-06 Thread indifference_engine



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.


maf wrote: 
> I'm trying to install the SqueezeIR applet using the Applet Installer
> from Logitech Media Server 7.9.1. But after the restart of the
> controller, there are no SqueezeIR related menu entries.
> 
> After the installation attempt, the directory
> /usr/share/jive/applets/SqueezeIR/ exists, but is empty. There is no
> /etc/squeezeplay/userpath/settings/SqueezeIR.lua.
> 
> I noticed a SHA1 mismatch that is documented in /var/log/messages:
> > 
Code:

  >   > 
  > May  6 17:12:47 squeezeplay: INFO   applet.SetupAppletInstaller - 
SetupAppletInstallerApplet.lua:442 removing: /usr/share/jive/applets/SqueezeIR
  > May  6 17:12:47 squeezeplay: INFO   applet.SetupAppletInstaller - 
SetupAppletInstallerApplet.lua:456 downloading: 
http://www2.woodbine.me.uk/squeezebox/repo/SqueezeIR.zip to: 
/usr/share/jive/applets/SqueezeIR/ sha1: 
654fa887e279d481e86d9314271ef649361ee44c
  > May  6 17:12:48 squeezeplay: WARN   applet.SetupAppletInstaller - 
SetupAppletInstallerApplet.lua:480 sha1 missmatch expected: 
654fa887e279d481e86d9314271ef649361ee44c got: 
8ebee795d3adb989fe23775eaf62a9ac08874b42
  > May  6 17:12:48 squeezeplay: INFO   squeezeplay.applets - 
AppletManager.lua:708 store settings: SetupAppletInstaller
  > 

> > 
> 
> 654fa887e279d481e86d9314271ef649361ee44c is the value in
> http://www.woodbine.me.uk/squeezebox/repo.xml, while
> 8ebee795d3adb989fe23775eaf62a9ac08874b42 the actual value of
> http://www.woodbine.me.uk/squeezebox/squeezeir/files/SqueezeIR.xml. 
> 
> Could the SHA1 mismatch be the reason why the applet installation
> fails?

Hi,

Sorry about this, I think I forgot to update my documentation.  The repo
has moved to http://www2.woodbine.me.uk/squeezebox/repo/repo.xml
Less mucking about with Google's obscure redirection!



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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2020-05-06 Thread Michael Herger

   May  6 17:12:48 squeezeplay: WARN   applet.SetupAppletInstaller - 
SetupAppletInstallerApplet.lua:480 sha1 missmatch expected: 
654fa887e279d481e86d9314271ef649361ee44c got: 
8ebee795d3adb989fe23775eaf62a9ac08874b42



654fa887e279d481e86d9314271ef649361ee44c is the value in
http://www.woodbine.me.uk/squeezebox/repo.xml, while
8ebee795d3adb989fe23775eaf62a9ac08874b42 the actual value of
http://www.woodbine.me.uk/squeezebox/squeezeir/files/SqueezeIR.xml.

Could the SHA1 mismatch be the reason why the applet installation fails?


That's pretty much what the message says. And that's what these 
checksums are for: prevent installation of a file which might have been 
manipulated.


That said, it's not clear whether the owner has forgotten to update the 
checksum in the repository file last time he updated the archive or what 
else is the reason for the failure.


--

Michael
___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2020-05-06 Thread maf



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.


I'm trying to install the SqueezeIR applet using the Applet Installer
from Logitech Media Server 7.9.1. But after the restart of the
controller, there are no SqueezeIR related menu entries.

After the installation attempt, the directory
/usr/share/jive/applets/SqueezeIR/ exists, but is empty. There is no
/etc/squeezeplay/userpath/settings/SqueezeIR.lua.

I noticed a SHA1 mismatch that is documented in /var/log/messages:

Code:


  May  6 17:12:47 squeezeplay: INFO   applet.SetupAppletInstaller - 
SetupAppletInstallerApplet.lua:442 removing: /usr/share/jive/applets/SqueezeIR
  May  6 17:12:47 squeezeplay: INFO   applet.SetupAppletInstaller - 
SetupAppletInstallerApplet.lua:456 downloading: 
http://www2.woodbine.me.uk/squeezebox/repo/SqueezeIR.zip to: 
/usr/share/jive/applets/SqueezeIR/ sha1: 
654fa887e279d481e86d9314271ef649361ee44c
  May  6 17:12:48 squeezeplay: WARN   applet.SetupAppletInstaller - 
SetupAppletInstallerApplet.lua:480 sha1 missmatch expected: 
654fa887e279d481e86d9314271ef649361ee44c got: 
8ebee795d3adb989fe23775eaf62a9ac08874b42
  May  6 17:12:48 squeezeplay: INFO   squeezeplay.applets - 
AppletManager.lua:708 store settings: SetupAppletInstaller
  



654fa887e279d481e86d9314271ef649361ee44c is the value in
http://www.woodbine.me.uk/squeezebox/repo.xml, while
8ebee795d3adb989fe23775eaf62a9ac08874b42 the actual value of
http://www.woodbine.me.uk/squeezebox/squeezeir/files/SqueezeIR.xml. 

Could the SHA1 mismatch be the reason why the applet installation fails?



maf's Profile: http://forums.slimdevices.com/member.php?userid=30870
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2020-04-27 Thread indifference_engine



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.


maf wrote: 
> I know this is an old thread but here goes...
> 
> Thanks to SqueezeIR, I can control my amplifier using the SB
> Controller.
> 
> But can I get SqueezeIR to turn on (or off) the amplifier automagically
> whenenver the SB Receiver is turned on (or off)? 
> 
> To make things more interesting: When I'm streaming music from an iPad
> to the Receiver via AirPlay (using the Shairtunes2 plugin), the Receiver
> is turned on (and off) by the plugin and not manually with the
> Controller.

Hi, The answer is unfortunately a "no".  The receiver does not have an
ir emitter so cannot control anything directly (I think Logitech screwed
up on that front). You can do this sort of thing with an SB3 and the
irBlaster plugin. I have my SB3 set up to turn my amp on and change to
the correct input whenever it plays anything.

I did toy with the idea of the controller detecting when the state of
the device it is controlling changes and emitting ir as if you had
pressed a button on it but a) I wasn't making much headway, and b) it
would mean having to leave your controller on and charging and pointing
at the amp so far from ideal.



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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2020-04-26 Thread maf



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.


I know this is an old thread but here goes...

Thanks to SqueezeIR, I can control my amplifier using the SB
Controller.

But can I get SqueezeIR to turn on (or off) the amplifier automagically
whenenver the SB Receiver is turned on (or off)? 

To make things more interesting: When I'm streaming music from an iPad
to the Receiver via AirPlay (using the Shairtunes2 plugin), the Receiver
is turned on (and off) by the plugin and not manually with the
Controller.



maf's Profile: http://forums.slimdevices.com/member.php?userid=30870
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2016-02-07 Thread ralphy


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.


kidhazy wrote: 
> Cheers Ralphy, updated to Logitech Media Server Version: 7.9.0 -
> 1454098279 @ Fri Jan 29   and it solved the problem.
> 
> Just so I can check myself in the future - where's the best place for
> release notes for the nightly builds?
> 
> I found
> http://htmlpreview.github.io/?https://github.com/Logitech/slimserver/blob/public/7.9/Changelog7.html
> appeared to not be updated (?) and I couldn't find anything on there re
> the applet issues.
> 
> Thanks again.

I use the github lms commit log.

https://github.com/Logitech/slimserver/commits/public/7.9



Ralphy

*1*-Touch, *4*-Classics, *2*-Booms, *1*-Reverted UE Radio
'Squeezebox client builds'
(https://www.mediafire.com/folder/4q8dvq20iyz9e/Builds) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.

ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2016-02-06 Thread kidhazy


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.


ralphy wrote: 
> Jive Applet installation was fixed in LMS 7.9 on Jan 10, 2016.
> 
> I'd suggest upgrading to the latest 7.9 as you're still running a build
> from Nov 26 before going down any other rabbit holes.

Cheers Raplhy, updated to Logitech Media Server Version: 7.9.0 -
1454098279 @ Fri Jan 29   and it solved the problem.

Just so I can check myself in the future - where's the best place for
release notes for the nightly builds?

I found
http://htmlpreview.github.io/?https://github.com/Logitech/slimserver/blob/public/7.9/Changelog7.html
appeared to not be updated (?) and I couldn't find anything on there re
the applet issues.

Thanks again.



kidhazy's Profile: http://forums.slimdevices.com/member.php?userid=42259
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2016-02-06 Thread indifference_engine


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.


Have you unticked the "Recommended Applets Only" option at the bottom of
the applet list on the controller? 

Sent from my GT-I9505 using Tapatalk



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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2016-02-06 Thread kidhazy


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.


I've just tried to reinstall the SqueezeIR on to my controller after
having to do a factory reset.

I can't get the Applet installer working - and was wondering if this
option is still available for SqueezeIR.

I'm using http://www.woodbine.me.uk/squeezebox/repo.xml as an additional
repository on the Plugins page.

But, I never see the SqueezeIR applet on the controller list of
available applets.

Is there a way to verify on the LMS server that the applet is
available?

I'm using Logitech Media Server Version: 7.9.0 - 1448515994 
Controller is V7.8.0 r16739

Thanks.



kidhazy's Profile: http://forums.slimdevices.com/member.php?userid=42259
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2016-02-06 Thread ralphy


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.


kidhazy wrote: 
> I've just tried to reinstall the SqueezeIR on to my controller after
> having to do a factory reset.
> 
> I can't get the Applet installer working - and was wondering if this
> option is still available for SqueezeIR.
> 
> I'm using http://www.woodbine.me.uk/squeezebox/repo.xml as an additional
> repository on the Plugins page.
> 
> But, I never see the SqueezeIR applet on the controller list of
> available applets.
> 
> Is there a way to verify on the LMS server that the applet is
> available?
> 
> I'm using Logitech Media Server Version: 7.9.0 - 1448515994 
> Controller is V7.8.0 r16739
> 
> Thanks.
Jive Applet installation was fixed in LMS 7.9 on Jan 10, 2016.

I'd suggest upgrading to the latest 7.9 as you're still running a build
from Nov 26 before going down any other rabbit holes.



Ralphy

*1*-Touch, *4*-Classics, *2*-Booms, *1*-Reverted UE Radio
'Squeezebox client builds'
(https://www.mediafire.com/folder/4q8dvq20iyz9e/Builds) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.

ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2015-11-12 Thread indifference_engine


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.


virx71 wrote: 
> Hello Douglas,
> many thanks for your prompt reply!
> 
> I tried os.execute() and also system() commands and I got in both cases
> the same error:
> squeezeplay: ERROR  squeezeplay.ui - Framework.lua:695 action name not
> registered: (SQXON.sh 2). Available actions: Actions:  etc.
> I tried to find out where the Available (registered) actions are stored
> but couldn't find the place where they are, any idea about that?
It looks like they are defined in Framework.lua.  Squeezeplay on Windows
has that file here: C:\Program Files
(x86)\SqueezePlay\lua\jive\ui\Framework.lua
As far as I can tell the built-in actions are defined in
registerActions() and registerAction() allows custom ones to be added.

virx71 wrote: 
> 
> EDIT: BTW I have another question for you: how to find the mac address
> used by SqueezePlay instance running on a PC?
> I tried using the PC MAC address for testing the "update config" of
> SqueezeIR but I couldn't make it work on SqueezePlay while it's working
> on my real controllers.
The PC MAC works for me using SqueezePlay v7.8.0 r539 and SqueezeIR
v1.13.  You can double-check the MAC from within SqueezePlay (Settings >
Advanced > Squeezebox Information > {squeezeplay player name}
Information, and look at the MAC entry).

virx71 wrote: 
> 
> EDIT2: The Execute Script (at least the version I found 'here'
> (https://github.com/thecadams/htpc-scripts/tree/master/squeezeboxserver-plugins/ExecuteScript)
> is not working too well (I have no other option than executing scripts
> at every event, even if I create a "dummy" script it gets called every
> event it detects). I feel the os.execute way is better for my needs.
That plugin is no longer in active development which is a shame as there
could be uses for it.  I'm not sure I can be of much help here.



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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2015-11-12 Thread virx71


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.


Great many thanks,
I'll make some further tests asap!

Cheers,
V.



virx71's Profile: http://forums.slimdevices.com/member.php?userid=50716
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2015-11-04 Thread virx71


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.


Hello Douglas,
many thanks for your prompt reply!

I tried os.execute() and also system() commands and I got in both cases
the same error:
squeezeplay: ERROR  squeezeplay.ui - Framework.lua:695 action name not
registered: (SQXON.sh 2). Available actions: Actions:  etc.
I tried to find out where the Available (registered) actions are stored
but couldn't find the place where they are, any idea about that?

I found the Execute Script and will give it a try, I keep my fingers
crossed :-)

Talk to you soon,
V.



virx71's Profile: http://forums.slimdevices.com/member.php?userid=50716
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2015-11-03 Thread indifference_engine


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.


virx71 wrote: 
> Hello Douglas,
> new install and same problems, but I remembered you wrote me how to
> solve them and here I am again reading this old thread.
> This time it was trickier as I had a lirc file that got corrupted while
> passing from windows to debian, but at the end all was solved!
> 
> I have a new question for you: since SqueezeIR is a only-controller
> plugin, is there any way I could tweak xml playeraction elements to
> trigger a script on the server?
> 
> Something like
> > 
Code:

  >   > 
  > 
  > somescript.sh 
someparam
  > 
  > 

> > 
> I'm afraid your reply will be "no" but since I feel quite ignorant in
> perl I'd better ask ;)
> 
> Thanks again for this last old and precious reply of yours,
> V
> 
> EDIT: Here what I've tried so far without success.
> 
> I have a php script on my server which I modified to trigger an sh
> script with a parameter. I have several working scripts which I can
> call via web browser.
> 
> In SqueezeIRApplet.lua in Main function I tried replacing line
> "Framework:pushAction(strPlayerAction)" with either
> "os.execute(strPlayerAction)" or "system(strPlayerAction)" as I wanted
> at least to be able to trigger a local script on the controller.
> Obviously this is a test, I would greatly prefer to have a
> strScriptAction or strServerScriptAction instead...
> 
> In SqueezeIR.xml I created several examples as indicated before. I've
> not tested scripts with full path so far (as /usr/bin dir is in $PATH
> variable).
> 
> In /usr/sbin of the controller I put a custom script that triggered
> via wget the http command that launches one of the scripts on the LMS
> The chainloading works correctly if called manually but I couldn't
> make it work yet via SqueezeIR.
> 
> Knowing that I might have chosen the most complex way to get closer to
> my idea, any hint/suggestion would be greatly appreciated.

Hi,

I had almost forgotten that this thread still existed! 

As far as I am aware, you are correct, the answer is "no", although I
think you might be on the right track with Framework:pushAction().  That
function sends command to SBS using its API to start/stop players etc. 
Maybe a plugin on the SBS server (such as this one?
http://forums.slimdevices.com/showthread.php?69121-Execute-Script) could
intercept those and call a script? If that works then you might just
need to specify some custom playerActions in your SqueezeIR xml and have
the SBS plugin watch out for them.  I'm not that familiar with *NIX so
not sure.

Running a script locally should work too (with a bit of a hack).
SqueezeIR uses os.execute() to call the c glue between lua and the ir
driver to do its stuff so it should work for other programs too (if
permissions allow).  Take a look at TimerCallback() to see it in use.
The only other thing I can think of (and am not too sure about it
either) is to use RequestHTTP() to invoke a url on the server to invoke
the script.



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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2015-11-02 Thread virx71


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.


Hello Douglas,
new install and same problems, but I remembered you wrote me how to
solve them and here I am again reading this old thread.
This time it was trickier as I had a lirc file that got corrupted while
passing from windows to debian, but at the end all was solved!

I have a new question for you: since SqueezeIR is a only-controller
plugin, is there any way I could tweak xml playeraction elements to
trigger a script on the server?

Something like

Code:



somescript.sh 
someparam

  


I'm afraid your reply will be "no" but since I feel quite ignorant in
perl I'd better ask ;)

Thanks again for this last old and precious reply of yours,
V



virx71's Profile: http://forums.slimdevices.com/member.php?userid=50716
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2014-02-11 Thread Virgus


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.


Hello Douglas,
I've been using happily SqueezeIR since my last message and it's great
to have it!
A few months ago I migrated from an XP server to a Raspberry PI and
everything is fine
except I cannot update any more the SqueezeIR configuration file.

I keep getting Result:5 (fail) message.

Just to avoid any doubt I cleared my file and used your templates
sr6.lirc.txt and SqueezeIR.xml, but even my file is working well on XP's
LMS.

I replicated the same folder structure I had previously to:
/usr/share/squeezeboxserver/HTML/SqueezeIR/html/0004201b2093

but on the server log I keep having the following messages (it seems
that SqueezeIR cannot find the configuration files):
[14-02-11 12:46:25.9759] Slim::Utils::Misc::msg (1311) Warning:
[12:46:25.9720] Use of uninitialized value $name in hash element at
/usr/share/squeezeboxserver/CPAN/Template/Context.pm line 100.
[14-02-11 12:46:25.9813] Slim::Utils::Misc::msg (1311) Warning:
[12:46:25.9777] Use of uninitialized value $shortname in substitution
(s///) at /usr/share/squeezeboxserver/CPAN/Template/Context.pm line
116.
[14-02-11 12:46:25.9874] Slim::Utils::Misc::msg (1311) Warning:
[12:46:25.9833] Use of uninitialized value $name in concatenation (.) or
string at /usr/share/squeezeboxserver/CPAN/Template/Context.pm line
168.
[14-02-11 12:46:25.9932] Slim::Web::Template::SkinManager::_fillTemplate
(322) Error: file error - : not found

I have no idea of where to look, could you please give me your advise?

Thanks and have a nice day,
Virginio

BTW I was trying to manually restore the configuration of my controller
by taking it from a second working controller
but when I look into /usr/share/jive/applets/SqueezeIR on the working
controller there are no xml/lirc.txt files?
Where are those located? Is it technically possible to do the restore
manually?
Thanks again!



Virgus's Profile: http://forums.slimdevices.com/member.php?userid=5351
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2014-02-11 Thread indifference_engine


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.


Virgus wrote: 
 Hello Douglas,
 I've been using happily SqueezeIR since my last message and it's great
 to have it!
 A few months ago I migrated from an XP server to a Raspberry PI and
 everything is fine
 except I cannot update any more the SqueezeIR configuration file.
 
 I keep getting Result:5 (fail) message.
 
 Just to avoid any doubt I cleared my file and used your templates
 sr6.lirc.txt and SqueezeIR.xml, but even my file is working well on XP's
 LMS.
 
 I replicated the same folder structure I had previously to:
 /usr/share/squeezeboxserver/HTML/SqueezeIR/html/0004201b2093
 
 but on the server log I keep having the following messages (it seems
 that SqueezeIR cannot find the configuration files):
 [14-02-11 12:46:25.9759] Slim::Utils::Misc::msg (1311) Warning:
 [12:46:25.9720] Use of uninitialized value $name in hash element at
 /usr/share/squeezeboxserver/CPAN/Template/Context.pm line 100.
 [14-02-11 12:46:25.9813] Slim::Utils::Misc::msg (1311) Warning:
 [12:46:25.9777] Use of uninitialized value $shortname in substitution
 (s///) at /usr/share/squeezeboxserver/CPAN/Template/Context.pm line
 116.
 [14-02-11 12:46:25.9874] Slim::Utils::Misc::msg (1311) Warning:
 [12:46:25.9833] Use of uninitialized value $name in concatenation (.) or
 string at /usr/share/squeezeboxserver/CPAN/Template/Context.pm line
 168.
 [14-02-11 12:46:25.9932] Slim::Web::Template::SkinManager::_fillTemplate
 (322) Error: file error - : not found
 
 I have no idea of where to look to fix this, could you please give me
 your advise?
 
 Thanks and have a nice day,
 Virginio
 
 BTW I was trying to manually restore the configuration of my controller
 by taking it from a second working controller
 but when I look into /usr/share/jive/applets/SqueezeIR on the working
 controller there are no xml/lirc.txt files?
 Where are those located? Is it technically possible to do the restore
 manually?
 Thanks again!
Hi Virgus,
I don't think those error messages are anything to do with SqueezeIR as
there's no server-side component to it, everything runs on the
controller.  The server is just acting as a web server to host the
SqueezeIR config files.

The first thing to check is that the server is indeed serving the config
files properly; point a web browser at 
Code:

http://127.0.0.1:9000/squeezeir/html/0004201b2093
  /SqueezeIR.xml

 and see that you get the xml file returned (you may have to type the
url in the correct case).  I have known people screw up the permissions
on the files so that the SqueezeCenter account can't access the files.

The cached settings on the controller are in 
Code:

/etc/squeezeplay/userpath/settings/SqueezeIR.lua

.  There's just one file to copy across if you want to do it that way
(all the xml and lirc files are embedded within it).

If you are still having problems, try a refresh of the SqueezeIR config
and then copy the log from the controller (/var/log/messages).



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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2013-02-26 Thread virx71


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.


It helps indeed! Thanks!
I solved most of my needs with your instructions!

Thanks also for explaining the HOTKEY config!
Now I got it:


Code:


-- deal with hotkey.
if tonumber(strKeyCode) == mtblData[HOTKEY] then
if tonumber(strType) == EVENT_KEY_PRESS then
Framework:playSound('DOCKING')
EnableButtons(self, true, true)
elseif tonumber(strType) == EVENT_KEY_HOLD then
Framework:playSound('DOCKING')
EnableButtons(self, false, true)
end
  



The only issue here is that with EVENT_KEY_PRESS I have the controller
getting locked. This behaviour overcomes SqueezeIR's settings.
So I'd like to assign the EVENT_KEY_HOLD to the _SETTINGS menu instead
to operate the EnableButtons directly...

I changed it into:

Code:


elseif tonumber(strType) == EVENT_KEY_HOLD then
ShowMenu(self, SETTINGS_TITLE)
end
  



And it worked!
And I'm wondering if I can rid of the Macro and Shortcut Widgets (the
one in the Settings/Advanced/Beta Features section),
by diverting all Macros to SqueezeIR!

Can I call an external menu from SqueezeIR?

I already configured a menu for Presets
I'd like other shortcuts menus
E.G. a menu for Management Macros (eg. putting together sync widgets,
power widgets etc)
and maybe other kind of menus I've not thought about yet...



virx71's Profile: http://forums.slimdevices.com/member.php?userid=50716
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2013-02-25 Thread indifference_engine


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.


Hi,

Play and + is the HOTKEY combination defined at the top of the xml
file (you can change the key combination if you like - but there's
little point).  The point of this is it allows you to disable (by
pressing) and re-enable (by holding) SqueezeIR's handling of key presses
so you can quickly turn SqueezeIR off if you need to control your player
directly.

I think what you need is this:
To open a menu directly from a key combination, you firstly need to
define the key combination in the keyNames section of the xml:

Code:


  keyNames
  keyName ID=LAUNCH66/keyName !--  HOME | BACK  -- 
  /keyNames
  


Then you need to define an event for the above key name that includes a
target and place it in your profile(s):

Code:


  profiles
  profile ID=my profile
  keys
  key ID=LAUNCH
  events
  event ID=PRESS
  overrideTRUE/override 
  targetmy menu/target 
  /event
  event ID=HOLD
  overrideTRUE/override 
  target_SETTINGS/target 
  /event
  /events
  /key
  /keys
  /profile
  /profiles
  


of course, the menu my menu needs to be present in the menus section
of the xml (but I assume you already have this):

Code:


  menus
  menu ID=my menu
  ...
  /menu
  /menus
  


So, whenever the profile my profile is active, pressing HOME  BACK
together will open the SqueezeIR menu called my menu (as defined in
the menus section of the xml).  Incidentally, using this
configuration, holding the key combination will open SqueezeIR's
settings screen (using the reserved menu name _SETTINGS).

Hope this helps.



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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2012-12-29 Thread indifference_engine


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.


Dpunkt wrote: 
 Hello,
 
 i would like to be able to use the controller as a infrared transmitter,
 controlled by a central server. I thought your software might be able to
 help to help me archive this goal.
 I installed your Software 1.12 (Download for newer Versions was not
 working) via SSH on the controller, but was unable to enter the IR-o-IP
 Configuration menu, a error accured in line {GetIPAddress() .. : ..
 mtblData[IROIP][PORT]},. I don't have read that much about
 configuring your software, because i don't need any of these local
 features.
 
 I tried the IRServer before and it was kind of like the programm i am
 looking for, but it doesn't work when not in foreground. Do your
 Software have this behavior too or do you got a solution to this?
 
 What is the way to go to run code in background in squeezeplay? 
 
 Dpunkt

I have the repo up and running at
http://www.woodbine.me.uk/squeezebox/repo.xml and have a working link to
v1.13 on the SqueezeIR website again.

You still need to create an xml file on your server (and possibly some
lirc files too) to use ir-o-ip as the applet needs to know what ir codes
are available.  IHowever, if you are only using ir-o-ip, you only have
to do the remotes bit.

Regards.



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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2012-12-12 Thread Dpunkt


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.


Hello,

i would like to be able to use the controller as a infrared transmitter,
controlled by a central server. I thought your software might be able to
help to help me archive this goal.
I installed your Software 1.12 (Download for newer Versions was not
working) via SSH on the controller, but was unable to enter the IR-o-IP
Configuration menu, a error accured in line {GetIPAddress() .. : ..
mtblData[IROIP][PORT]},. I don't have read that much about
configuring your software, because i don't need any of these local
features.

I tried the IRServer before and it was kind of like the programm i am
looking for, but it doesn't work when not in foreground. Do your
Software have this behavior too or do you got a solution to this?

What is the way to go to run code in background in squeezeplay? 

Dpunkt



Dpunkt's Profile: http://forums.slimdevices.com/member.php?userid=30239
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2012-11-18 Thread eversonl


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.


Hi, Does anyone know where I can get a copy of 1.13?
My config worked on v1.00 but fails on v1.11 and v1.12, I have no idea
why and the change log doesnt suggest I actually need to change anything
in the config xml.

Thanks for any help in advance



eversonl's Profile: http://forums.slimdevices.com/member.php?userid=44317
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2012-11-11 Thread indifference_engine


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.


virx71 wrote: 
 
 THANK YOU!
 
 You did a wonderful job and took out what was really missing from the
 Squeeze Controller!
 I deserve you at least a beer or two!
 I didn't see a donate link on your web site though, you should think
 about it!
Thank you for the kind words, they're all the thanks I need!

virx71 wrote: 
 I noticed that the SqueezeIR_1.13.zip is not listed in the available
 downloads.
 What about putting new releases in a GoogleDrive or similar cloud
 services and share the link?
Yeah, I need to sort the hosting out.

virx71 wrote: 
 FIRST OF ALL A QUESTION:
 I'm using a profile for each SB receiver an one main menu:
 should I create different main menus for each receiver or can I assign a
 profile/profile tag to a menu item itself?
You can't assign a profile to a menu item as that would make the current
profile change as you scrolled through the menu.  But you can assign a
profile to a menu and make that menu a sub-menu off the main menu,
eg, If you had a main menu with Lounge  Bedroom on it you could link
those to a Lounge menu and a Bedrrom menu which could change the current
profile accordingly.  Alternatively, you could bypass the main menu and
set the Lounge and Bedroom Menus as the entry points for each porfile so
that you had a different main menu depending on the current profile. 
It's your choice really.

virx71 wrote: 
 
 SECONDLY AN EXPLANATION AND AN IDEA:
 I have several submenus in which I have several macros which involve
 different remotes actions at the same time
 and some playerActions which happen to be replicated several times: in
 keys, in menu events and in IPevents as well.
 
 I was wondering why not creating another object called macro defined
 in its own section where we could define each single macro
 only once and then call it whenever needed. A macro could be used as a
 complex action element
 To simplifying things all playerAction elements could be included in
 actions thus allowing playerActions to be ordered inside a single event
 flow.
 
There are reasons (which escape me at the moment but are probably
concerned with the very basic xml parser) as to why the playerActions
and action have to be kept separate but the idea of separating the
actions from the events is a good one.

virx71 wrote: 
 THIRD IDEA:
 I noticed that the order parameter is used exclusively: if I put by
 error two order 2s only the last one is taken into account.
 This is a strict behaviour but it might be more simple to use the order
 parameter as a sorting one: all the elements ordered would appear by
 their order number and then sorted alphabetically (this would be both
 useful in menus and in IPevents - see last observation)
 In this way I could build my menus by adding new items or moving items'
 positions without having to check again and again each order parameter
 value.
Now that IS a consequence of the very, very basic xml parser that I use
as the controller does not have one built in.  However, your numbering
does not have to be sequential, you could do 10, 20, 30 etc which would
make inserting extra codes easier.

virx71 wrote: 
 FOURTH, ON IR-O-IP:
 The Update Configuration link is not working, I tried several times to
 use it without success.
 Not sure if it's a bug or I'm missing something in the xml configuration
 to enable it.
 It would be really useful to update all my controllers remotely with
 just one click!
 
 A few ideas:
 In IPevents it would be great to have order parameters as well with the
 same flexible definition described above.
 
 I imagined also it would be great to organize tables differently:
 2 3 4 5 10 repeat times are needed only for volumes control and count
 times could be decided inside the IPevents
 definition by a count parameter as in actions elements. Thus if I need
 Vol+ 1 time or 5 times I could easily create two
 events with same command and different count values.
 
 Imagine now instead, to use columns to organize devices' commands:
 the first column would have listed unlimited IPevents which have order
 parameter set from 0 to 9
 the second column would have listed IPevents order parameter set from 10
 to 19
 etc...
 
 Likely all the IR-o-IP links would fit on a single page without the need
 of scrolling.
 
 A last nice thing would be to have the SqueezeIR:OK:IROIP feedback
 inside a management DIV floating on the right of the screen
 together with Update Configuration and Reload Cache links to
 maximize the space in the page.
 
ir-o-ip is still very experimental and the basic page that the

Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2012-11-10 Thread virx71


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.


Douglas,
THANK YOU!

You did a wonderful job and took out what was really missing from the
Squeeze Controller!
I deserve you at least a beer or two!
I didn't see a donate link on your web site though, you should think
about it!

About the newest versions:
I noticed that the SqueezeIR_1.13.zip is not listed in the available
downloads.
What about putting new releases in a GoogleDrive or similar cloud
services and share the link?

Luckily I found I downloaded a few months ago and kept it in my
Squeezebox archive
and I've been able to make my xml file grow up to 45KB!

About SqueezeIR improvements I would like to write down my observations
that might be taken into account for future releases:


  FIRST OF ALL A QUESTION:
  I'm using a profile for each SB receiver an one main menu:
  should I create different main menus for each receiver or can I assign
  a profile/profile tag to a menu item itself?  
  

  SECONDLY AN EXPLANATION AND AN IDEA:
  I have several submenus in which I have several macros which involve
  different remotes actions at the same time
  and some playerActions which happen to be replicated several times: in
  keys, in menu events and in IPevents as well.
  
  I was wondering why not creating another object called macro defined
  in its own section where we could define each single macro
  only once and then call it whenever needed. A macro could be used as a
  complex action element
  To simplifying things all playerAction elements could be included in
  actions thus allowing playerActions to be ordered inside a single
  event flow.
  
  EG:

Code:


events
event ID=HOLD
overrideTRUE/override
actions
action order=1
remoteAltecLansing/remote
commandPWR1/command
/action
action order=2
remoteAltecLansing/remote
commandREAR1/command
pause1/pause
/action
action order=3
remoteAltecLansing/remote
commandvol1+/command
count10/count
/action
action order=4
remoteCurtains/remote
commandaopen/command
/action
/actions
playerActions
playerAction 
order=1play/playerAction
/playerActions
/event
/events



  
  would become:

Code:


macros
macro ID=WakeUp
actions
action order=1
remoteAltecLansing/remote
commandPWR1/command
/action
action order=2
remoteAltecLansing/remote
commandREAR1/command
pause1/pause
/action
action order=3
remoteAltecLansing/remote
commandvol1+/command
count10/count
/action
action order=4
remoteCurtains/remote
commandaopen/command
/action
/actions
action order=5
playerAction 
order=1play/playerAction
/actions
/macro
/macros



  
  And my event would then become:

Code:


events
event ID=HOLD

Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2012-11-09 Thread virx71


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.


Hello everybody,
I just came across SqueezeIR and I'm curious to try it.
Unfortunately the latest version download link is not working properly
and btinternet.com/~douglashill456 pages are no more available.

I wonder if Douglas or anybody else having v1.13 or later release could
please attach it here on the forum
or email it to me @ virx71 at quipo.it

Many thanks and have a good day!
Virgus



virx71's Profile: http://forums.slimdevices.com/member.php?userid=50716
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2012-11-09 Thread igkr


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.


Hello everybody, for me it also don't working. 
Please update the link for downloading.

Many thanks.
Igor

virx71 wrote: 
 Hello everybody,
 I just came across SqueezeIR and I'm curious to try it.
 Unfortunately the latest version download link is not working properly
 and btinternet.com/~douglashill456 pages are no more available.
 
 I wonder if Douglas or anybody else having v1.13 or later release could
 please attach it here on the forum
 or email it to me @ virx71 at quipo.it
 
 Many thanks and have a good day!
 Virgus



igkr's Profile: http://forums.slimdevices.com/member.php?userid=54763
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2012-11-09 Thread indifference_engine


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.


igkr wrote: 
 Hello everybody, for me it also don't working. 
 Please update the link for downloading.
 
 Many thanks.
 Igor

Hi All,

Unfortunately BT have removed their free web hosting service and google
obfuscates the url so much that the repo won't use it.  Until I find
another web hosting service you will have to download and install
manually.  All the files and instructions can be found on the SqueezeIR
website (http://www.woodbine.me.uk/squeezebox/squeezeir)

Sorry for the inconvenience, I shall look into getting the the repo
posted elsewhere.



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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2012-03-12 Thread indifference_engine


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.


indifference_engine;694865 Wrote: 
 I have found a fix that will gracefully fail if dodgy xml is encountered
 (and won't crash like my previous attempt in v1.12 did!).  However it
 doesn't identify the problem, merely recognises that there is one and
 aborts instead of getting stuck.  What I really need is a DTD file that
 you can validate your SqueezeIR.xml against prior to loading it into the
 applet but that is beyond me!
 
 
 That was caused by the Use IRoIP setting being honoured even though the
 cache had been cleared.  I have fixed this although not in the way you
 suggested as there was another place in the code where the same bug
 would cause different symptoms.  Thanks for the suggestion though and
 more thanks for highlighting the issue.  IRoIP is relatively new so
 there were bound to be a few bugs.
 
 Both of these fixes will be in the next release...

These fixes are both in v1.13 which is now available from the repo.


-- 
indifference_engine

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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2012-03-08 Thread indifference_engine


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.


gorman;689549 Wrote: 
 Any reason why a configuration file could stay indefinitely with
 Result: 2 (In Progress) status?
 
I have found a fix that will gracefully fail if dodgy xml is
encountered (and won't crash like my previous attempt in v1.12 did!). 
However it doesn't identify the problem, merely recognises that there
is one and aborts instead of getting stuck.  What I really need is a
DTD file that you can validate your SqueezeIR.xml against prior to
loading it into the applet but that is beyond me!

maf;690563 Wrote: 
 I managed to maneuver SqueezeIR 1.11 into a state that wouldn't allow me
 to access any of its two menus.
That was caused by the Use IRoIP setting being honoured even though the
cache had been cleared.  I have fixed this although not in the way you
suggested as there was another place in the code where the same bug
would cause different symptoms.  Thanks for the suggestion though and
more thanks for highlighting the issue.  IRoIP is relatively new so
there were bound to be a few bugs.

Both of these fixes will be in the next release...


-- 
indifference_engine

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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2012-03-08 Thread indifference_engine


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.


maf;691372 Wrote: 
 Can I attach SqueezeIR actions to a SqueezePlay menu item? E.g., can I
 send the IR commands to power on the stereo and switch it to AUX when I
 use the controller to turn on the receiver?
A number of people have asked about this in the past but it was never
the way SqueezeIR was intended to work.  Although it -could- be done
there could be problems.  Imagine the scenario;
You press play on the controller
The controller sends the signal to SBS
SBS sends the signal to the player and the player starts
The player sends a signal back to SBS saying 'I am playing'
SBS sends the signal back to the Controller
The controller updates the player status
SqueezeIR detects the change in player status and sends an IR code

Admittedly I'm not 100% that the above is correct but even so;
1) If during the Controller-SBS-player conversation you move so that
the controller isn't pointing at the amp then the IR signal is lost.
2) You miss the first few seconds of your music while your amp warms
up.  

maf;691382 Wrote: 
 But that takes about two more clicks and some additional wheel action
 ,-)!
Not necessarily.  I have used SqueezeIR to remap the Home button.  When
I hold it down instead of turning off the controller (the default
behaviour) it turns my amp on and sets it to the correct input. 
Turning on my amp is now only a button-press away and it doesn't matter
which screen I am in.  IMHO this is the best way to do it.


-- 
indifference_engine

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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2012-03-08 Thread indifference_engine


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.


Hinz-und-Kunz;692050 Wrote: 
 Hello indifference engine,
 
 I build a very large xml file. This caused my Controller hangs in a
 reboot circle.
 After deleting the SqueezeIR folder via SSH the controller runs proper
 again.
 
 But now I cant open your standard SqueezeIR.xml or my customized with
 more than 4 action items.
 
 New install, delete of SqueezeIR folder, Controller factory reset,
 restore of old Firmware has not helped.
 
 Is there any cache folder or file to delete manual?
 

I think your giant xml file is just too big for the poor little
controller to handle.  The file loaded ok when I tested it using
Desktop Squeezeplay but it took two minutes to load and maxed out my
Core2Duo laptop - I think the Controller has no chance with anything
this big!

The issue with the 4 items problem was a bug in v1.12 of SqueezeIR, I
have re-released v1.11 (as v1.11r2) until I get that fixed.

The SqueezeIR cache can be deleted from
/etc/squeezeplay/userpath/settings/SqueezeIR.lua using SSH/SCP.  Just
delete the file - it will be re-created when SqueezeIR is next used.

Can I ask why you want to control 20 TV's??


-- 
indifference_engine

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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2012-03-07 Thread igkr


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.


Hello indifference engine,

After upgrage to v 1.2 my configuration stopped working . Can not
understand what was happening. With version 1.1 it worked without any
problems. Please help.


+---+
|Filename: RC8000PM_ON.txt  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=13145|
+---+

-- 
igkr

igkr's Profile: http://forums.slimdevices.com/member.php?userid=54763
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2012-03-07 Thread indifference_engine


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.


Hi all, I must apologise for v1.12:o

It was meant to be more tolerant of dodgy xml but it appears not to
work on the Controller even though it works fine on Desktop Squeezeplay
(which is an easier test environment). I shall re-release v1.11 (as
v1.13 so that repo updates will work) until I figure out a solution. 
I'm really busy atm so it may be a while before a proper new version
appears.

Sent from my HTC Sensation Z710e using Tapatalk


-- 
indifference_engine

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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2012-02-22 Thread Hinz-und-Kunz


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.


Hello indifference engine,

I build a very large xml file. This caused my Controller hangs in a
reboot circle.
After deleting the SqueezeIR folder via SSH the controller runs proper
again.

But now I cant open your standard SqueezeIR.xml or my customized with
more than 4 action items.

New install, delete of SqueezeIR folder, Controller factory reset,
restore of old Firmware has not helped.

Is there any cache folder or file to delete manual?

Because it is my first post, I have to split the contribution.
Detail will follow.


-- 
Hinz-und-Kunz

Hinz-und-Kunz's Profile: http://forums.slimdevices.com/member.php?userid=54463
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2012-02-22 Thread Hinz-und-Kunz


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.


Error log for your default config:

Code:


  Feb 22 11:16:58 squeezeplay: INFO   applet.SqueezeIR - 
SqueezeIRApplet.lua:1595 *  SqueezeIR v1.12 (19 February 2012) 
Configuration begun.  Timestamp='Wed Feb 22 11:16:58 2012'.  *
  Feb 22 11:16:58 squeezeplay: INFO   squeezeplay.applets - 
AppletManager.lua:708 store settings: SqueezeIR
  Feb 22 11:16:58 squeezeplay: INFO   applet.SqueezeIR - 
SqueezeIRApplet.lua:1665 Requesting config from 
'http://10.0.3.242:9000/SqueezeIR/html/0004201a2b5b/SqueezeIR.xml'.
  Feb 22 11:16:58 squeezeplay: INFO   applet.SqueezeIR - 
SqueezeIRApplet.lua:1640 Receiving config from 
'http://10.0.3.242:9000/SqueezeIR/html/0004201a2b5b/SqueezeIR.xml'.
  Feb 22 11:16:58 squeezeplay: INFO   applet.SqueezeIR - 
SqueezeIRApplet.lua:1643 Config successfully received from 
'http://10.0.3.242:9000/SqueezeIR/html/0004201a2b5b/SqueezeIR.xml'.
  Feb 22 11:17:00 squeezeplay: INFO   applet.SqueezeIR - 
SqueezeIRApplet.lua:1653 Config successfully interpreted.
  Feb 22 11:17:00 squeezeplay: INFO   squeezeplay.applets - 
AppletManager.lua:708 store settings: SqueezeIR
  Feb 22 11:17:00 squeezeplay: INFO   applet.SqueezeIR - 
SqueezeIRApplet.lua:1502 Looking for required additional files...
  Feb 22 11:17:00 squeezeplay: INFO   applet.SqueezeIR - 
SqueezeIRApplet.lua:1536 2 Additional files required.
  Feb 22 11:17:00 squeezeplay: INFO   applet.SqueezeIR - 
SqueezeIRApplet.lua:1582 Requesting file from 
'http://10.0.3.242:9000/SqueezeIR/html/0004201a2b5b/Denon_RC-861.lirc.txt'.
  Feb 22 11:17:00 squeezeplay: INFO   applet.SqueezeIR - 
SqueezeIRApplet.lua:1582 Requesting file from 
'http://10.0.3.242:9000/SqueezeIR/html/0004201a2b5b/TEAC.lirc.txt'.
  Feb 22 11:17:00 squeezeplay: INFO   applet.SqueezeIR - 
SqueezeIRApplet.lua:1559 Receiving file from 
'http://10.0.3.242:9000/SqueezeIR/html/0004201a2b5b/Denon_RC-861.lirc.txt'.
  Feb 22 11:17:00 squeezeplay: INFO   applet.SqueezeIR - 
SqueezeIRApplet.lua:1562 File successfully received from 
'http://10.0.3.242:9000/SqueezeIR/html/0004201a2b5b/Denon_RC-861.lirc.txt'.
  Feb 22 11:17:00 squeezeplay: INFO   squeezeplay.applets - 
AppletManager.lua:708 store settings: SqueezeIR
  Feb 22 11:17:00 squeezeplay: INFO   applet.SqueezeIR - 
SqueezeIRApplet.lua:1559 Receiving file from 
'http://10.0.3.242:9000/SqueezeIR/html/0004201a2b5b/TEAC.lirc.txt'.
  Feb 22 11:17:00 squeezeplay: INFO   applet.SqueezeIR - 
SqueezeIRApplet.lua:1562 File successfully received from 
'http://10.0.3.242:9000/SqueezeIR/html/0004201a2b5b/TEAC.lirc.txt'.
  Feb 22 11:17:00 squeezeplay: INFO   squeezeplay.applets - 
AppletManager.lua:708 store settings: SqueezeIR
  Feb 22 11:17:00 squeezeplay: INFO   applet.SqueezeIR - 
SqueezeIRApplet.lua:1387 Menu 'PARLOR STEREO' found in Menus.
  Feb 22 11:17:00 squeezeplay: INFO   applet.SqueezeIR - 
SqueezeIRApplet.lua:1390 Linking Actions: MenuEvent; Profile='PARLOR'...
  Feb 22 11:17:00 squeezeplay: INFO   applet.SqueezeIR - 
SqueezeIRApplet.lua:1400 Linking Actions: KeyCode=STOP (3072); 
Profile='PARLOR'...
  Feb 22 11:17:00 squeezeplay: INFO   applet.SqueezeIR - 
SqueezeIRApplet.lua:1127   Linking Action 'aux' to...
  Feb 22 11:17:00 squeezeplay: INFO   applet.SqueezeIR - 
SqueezeIRApplet.lua:1128   Remote='DENON'; Protocol='LIRC'; Command='aux'...
  Feb 22 11:17:01 squeezeplay: INFO   applet.SqueezeIR - 
SqueezeIRApplet.lua:1144   Command linked successfully.
  Feb 22 11:17:01 squeezeplay: INFO   applet.SqueezeIR - 
SqueezeIRApplet.lua:1400 Linking Actions: KeyCode=VOLUME_UP (4096); 
Profile='PARLOR'...
  Feb 22 11:17:01 squeezeplay: INFO   applet.SqueezeIR - 
SqueezeIRApplet.lua:1127   Linking Action 'vol+' to...
  Feb 22 11:17:01 squeezeplay: INFO   applet.SqueezeIR - 
SqueezeIRApplet.lua:1128   Remote='DENON'; Protocol='LIRC'; Command='vol+'...
  Feb 22 11:17:01 squeezeplay: INFO   applet.SqueezeIR - 
SqueezeIRApplet.lua:1144   Command linked successfully.
  Feb 22 11:17:01 squeezeplay: INFO   applet.SqueezeIR - 
SqueezeIRApplet.lua:1400 Linking Actions: KeyCode=VOLUME_DOWN (8192); 
Profile='PARLOR'...
  Feb 22 11:17:01 squeezeplay: INFO   applet.SqueezeIR - 
SqueezeIRApplet.lua:1127   Linking Action 'vol-' to...
  Feb 22 11:17:01 squeezeplay: INFO   applet.SqueezeIR - 
SqueezeIRApplet.lua:1128   Remote='DENON'; Protocol='LIRC'; Command='vol-'...
  Feb 22 11:17:01 squeezeplay: INFO   applet.SqueezeIR - 
SqueezeIRApplet.lua:1144   Command linked successfully.
  Feb 22 11:17:01 squeezeplay: INFO   applet.SqueezeIR - 

Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2012-02-22 Thread Hinz-und-Kunz


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.


Same Config file, only one action Item more:

Code:


  ?xml version=1.0? !-- DO NOT TOUCH THIS LINE --
  SqueezeIR !-- DO NOT TOUCH THIS LINE --
  hotkey384/hotkey !-- play | add --
  minPopupTime2000/minPopupTime
  keyNames
keyName ID=GO1/keyName
keyName ID=HOME64/keyName
keyName ID=FWD2048/keyName
keyName ID=REW1024/keyName
keyName ID=BACK2/keyName
keyName ID=PLAY128/keyName
keyName ID=PAUSE512/keyName
keyName ID=VOLUMEUP4096/keyName
keyName ID=VOLUMEDOWN8192/keyName
keyName ID=ADD256/keyName
keyName ID=VOLUMEMUTE12288/keyName !-- VOLUMEUP | VOLUMEDOWN --
keyName ID=PREVIOUS1536/keyName !-- PAUSE | REW --
keyName ID=NEXT2560/keyName !-- PAUSE | FWD --
keyName ID=STOP3072/keyName !-- REW | FWD --
  /keyNames
  remotes
remote ID=PANA
protocolLIRC/protocol
parameters
parameter 
ID=filenameViera-42PZ700U.lirc.txt/parameter 
parameter 
ID=remotePanasonic_Viera-42PZ700U/parameter 
/parameters
/remote
  /remotes
  profiles
profile ID={none}
/profile
profile ID=Panasonic
  menuPanasonic_Aktion/menu
  homeCaptionPanasonic/homeCaption
  menuEvent 
  /menuEvent
  /profile 
  /profiles
  menus
menu ID=Panasonic_Aktion
profilePanasonic/profile
items
item order=1
captionnur_Haupt/caption
events
event ID=ALL

targetPanasonic_Aktion/target
actions
action order=1

remotePANA/remote

commandok/command
pause2/pause
/action
action order=2

remotePANA/remote

commandmute/command

pause10/pause
/action
action order=3

remotePANA/remote

commandmenu/command

pause120/pause
/action
action order=4

remotePANA/remote

commandup/command
pause5/pause
/action
action order=5

remotePANA/remote

commandup/command
pause5/pause
/action   

/actions
/event
/events
/item
/items
/menu
  /menus
  /SqueezeIR
  


The error log for this:

Code:


  Feb 22 11:36:41 squeezeplay: INFO   applet.SqueezeIR - 
SqueezeIRApplet.lua:1595 *  SqueezeIR v1.12 (19 February 2012) 
Configuration begun.  Timestamp='Wed Feb 22 11:36:41 2012'.  *
  Feb 22 11:36:41 squeezeplay: INFO   squeezeplay.applets - 
AppletManager.lua:708 store settings: SqueezeIR
  Feb 22 11:36:41 squeezeplay: INFO   applet.SqueezeIR - 
SqueezeIRApplet.lua:1665 Requesting config from 

Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2012-02-22 Thread Hinz-und-Kunz


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.


Here my small config with only 4 action items:

Code:


  ?xml version=1.0? !-- DO NOT TOUCH THIS LINE --
  SqueezeIR !-- DO NOT TOUCH THIS LINE --
  hotkey384/hotkey !-- play | add --
  minPopupTime2000/minPopupTime
  keyNames
keyName ID=GO1/keyName
keyName ID=HOME64/keyName
keyName ID=FWD2048/keyName
keyName ID=REW1024/keyName
keyName ID=BACK2/keyName
keyName ID=PLAY128/keyName
keyName ID=PAUSE512/keyName
keyName ID=VOLUMEUP4096/keyName
keyName ID=VOLUMEDOWN8192/keyName
keyName ID=ADD256/keyName
keyName ID=VOLUMEMUTE12288/keyName !-- VOLUMEUP | VOLUMEDOWN --
keyName ID=PREVIOUS1536/keyName !-- PAUSE | REW --
keyName ID=NEXT2560/keyName !-- PAUSE | FWD --
keyName ID=STOP3072/keyName !-- REW | FWD --
  /keyNames
  remotes
remote ID=PANA
protocolLIRC/protocol
parameters
parameter 
ID=filenameViera-42PZ700U.lirc.txt/parameter 
parameter 
ID=remotePanasonic_Viera-42PZ700U/parameter 
/parameters
/remote
  /remotes
  profiles
profile ID={none}
/profile
profile ID=Panasonic
  menuPanasonic_Aktion/menu
  homeCaptionPanasonic/homeCaption
  menuEvent 
  /menuEvent
  /profile 
  /profiles
  menus
menu ID=Panasonic_Aktion
profilePanasonic/profile
items
item order=1
captionnur_Haupt/caption
events
event ID=ALL

targetPanasonic_Aktion/target
actions
action order=1

remotePANA/remote

commandok/command
pause2/pause
/action
action order=2

remotePANA/remote

commandmute/command

pause10/pause
/action
action order=3

remotePANA/remote

commandmenu/command

pause120/pause
/action
action order=4

remotePANA/remote

commandup/command
pause5/pause
/action
/actions
/event
/events
/item
/items
/menu
  /menus
  /SqueezeIR
  


The error log with success:

Code:


  Feb 22 11:31:15 squeezeplay: INFO   applet.SqueezeIR - 
SqueezeIRApplet.lua:1595 *  SqueezeIR v1.12 (19 February 2012) 
Configuration begun.  Timestamp='Wed Feb 22 11:31:15 2012'.  *
  Feb 22 11:31:15 squeezeplay: INFO   squeezeplay.applets - 
AppletManager.lua:708 store settings: SqueezeIR
  Feb 22 11:31:15 squeezeplay: INFO   applet.SqueezeIR - 
SqueezeIRApplet.lua:1665 Requesting config from 
'http://10.0.3.242:9000/SqueezeIR/html/0004201a2b5b/SqueezeIR.xml'.
  Feb 22 11:31:15 squeezeplay: INFO   applet.SqueezeIR - 
SqueezeIRApplet.lua:1640 Receiving config from 
'http://10.0.3.242:9000/SqueezeIR/html/0004201a2b5b/SqueezeIR.xml'.
  Feb 22 11:31:15 squeezeplay: INFO   applet.SqueezeIR - 
SqueezeIRApplet.lua:1643 Config successfully received from 
'http://10.0.3.242:9000/SqueezeIR/html/0004201a2b5b/SqueezeIR.xml'.
  Feb 22 11:31:15 squeezeplay: INFO   

Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2012-02-22 Thread indifference_engine


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.


h, as usual I've fixed something whilst breaking something else. 
The only difference between v1.11  v1.12 is that I wrapped some of the
internal functions in pcall() to guard against possible crashes due to
malformed xml config files.  It appears that by doing so I can no
longer use co-routines which I used to prevent the controller's
watchdog from rebooting the controller if there was a large config file
that took a long time to load.

If you are confident that your config file is ok could you try the
preveious version (v1.11) with your large xml file and let me know if
it works.  All the previous versions are available from the website but
you will need to install it manually using SSH, instructions are here:
http://wiki.slimdevices.com/index.php/SqueezePlay_Applets

Other than that all I can say is sorry and please bear with me while I
try to figure out a fix that is compatible with both issues.


-- 
indifference_engine

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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2012-02-22 Thread Hinz-und-Kunz


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.


IÂ’m sorry,
I forgot to say that it first time happens in v1.11. Update to v1.12
doesnÂ’t help.
I would like to perform the initial configuration of 20 TVs.
First I tried the various configuration steps separately and then I
have all brought together in a large configuration.
I had working configurations with 3000 lines, the crashing
configuration was then 6500 lines.
The crash happened 2 weeks before, yesterday was the delivery of TVs,
so I am again dealing with the problem. Your update was not the reason
for the problem message.

It looks as if the xml parser storage runs out of space. Where stores
the xml parser? Is it possible to clean up parsers destination?

Thanks for your help


+---+
|Filename: Viera-42PZ700U.lirc.txt  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=13103|
+---+

-- 
Hinz-und-Kunz

Hinz-und-Kunz's Profile: http://forums.slimdevices.com/member.php?userid=54463
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2012-02-19 Thread maf


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.


Hello,

Can I attach SqueezeIR actions to a SqueezePlay menu item? E.g., can I
send the IR commands to power on the stereo and switch it to AUX when I
use the controller to turn on the receiver?

Thanks,
maf


-- 
maf

maf's Profile: http://forums.slimdevices.com/member.php?userid=30870
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2012-02-19 Thread indifference_engine


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.


No, but you can attach squeezeplay actions to squeezeir menus so the
receiver will start playing when you turn the amp on.

Sent from my HTC Sensation Z710e using Tapatalk


-- 
indifference_engine

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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2012-02-19 Thread maf


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.


But that takes about two more clicks and some additional wheel action
,-)!

Admittedly, I know very little about SqueezePlay, SqueezeIR, and Lua:
Would it be possible to modify SqueezePlay to perform an action
specified in SqueezeIR? Or may be there even is some sort of a
MenuBender plugin that would allow me to trigger an additional menu
action (power on receiver) when I perform another one (turn on
receiver)?


-- 
maf

maf's Profile: http://forums.slimdevices.com/member.php?userid=30870
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2012-02-19 Thread indifference_engine


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.


Hi everyone,

It's been very quiet in SqueezeIR land recently so I've been very lazy
until two new faces showed up in town!  To celebrate this, I have just
released version 1.12 of SqueezeIR.  It's nothing to get excited about
though, just a maintenance release that fixes the bug where malformed
xml could cause SqueezeIR to get 'stuck' at status 2 (in progress) when
updating the configuration.

Have fun!


-- 
indifference_engine

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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2012-02-19 Thread indifference_engine


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.


gorman;689645 Wrote: 
 Edit: shouldn't the commands be working only when the Sala player is
 selected? It's the only one I have connected to an amp...
You need a second (empty) profile to be used when a different player is
selected:

Code:


  profiles
  profile ID=none/
  ...
  /profiles
  


Then go into SettingsSqueezeIR and make sure 'Use Player Profiles' is
checked and that the default profile is the new, empty one.

Now the default profile is used (which is empty and so does nothing)
unless Sala is the selected player.


-- 
indifference_engine

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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2012-02-19 Thread indifference_engine


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.


indifference_engine;691375 Wrote: 
 No, but you can do it the other way round ie attach squeezeplay actions
 to squeezeir menu items so the receiver will start playing when you
 turn the amp on.
 
 Sent from my HTC Sensation Z710e using Tapatalk

Actually, you could add the required IR commands to the Play or Go
buttons which would do what you want but not if the receiver is started
by some other means (eg web interface/ipeng). Also, the ir would be sent
every time the buttons are pressed, not just when the receiver first
starts playing.


-- 
indifference_engine

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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2012-02-14 Thread maf


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.


I managed to maneuver SqueezeIR 1.11 into a state that wouldn't allow me
to access any of its two menus. As far as I can tell, I achieved that
by
- uploading a broken SqueezeIR.xml (it contained an invalid menu ID),
- trying to upload that configuration again when I didn't get the
expected result screen, and
- clearing the cache.
By now I know that the second upload probably didn't do anything
because the value mlngConfigStatus was still at 2, preventing further
uploads.

In the controller's log I found after a restart:

Code:

Feb 13 08:53:33 squeezeplay: INFO   squeezeplay.applets - 
AppletMeta.lua:146 entering SqueezeIR
  Feb 13 08:53:33 squeezeplay: INFO   applet.SqueezeIR - 
SqueezeIRApplet.lua:1691 *  SqueezeIR v1.11 (09 February 2011) 
Configuration begun.  Timestamp='Mon Feb 13 08:53:33 2012'.  *
  Feb 13 08:53:33 squeezeplay: INFO   applet.SqueezeIR - 
SqueezeIRApplet.lua:1692 Attempting to read configuration from local cache...
  Feb 13 08:53:33 squeezeplay: INFO   squeezeplay.applets - 
AppletManager.lua:708 store settings: SqueezeIR
  Feb 13 08:53:33 squeezeplay: WARN   applet.SqueezeIR - 
SqueezeIRApplet.lua:1715 WARN: Cached copy of 'SqueezeIR.xml' is not available.
  Feb 13 08:53:33 squeezeplay: WARN   applet.SqueezeIR - 
SqueezeIRApplet.lua:930 ERROR: Configuration failed to load.
  Feb 13 08:53:33 squeezeplay: INFO   squeezeplay.applets - 
AppletManager.lua:708 store settings: SqueezeIR
  Feb 13 08:53:33 squeezeplay: INFO   applet.SqueezeIR - 
SqueezeIRApplet.lua:992 Loading User Settings...
  Feb 13 08:53:33 squeezeplay: INFO   applet.SqueezeIR - 
SqueezeIRApplet.lua:998 User Settings loaded. ButtonsEnabled='TRUE'; 
DefaultProfile='WOHNZIMMER'; UsePlayerProfiles='TRUE'; UseIRoIP='TRUE'.
  Feb 13 08:53:33 squeezeplay: INFO   applet.SqueezeIR - 
SqueezeIRApplet.lua:1002 *  SqueezeIR Configuration Completed.  
Result=1 (Nicht gestartet).  *
  Feb 13 08:53:33 squeezeplay: ERROR  squeezeplay.applets - 
AppletManager.lua:518 Error while evaluating applet 
SqueezeIR:...usr/share/jive/applets/SqueezeIR/SqueezeIRApplet.lua:1007: attempt 
to index field 'IROIP' (a nil value)
  Feb 13 08:53:33 squeezeplay: stack traceback:
  Feb 13 08:53:33 squeezeplay:/usr/share/jive/jive/AppletManager.lua:518: 
in function '_pevalApplet'
  Feb 13 08:53:33 squeezeplay:/usr/share/jive/jive/AppletManager.lua:560: 
in function 'loadApplet'
  Feb 13 08:53:33 squeezeplay:/usr/share/jive/jive/AppletMeta.lua:150: in 
function 'callback'
  Feb 13 08:53:33 squeezeplay:/usr/share/jive/jive/ui/SimpleMenu.lua:189: 
in function 'itemListener'
  Feb 13 08:53:33 squeezeplay:/usr/share/jive/jive/ui/Menu.lua:154: in func



My fix was to modify FinishConfig in SqueezeIRApplet.lua on the
controller:

Code:


  if mstrUseIRoIP == TRUE then
  if mobjIRoIPServer == nil and mtblData[IROIP] ~= nil then
  mobjIRoIPServer = socket.bind(*, mtblData[IROIP][PORT])
  end
  
  if mobjIRoIPServer ~= nil then
  mtmrIRoIP:restart(IR_OVER_IP_INTERVAL)
  end
  end
  


After a restart, the SqueezeIR menus were available again and I
successfully uploaded a fixed configuration.

It seems to me, initially SqueezeIR had been stuck in mlngConfigStatus
2, preventing the upload of a configuration. And an invalid cached
configuration prevented menu access and subsequently configuration
upload after a restart. Is there any way short of restarting the
receiver to get back to mlngConfigStatus 1?


-- 
maf

maf's Profile: http://forums.slimdevices.com/member.php?userid=30870
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2012-02-14 Thread indifference_engine


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.


Could you upload or pm me the broken xml that caused the problem? There
are a few scenarios that could cause squeezeir to get stuck rather than
gracefully fail but the cache should only ever contain good xml as it
only gets saved after a successful load.


Sent from my HTC Sensation Z710e using Tapatalk


-- 
indifference_engine

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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2012-02-14 Thread maf


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.


I'm afraid I don't have the original broken config file anymore. But
I'll happily attach my best attempt at recreating it. Note: I had to
append an extension .txt to upload it.

There are two things in the xml I corrected before it was accepted by
SqueezeIR: A menu ID contains a space (may be that wasn't an error,
after all) and the target section is outside of the actions section
(I forgot about that one this morning, sorry).


+---+
|Filename: SqueezeIR.xml.txt|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=13064|
+---+

-- 
maf

maf's Profile: http://forums.slimdevices.com/member.php?userid=30870
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2012-02-08 Thread gorman


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.


Any reason why a configuration file could stay indefinitely with
Result: 2 (In Progress) status?

I have tried a simple configuration, based on the sample. My amp is an
Onkyo for which I have the relevant Pronto hex codes.

I paste the SqueezeIR.xml file that resides in:
C:\Program Files
(x86)\Squeezebox\server\HTML\SqueezeIR\html\0004201abdbf

If I press and hold the Home button the Controller turns itself off...


Code:

?xml version=1.0? !-- DO NOT TOUCH THIS LINE --
  
  SqueezeIR !-- DO NOT TOUCH THIS LINE --   
  hotkey66/hotkey !-- 66 = HOME+BACK -- 
  
  remotes
  remote ID=AMP
  protocolPRONTO/protocol
  commands
  command ID=VOL_UP 006D 0022 0002 0156 00AB 0015 0015 0015 003F 0015 
0015 0015 0015 0015 003F 0015 0015 0015 003F 0015 003F 0015 003F 0015 0015 0015 
003F 0015 003F 0015 0015 0015 003F 0015 003F 0015 0015 0015 0015 0015 003F 0015 
0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 003F 0015 0015 0015 
003F 0015 003F 0015 003F 0015 003F 0015 003F 0015 003F 0015 05CC 0156 0055 0015 
0E47/command
  command ID=VOL_DOWN 006D 0022 0002 0156 00AB 0015 0015 0015 003F 0015 
0015 0015 0015 0015 003F 0015 0015 0015 003F 0015 003F 0015 003F 0015 0015 0015 
003F 0015 003F 0015 0015 0015 003F 0015 003F 0015 0015 0015 003F 0015 003F 0015 
0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 
003F 0015 003F 0015 003F 0015 003F 0015 003F 0015 003F 0015 05CC 0156 0055 0015 
0E47/command
  command ID=POWER 006D 0022 0002 0156 00AB 0015 0015 0015 003F 0015 
0015 0015 0015 0015 003F 0015 0015 0015 003F 0015 003F 0015 0015 0015 0015 0015 
003F 0015 003F 0015 0015 0015 003F 0015 003F 0015 0015 0015 003F 0015 003F 0015 
0015 0015 003F 0015 0015 0015 0015 0015 003F 0015 003F 0015 0015 0015 0015 0015 
003F 0015 0015 0015 003F 0015 003F 0015 0015 0015 0015 0015 05F6 0156 0055 0015 
0E47/command
  /commands
  /remote
  /remotes
  profiles
  profile ID=Sala
  keys
  key ID=VOLUME_UP
  events
  event ID=ALL
  overrideTRUE/override
  
  actions
  action order=1
  remoteAMP/remote
  commandVOL_UP/command
  /action
  /actions
  /event
  /events
  /key
  
  key ID=VOLUME_DOWN
  events
  event ID=ALL
  overrideTRUE/override
  
  actions
  action order=1
  remoteAMP/remote
  commandVOL_DOWN/command
  /action
  /actions
  /event
  /events
  /key
  
  key ID=HOME
  events
  event ID=HOLD
  overrideTRUE/override
  
  actions
  action order=1
  remoteAMP/remote
  commandPOWER/command
  /action
  /actions
  /event
  /events
  /key
  /keys
  /profile
  /profiles
  /SqueezeIR !-- DO NOT TUCH THIS LINE -- 



-- 
gorman

gorman's Profile: http://forums.slimdevices.com/member.php?userid=56
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2012-02-08 Thread indifference_engine


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.


gorman;689549 Wrote: 
 Any reason why a configuration file could stay indefinitely with
 Result: 2 (In Progress) status?
 
 Yes.  It's caused by an error in your xml file coupled with a bug in
 SqueezeIR that makes it intolerant of the error.
 
 Thankfully the fix is easy - all you need to do is wrap the pronto hex
 codes inside a 'value' tag so the affected part of your file should
 look like this:
  
Code:

  
   commands
   command ID=VOL_UP
   value 006D 0022 0002 0156 00AB 0015 0015 0015 003F 0015 0015 0015 
0015 0015 003F 0015 0015 0015 003F 0015 003F 0015 003F 0015 0015 0015 003F 0015 
003F 0015 0015 0015 003F 0015 003F 0015 0015 0015 0015 0015 003F 0015 0015 0015 
0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 003F 0015 0015 0015 003F 0015 
003F 0015 003F 0015 003F 0015 003F 0015 003F 0015 05CC 0156 0055 0015 
0E47/value
   /command
   command ID=VOL_DOWN
   value 006D 0022 0002 0156 00AB 0015 0015 0015 003F 0015 0015 0015 
0015 0015 003F 0015 0015 0015 003F 0015 003F 0015 003F 0015 0015 0015 003F 0015 
003F 0015 0015 0015 003F 0015 003F 0015 0015 0015 003F 0015 003F 0015 0015 0015 
0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 003F 0015 
003F 0015 003F 0015 003F 0015 003F 0015 003F 0015 05CC 0156 0055 0015 
0E47/value
   /command
   command ID=POWER
   value 006D 0022 0002 0156 00AB 0015 0015 0015 003F 0015 0015 0015 
0015 0015 003F 0015 0015 0015 003F 0015 003F 0015 0015 0015 0015 0015 003F 0015 
003F 0015 0015 0015 003F 0015 003F 0015 0015 0015 003F 0015 003F 0015 0015 0015 
003F 0015 0015 0015 0015 0015 003F 0015 003F 0015 0015 0015 0015 0015 003F 0015 
0015 0015 003F 0015 003F 0015 0015 0015 0015 0015 05F6 0156 0055 0015 
0E47/value
   /command
   /commands
   

  
 
 I tested the amended config file on my controller and it loaded fine.
 Whether or not it will control your amp is another matter ;)


-- 
indifference_engine

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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2012-02-08 Thread gorman


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.


It works flawlessly, thank you so much!


-- 
gorman

gorman's Profile: http://forums.slimdevices.com/member.php?userid=56
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2011-10-14 Thread Paden


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.


indifference_engine;662164 Wrote: 
 My only suggestion is to restart the controller again, or try removing
 SIR, restarting and re-installing SIR.  IIRC there is a setting
 somewhere in options to add/remove to the home-menu but not to change
 the ordering.

Having had a stable set-up, I've only just updated to 7.6, only to find
that this has the facility to re-order the home menu built in!
Just press the + button while against your chosen home menu item 
you're given options to move it :-)

Cheers, Paul


-- 
Paden

Paden's Profile: http://forums.slimdevices.com/member.php?userid=21468
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2011-10-08 Thread indifference_engine


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.


My only suggestion is to restart the controller again, or try removing
SIR, restarting and re-installing SIR.  IIRC there is a seting
somewhere in options to add/remove to the home-menu but not to change
the ordering.


-- 
indifference_engine

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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2011-10-07 Thread Paden


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.


Hi all
Trying to use the headphone facility of the Controller this evening to
listen to football, neither of which turned out very well!
I ended up having to remove the battery to resolve an issue with the
Controller, following which the SqeezeIR menu item was no longer at
the top of the pile, which it had been.
I seem to remember that there's a way to force it to the top but I've
been unable to find it with the search facility, can anyone shed any
light?

Cheers, Paul


-- 
Paden

Paden's Profile: http://forums.slimdevices.com/member.php?userid=21468
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2011-05-05 Thread indifference_engine


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.


mrtbart;629378 Wrote: 
 Very nice app. I just managed to make my cd-player 'play', as a test,
 and that's extremely satisfying. From now I will examine other features
 of this wonderful app.
 
 I used a lirc-file for marantz
 CD63(lirc.sourceforge.net/remotes/marantz/RC-63CD) and a completely
 stripped standard squeezeIR.xml from w w w
 /woodbine.me.uk/squeezebox/squeezeir/files to command my marantz
 cd-60.
 
 To make a contribution, I attach the Strings.txt including dutch
 translation
Hey, glad you got it working!  I have added your strings to the applet
package.


-- 
indifference_engine

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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2011-05-04 Thread mrtbart


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.


Very nice app. I just managed to make my cd-player 'play', as a test,
and that's extremely satisfying. From now I will examine other features
of this wonderful app.

I used a lirc-file for marantz
CD63(lirc.sourceforge.net/remotes/marantz/RC-63CD) and a completely
stripped standard squeezeIR.xml from w w w
/woodbine.me.uk/squeezebox/squeezeir/files to command my marantz
cd-60.

To make a contribution, I attach the Strings.txt including dutch
translation


+---+
|Filename: strings.txt  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=11804|
+---+

-- 
mrtbart

mrtbart's Profile: http://forums.slimdevices.com/member.php?userid=46355
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2011-03-09 Thread Nautilus


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.


indifference_engine;616288 Wrote: 
 Dude, that is sweet!  I'm no expert with html and wanted ir-o-ip to do
 just that but I couldn't figure it out.  Just a hunch but you may be
 able to do it with frames?  Have one frame that is updated with the
 SqueezeIR response and a second static frame containing your picture??
 I'm sure it could also be done with java or some other scripting
 language (perl would be ideal as it could then be an SBS 
 plugin!!)Pokersut;616400 Wrote: 
 Just an idea: Use javascript to open the link in a small popup window
 and use the same script to close the window again after a few seconds?
 
 Shouldn't be too difficult to code, but I haven't experimented with
 ip-to-ir yet, so I don't know if it's possible.
 
 Mikkel

Ok, I'll have to look into it - almost zero experience with HTML let
alone Java :) So, you think that (frames or java) might work with iOS
Safari (which would be mostly used as the interface) as well?


-- 
Nautilus

Nautilus's Profile: http://forums.slimdevices.com/member.php?userid=19856
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2011-03-09 Thread indifference_engine


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.


eversonl;616497 Wrote: 
 OK so I managed to cobble together a IR receiver and learn the codes via
 winlirc.
 
 Attached is the file but I have no idea how to refer to the name. I
 have tried the below setup which appears to load OK, but still doesn't
 workany ideas?
The xml looks good but learned codes are notoriously unreliable.  I'll
have a look at analysing them and converting them into the more
reliable paramaterised lirc format.


-- 
indifference_engine

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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2011-03-09 Thread Pokersut


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.


Nautilus;616674 Wrote: 
 Ok, I'll have to look into it - almost zero experience with HTML let
 alone Java :) So, you think that (frames or java) might work with iOS
 Safari (which would be mostly used as the interface) as well?

I would go for javascript (note: java is not the same as javascript) -
frames are an outdated technology. All browsers support javascript, and
although it can be disabled manually, it is by default enabled in all
major browsers.

Google will give you plenty of resources as to the exact coding - here
is a page about opening links in the background:
http://snippets.dzone.com/posts/show/2915

Happy coding!


-- 
Pokersut

Pokersut's Profile: http://forums.slimdevices.com/member.php?userid=14520
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2011-03-09 Thread eversonl


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.


indifference_engine;616710 Wrote: 
 The xml looks good but learned codes are notoriously unreliable.  I'll
 have a look at analysing them and converting them into the more
 reliable paramaterised lirc format.

Thanks, I tried the irrecord -a on teh learned file but it failed.


-- 
eversonl

eversonl's Profile: http://forums.slimdevices.com/member.php?userid=44317
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2011-03-08 Thread Pokersut


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.


Nautilus;615611 Wrote: 
 The first part I've done and it's not a huge job to press the back
 button on the browser after executing a command but it would give it a
 more sleek look  feel if it did not go the default page at all. So
 essentially what I'm looking for is some way to execute a href target
 sort of without going to that target url:)

Just an idea: Use javascript to open the link in a small popup window
and use the same script to close the window again after a few seconds?

Shouldn't be too difficult to code, but I haven't experimented with
ip-to-ir yet, so I don't know if it's possible.

Mikkel


-- 
Pokersut

Pokersut's Profile: http://forums.slimdevices.com/member.php?userid=14520
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2011-03-08 Thread eversonl


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.


OK so I managed to cobble together a IR receiver and learn the codes via
winlirc.

Attached is the file but I have no idea how to refer to the name. I
have tried the below setup which appears to load OK, but still doesn't
workany ideas?

eversonl;614527 Wrote: 
 no, I haven't tried contacting Lg as yet, I'll so that in  a moment.
 I thought it would be odd, but honestly the xml loaded every time and
 of the 255 only 9 did anything.


+---+
|Filename: SqueezeIR.xml.txt|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=11483|
+---+

-- 
eversonl

eversonl's Profile: http://forums.slimdevices.com/member.php?userid=44317
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2011-03-07 Thread indifference_engine


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.


Nautilus;615611 Wrote: 
 Hi again,
 
 Just began experimenting with IR-o-IP. 
 
 Would anyone have any hints on how to obtain the following: have my own
 html page (picture of a remote or something as the background) with
 links to the html IR commands, then when clicking a button to execute
 the IR command it would remain on the remote page and not go to the
 default SqueezeIR page? The first part I've done and it's not a huge
 job to press the back button on the browser after executing a command
 but it would give it a more sleek look  feel if it did not go the
 default page at all. So essentially what I'm looking for is some way to
 execute a href target sort of without going to that target url:)
Dude, that is sweet!  I'm no expert with html and wanted ir-o-ip to do
just that but I couldn't figure it out.  Just a hunch but you may be
able to do it with frames?  Have one frame that is updated with the
SqueezeIR response and a second static frame containing your picture??
I'm sure it could also be done with java or some other scripting
language (perl would be ideal as it could then be an SBS plugin!!)


-- 
indifference_engine

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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2011-03-05 Thread Nautilus


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.


Hi again,

Just began to experimenting with IR-o-IP. 

Would anyone have any hints on how to obtain the following: have my own
html page (picture of a remote or something as the background) with
links to the html IR commands, then when clicking a button to execute
the IR command it would remain on the remote page and not go to the
default SqueezeIR page? The first part I've done and it's not a huge
job to press the back button on the browser after executing a command
but it would give it a more sleek look  feel if it did not go the
default page at all. So essentially what I'm looking for is some way to
execute a href target sort of without going to that target url:)


-- 
Nautilus

Nautilus's Profile: http://forums.slimdevices.com/member.php?userid=19856
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2011-02-28 Thread eversonl


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.


odd, but I cant get this to work,
I have taken out all trace of my remote but it always loads with a warn
(4)
any ideas?


-- 
eversonl

eversonl's Profile: http://forums.slimdevices.com/member.php?userid=44317
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2011-02-28 Thread indifference_engine


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.


eversonl;614465 Wrote: 
 odd, but I cant get this to work,
 I have managed to find several codes which do things but none of the
 255 codes turn the thing off/on
 
 How many permutations are there of the leading info##  bits  
 16
 flags SPACE_ENC|CONST_LENGTH|REPEAT_HEADER
 eps30
 aeps  100
 
 header   4552  4534
 one   563  1681
 zero  563   559
 ptrail545
 repeat531  1710
 pre_data_bits   16
 pre_data   0x3434
 gap  108234
 toggle_bit  0

There's another 256 possible pre_data values making for a grand total
of 65536 possible codes in the NEC protocol standard (which this is). 
It would be very unlikely though if the power code used a different
pre_data value to the rest of the system.  Have you tried contacting
LG?  They may be helpful.


-- 
indifference_engine

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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2011-02-28 Thread eversonl


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.


no, I haven't tried contacting Lg as yet, I'll so that in  a moment.
I thought it would be odd, but honestly the xml loaded every time and
of the 255 only 9 did anything.


-- 
eversonl

eversonl's Profile: http://forums.slimdevices.com/member.php?userid=44317
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2011-02-24 Thread eversonl


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.


The  may be causing issues but I would have though the whole file
wouldn't work if that were the case, and volume+ volume- does. but
worth a try even though I am not using them in the xml (which is
attached). I am trying to keep it very simple, I only really 'need'
volume and power controls.

Yes I do get a status 3(success) message when I load the config, in
order to reload I tend to clear the cache, reload the cache, (screen
then states its never been configured) then reload config and I get the
success message.

I have not noticed the screen shimmering, but I havent looked that
closely at it (but will tonight) if I swap the code for volume+ with
power and hold the home button the volume goes up so the referencing to
the key name is working. When I hold the button the pop-up message
appears so everything seem to be triggering which is why I think I
probably have the wrong code. tracking through the 256 isn't an
appealing idea but if needs must.

Thanks for any help!


+---+
|Filename: SqueezeIR.zip|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=11425|
+---+

-- 
eversonl

eversonl's Profile: http://forums.slimdevices.com/member.php?userid=44317
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2011-02-24 Thread indifference_engine


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.


eversonl;613470 Wrote: 
 The  may be causing issues but I would have though the whole file
 wouldn't work if that were the case, and volume+ volume- does. but
 worth a try even though I am not using them in the xml (which is
 attached). I am trying to keep it very simple, I only really 'need'
 volume and power controls.
 
 Yes I do get a status 3(success) message when I load the config, in
 order to reload I tend to clear the cache, reload the cache, (screen
 then states its never been configured) then reload config and I get the
 success message.
 
 I have not noticed the screen shimmering, but I havent looked that
 closely at it (but will tonight) if I swap the code for volume+ with
 power and hold the home button the volume goes up so the referencing to
 the key name is working. When I hold the button the pop-up message
 appears so everything seem to be triggering which is why I think I
 probably have the wrong code. tracking through the 256 isn't an
 appealing idea but if needs must.
 
 Thanks for any help!

Agreed, your xml is fine.  There's no need to flush the cache in the
normal course of events, it's really just there to fully remove
SqueezeIR as the cache will persist even if the applet is removed. 
Testing all the possibilities really doesn't take that long, I did it
for my amp using a menu containing 50 at a time (don't make menu's too
big - you will be asking for trouble!) and did the whole lot in around
20 minutes.


-- 
indifference_engine

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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2011-02-24 Thread eversonl


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.


thanks for the check!
don't suppose you still have those files/menus around?
or a template for how best to do it?
Thanks again
Lee


-- 
eversonl

eversonl's Profile: http://forums.slimdevices.com/member.php?userid=44317
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2011-02-24 Thread indifference_engine


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.


eversonl;613596 Wrote: 
 thanks for the check!
 don't suppose you still have those files/menus around?
 or a template for how best to do it?
 Thanks again
 Lee

You're in luck! I found my scripts and attached are the lirc commands
and SqueezeIR xml menus.  Just paste them into your files and work
through them.  You'll need to add the line menutest/menu to your
active profile so that SqueezeIR knows to show the menu.


+---+
|Filename: XML.txt  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=11427|
+---+

-- 
indifference_engine

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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2011-02-23 Thread eversonl


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.


Hi,
I am trying to control an LG 6710CDAK14D Remote for an LG AMP.
I have used the lirc from here
http://lirc.sourceforge.net/remotes/lg/6710CDAL01G
and the volume keys work a treat but the hex for the power is not
working I have worked through a few of the other lirc files changing
the hex for power but with no joy so far.  
Any ideas you have woudl be very much appreciated as I have got so
close.

Cheers
Lee


-- 
eversonl

eversonl's Profile: http://forums.slimdevices.com/member.php?userid=44317
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2011-02-23 Thread indifference_engine


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.


eversonl;613246 Wrote: 
 Hi,
 I am trying to control an LG 6710CDAK14D Remote for an LG AMP.
 I have used the lirc from here
 http://lirc.sourceforge.net/remotes/lg/6710CDAL01G
 and the volume keys work a treat but the hex for the power is not
 working I have worked through a few of the other lirc files changing
 the hex for power but with no joy so far.  
 Any ideas you have woudl be very much appreciated as I have got so
 close.
 
 Cheers
 Lee
Just an intial thought with no evidence to back it up whatsoever but
I'm wondering if the '' etc in the lirc file are causing some
problems with SqueezeIR.  Try renaming those buttons in the lirc file
(and in your xml if you're using them) and see what happens.  I assume
your xml is fine and you get status 3 (Success) when you load your
config?  If you look at the Controller's screen closely it shimmers
slightly when IR codes are actually being transmitted - does it do this
for power? If you post your xml I could do some debugging to make sure
everything is ok but it may just be that you've not found the right
code yet.


-- 
indifference_engine

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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2011-02-22 Thread eversonl


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.


Yes, I managed to get mine working last night.
I have volume controls working but not power, so I need to play with
the codes a little more I think.  Thanks


-- 
eversonl

eversonl's Profile: http://forums.slimdevices.com/member.php?userid=44317
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2011-02-22 Thread indifference_engine


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.


aka68;612993 Wrote: 
 it did work eventually; it was a rather silly step to do, i.e. you need
 to be connected to squeezeserver on qnap rather than mysqueezenetwork.
Sorry for ignoring you.  I did look at your xml and it was fine.  You
do need to be connected to your local server for the initial install
and to update the Controller with a new configuration.  Once you have
done that though it is cached on the Controller so you can connect to
whatever you want thereafter.  In my defence the installation
intructions do say as much although I must admit they are a little
rambling!  Anyway, glad it's working for you and welcome to the world
of SqueezeIR.


-- 
indifference_engine

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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2011-02-22 Thread indifference_engine


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.


eversonl;613097 Wrote: 
 Yes, I managed to get mine working last night.
 I have volume controls working but not power, so I need to play with
 the codes a little more I think.  Thanks
What are you trying to control?  I'm willing to help if you get stuck.


-- 
indifference_engine

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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2011-02-21 Thread eversonl


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.


aka68;608499 Wrote: 
 OK; i found where to create the folders and copy SqueezeIR.xml on Qnap.
 My path now looks like
 /share/HDA_DATA/.qpkg/SSOTS/var/home/SqueezeboxServer/HTML/SqueezeIR/html/0004201a0b9c.
 
 Went thru the installation of the applet on the controller, followed
 the instructions to configure it but on the controller, the result
 shows 1 (not started). I went to update the configuration under
 Settings/SqueezeIR/Advanced/Update Configuration but nothing happens
 when I select the option.
 I am attaching the configuration file to see if somebody can check it
 and see what's wrong.
 
 thanks in advance

aka68 did you get any further with running this on qnap?
I have all the files and the applet installed but it doesnt seem to be
reading my xml file


-- 
eversonl

eversonl's Profile: http://forums.slimdevices.com/member.php?userid=44317
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2011-02-15 Thread indifference_engine


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.


Cornflake;610698 Wrote: 
 Thanks for making an awesome app!
 
 One feature that would make it even better, would be some way to
 respond to other events than just buttons. In particular, I would want
 to switch off my amp when the player goes to sleep. Not sure if that is
 possible at all though...
I've had this request before and although it is a nice idea I never
thought it was a job for SqueezeIR.  My thinking was that you would
have to be holding your Controller and have it pointed at your amp at
the precise moment the the player went to sleep.  However, if you have
a Controller and some other controlling device (eg iPeng, another
Controller) then you could sacrifice one Controller and leave it
perminently aimed at your amp and use the other to control the player. 
I'll look into it...


-- 
indifference_engine

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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2011-02-12 Thread Dextrosan


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.


I would love to see that function implemented as discussed in posts No.
148, 149. Keep up the great work. I cannot imagine my controller
without SqueezeIR anymore! Thank you.


-- 
Dextrosan

Dextrosan's Profile: http://forums.slimdevices.com/member.php?userid=39296
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2011-02-12 Thread Cornflake


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.


Thanks for making an awesome app!

One feature that would make it even better, would be some way to
respond to other events than just buttons. In particular, I would want
to switch off my amp when the player goes to sleep. Not sure if that is
possible at all though...


-- 
Cornflake

Cornflake's Profile: http://forums.slimdevices.com/member.php?userid=38379
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2011-02-10 Thread indifference_engine


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.


I've just read this post
http://forums.slimdevices.com/showthread.php?t=56928page=13 in the
sticky thread at the top of this forum.  It lists SqueezeIR in the top
10 MVP's (most valuable plugins) - on a par with iPlayer!!!

So, a big thank you to everyone who uses SqueezeIR and especially to
the brave few who have provided bug reports, feature request and
localisation strings.

As always, if you have iny problems or ideas to improve SqueezeIR
please let me know.  One thing I have in mind for the next version is
to be able to send IR-o-OP requests from the Controller as well as
receive them.  This could also provide a way of controlling net-enabled
amplifiers over wi-fi.


-- 
indifference_engine

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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2011-02-09 Thread chincheta0815


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.


indifference_engine;609520 Wrote: 
 The very early versions of SqueezeIR worked along these lines by saving
 the configuration files to the filesystem rather than to the
 SqueezePlay settings.  Whilst I agree that it does work very nicely and
 avoids some overhead it did have a couple of problems:
 
 1) The files would not persist from an applet update from the repo or a
 firmware update whereas the settings file does.
 
 2) Somwhere around SBS version 7.4 the object model changed such that
 all the io commands had to be re-written and it was really hard to
 maintain backward compatibility.  Bluegaspode make some efforts with
 that issue for me.  This could happen again whereas framework changes
 would (I hope) maintain compatibility over a couple of versions.
 
 3) The file locations are hardware-specific.  Saving to the filesystem
 would not work if you were running desktop SqueezePlay for testing
 purposes as the directory structure is different for each platform.
 
 I appreciate your help but I decided to tackle the root cause (tying up
 the CPU) rather than trying to work around it.  However, I'm always open
 to suggestions...

That's okay to me! I just needed a workaround for getting my controller
to work again. I did not have any idea about the points you mention. So
I am really glad to have you as someone tackling out the root cause...


Another two questions that I got in my mind: 

Is SqueezeIR loading/caching the whole lirc files or only the parts
needed by SqueezeIR?

How about the idea of adding an option for choosing whether SqueezeIR
should load the cache file first or load the config from the server
during startup. For testing a new SqueezIR version or config file that
would be an idea just telling the controller to load the files from the
server at startup... If anything causes the controller to reboot or
shutdown due to issues with the SqueezeIR config, you will change the
config files on the server, SqueezeIR will load a working/backuped
config and do business as usual.

Trust me, it's no fun to login to a rebooting controller via ssh. Maybe
you have forgotten to start ssh on your controller before changing the
config and have to enable it first on a restarting controller... NO FUN
;o)

P.S.: Thank you for introducing a chincheta bug ;o)


-- 
chincheta0815

chincheta0815's Profile: http://forums.slimdevices.com/member.php?userid=42904
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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2011-02-09 Thread indifference_engine


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.


chincheta0815;609726 Wrote: 
 Is SqueezeIR loading/caching the whole lirc files or only the parts
 needed by SqueezeIR?
SqueezeIR is caching the entire lirc file but I don't think removing
unwanted commands would help any.  It may in fact make things worse by
the extra work involved in working out which commands are not needed. 
The time consuming part is working through the xml file, not loading
the lirc files.  You can test this easily for yourself by manually
removing the extra commands from your lirc files and timing how long it
takes to load with them removed compared to with them present - I bet
there's very little difference!

chincheta0815;609726 Wrote: 
 How about the idea of adding an option for choosing whether SqueezeIR
 should load the cache file first or load the config from the server
 during startup. For testing a new SqueezIR version or config file that
 would be an idea just telling the controller to load the files from the
 server at startup... If anything causes the controller to reboot or
 shutdown due to issues with the SqueezeIR config, you will change the
 config files on the server, SqueezeIR will load a working/backuped
 config and do business as usual.
I thought about this; turn off caching and then re-enable it once you
are happy that the Controller is stable.  I did see the situation where
the Controller appeared stable when loading from the server but crashed
when loading from the cache.  By then it's too late as you have already
enabled the cache because you think everything is ok!  Another idea
(although I don't know if it is possible) would be to somehow detect a
recovery from a dirty reboot and zap the cache thus preventing a second
reboot (assuming SqueezeIR is the cause).

chincheta0815;609726 Wrote: 
 Trust me, it's no fun to login to a rebooting controller via ssh. Maybe
 you have forgotten to start ssh on your controller before changing the
 config and have to enable it first on a restarting controller... NO FUN
 ;o)
I know, I've had to do it sooo many times while deveoping and testing
SqueezeIR, I keep ssh login enabled as standard :o


-- 
indifference_engine

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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2011-02-09 Thread indifference_engine


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.


chincheta0815;609773 Wrote: 
 Sorry to come up with an error message again, but after I now installed
 Firmware 7.5.4 r9302 my SqueezeIR menu won't open up. The log file
 tells me:
 
 Feb  9 19:23:03 squeezeplay: INFO   applet.SqueezeIR -
 SqueezeIRApplet.lua:1681 *  SqueezeIR v1.10 (08
 February 2011) Configuration begun.  Timestamp='Wed Feb  9 19:23:03
 2011'.  *
 Feb  9 19:23:03 squeezeplay: INFO   applet.SqueezeIR -
 SqueezeIRApplet.lua:1682 Attempting to read configuration from local
 cache...
 Feb  9 19:23:03 squeezeplay: INFO   squeezeplay.applets -
 AppletManager.lua:708 store settings: SqueezeIR
 Feb  9 19:23:03 squeezeplay: WARN   applet.SqueezeIR -
 SqueezeIRApplet.lua:1705 WARN: Cached copy of 'SqueezeIR.xml' is not
 available.
 Feb  9 19:23:03 squeezeplay: ERROR  squeezeplay.applets -
 AppletManager.lua:518 Error while evaluating applet SqueezeIR:attempt
 to yield across metamethod/C-call boundary
 Feb  9 19:23:03 squeezeplay: stack traceback:
 Feb  9 19:23:03 squeezeplay:   
 /usr/share/jive/jive/AppletManager.lua:518: in function '_pevalApplet'
 Feb  9 19:23:03 squeezeplay:   
 /usr/share/jive/jive/AppletManager.lua:560: in function 'loadApplet'
 Feb  9 19:23:03 squeezeplay:   
 /usr/share/jive/jive/AppletMeta.lua:150: in function 'callback'
 Feb  9 19:23:03 squeezeplay:   
 /usr/share/jive/jive/ui/SimpleMenu.lua:189: in function 'itemListener'
 Feb  9 19:23:03 squeezeplay:/usr/share/jive/jive/ui/Menu.lua:154:
 in function /usr/share/jive/jive/ui/Menu.lua:149
 Feb  9 19:23:03 squeezeplay:(tail call)
 Feb  9 19:23:03 squeezeplay: WARN   squeezeplay.ui.draw -
 jiveL_dispatch_event:774 error in event function:
 Feb  9 19:23:03 squeezeplay:   
 /usr/share/jive/applets/SqueezeIR/SqueezeIRMeta.lua:65: attempt to
 index local 'applet' (a nil value)
 Feb  9 19:23:03 squeezeplay: stack traceback:
 Feb  9 19:23:03 squeezeplay:   
 /usr/share/jive/applets/SqueezeIR/SqueezeIRMeta.lua:65: in function
 /usr/share/jive/applets/SqueezeIR/SqueezeIRMeta.lua:64
 Feb  9 19:23:03 squeezeplay:(tail call): ?
 Feb  9 19:23:03 squeezeplay:   
 /usr/share/jive/jive/ui/SimpleMenu.lua:189: in function 'itemListener'
 Feb  9 19:23:03 squeezeplay:/usr/share/jive/jive/ui/Menu.lua:154:
 in function /usr/share/jive/jive/ui/Menu.lua:149
 Feb  9 19:23:03 squeezeplay:(tail call): ?
 Feb  9 19:23:03 squeezeplay:/usr/share/jive/jive
 
 The error messages when opening the SqueezeIR settings menu is
 different. 
 
 I am not refering to the error of the missing SqueezeIR.xml. It's the
 error in the SqueezeIRMeta.lua...
Yes, stupid me!!!  If the cached xml is not available then the code
misses out the creation of the coroutine and jumps straight to the end
but I have a yield statement in there which assumes the coroutine was
created.  I'll get it fixed tonight...

D'Oh


-- 
indifference_engine

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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2011-02-09 Thread indifference_engine


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 1.11 is now available from the repo.

It fixes the chincheta 2 bug ;) - SqueezeIR would crash if no cached
configuration was available.

Apologies for the schoolboy error!


-- 
indifference_engine

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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2011-02-08 Thread indifference_engine


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 1.10 has just been released and is available from the repo. 
There are two changes:
- Italian localisation strings now included (thanks aka68)
- The chincheta bug that resulted in the Controller getting stuck in
an endless reboot cycle if your configuration was above a certain size
has been fixed.

The chincheta bug was fixed by using lua's coroutine library to fork
the configuration code into a separate thread that yields every so
often and is resumed on a timer.  No need to disable the cache.  The
downside is that the Controller does take slightly longer to boot with
a large config but it should be safer.  Chincheta's monster
configuration takes about 25 seconds to reload from cache (and a
similar time from the server) but I have done it several times and my
Controller is still alive!!


-- 
indifference_engine

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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2011-02-08 Thread indifference_engine


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.


chincheta0815;608872 Wrote: 
 I tried a little bit more and implemented the function for deleting the
 local cache files. Therefore I also introduced a new string called
 NONE, which needs to be added to the strings file. The controller
 runs stable without problems. I tried it in various combinations, but
 there is still some testing required...
 
 I attached the file and improve the comments. Just sarch for START OF
 CHANGE and END OF CHANGE.
 
 The memory issues seems to be solved. One more idea for improvement
 would be to only load those commands from the lirc files needed, if not
 already implemented.
 
 Not in the code is the idea of choosing the default config file
 repository (local or server) for the reason I once mentioned. I think
 this option is up to the creator of SqueezeIR.
 
 Hope this helps.

The very early versions of SqueezeIR worked along these lines by saving
the configuration files to the filesystem rather than to the SqueezePlay
settings.  Whilst I agree that it does work very nicely and avoids some
overhead it did have a couple of problems:

1) The files would not persist from an applet update from the repo or a
firmware update whereas the settings file does.

2) Somwhere around version 7.4 the object model changed such that all
the io commands had to be re-written and it was really hard to maintain
backward compatibility.  Bluegaspode make some efforts with that issue
for me.  This could happen again whereas framework changes would (I
hope) maintain compatibility over a couple of versions.

I appreciate your help but I decided to tackle the root cause (tying up
the CPU) rather than trying to work around it.  However, I'm always open
to suggestions...


-- 
indifference_engine

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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2011-02-07 Thread indifference_engine


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.


indifference_engine;608407 Wrote: 
 I'm pretty sure it's a memory issue - your SqueezeIR configuration is
 just too big for the Controller to hold in its cache.  There has been a
 report of a similar issue on the Touch (caused by a list of radio
 stations being too big
 http://forums.slimdevices.com/showthread.php?t=81207.  All I can
 suggest is to either continue using the older version of SqueezeIR
 until I can figure out a way to get round the problem (I'm not hopeful
 though as the hardware is a pretty fundamental constraint), or make
 your SqueezeIR config smaller (lose a lirc file).
I've done a little more digging and it looks like it's not a memory
issue - the cache is being written and read correctly and doesn't max
out the memory or filesystem.

The problem looks to be that SqueezeIR takes too long to load with a
big configuration and the Controller's watchdog (a little program that
stops the controller from rebooting to guard against the system
hanging) thinks the system has stopped responding and initiates a
reboot.  This could happen even without a cache but the config would
have to be bigger as the SqueezeIR startup happens in two chunks with a
breather inbetween if it has to download the config.  If the config is
already cached then it loads it and interprets it in one go.  I'm
looking into how to prod the watchdog to tell it that the system is
still alive.


-- 
indifference_engine

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


Re: [SlimDevices: Plugins] SqueezeIR Support Thread

2011-02-07 Thread chincheta0815


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.


indifference_engine;609050 Wrote: 
 I've done a little more digging and it looks like it's not a memory
 issue - the cache is being written and read correctly and doesn't max
 out the memory or filesystem.
 
 The problem looks to be that SqueezeIR takes too long to load with a
 big configuration and the Controller's watchdog (a little program that
 stops the controller from rebooting to guard against the system
 hanging) thinks the system has stopped responding and initiates a
 reboot.  This could happen even without a cache but the config would
 have to be bigger as the SqueezeIR startup happens in two chunks with a
 breather inbetween if it has to download the config.  If the config is
 already cached then it loads it and interprets it in one go.  I'm
 looking into how to prod the watchdog to tell it that the system is
 still alive.

I agree. As SqueezeIR is working very well with my workaround, I also
think it's not a memmory issue. And yes, the controller needs a lot of
time to start ;o)


-- 
chincheta0815

chincheta0815's Profile: http://forums.slimdevices.com/member.php?userid=42904
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


  1   2   3   4   >