Re: [SlimDevices: Plugins] announce: ShairTunes2W - Airtunes on LMS (forked version with Windows support)
Ups, it happened again. When upgrading to 1.0.13: Code: [22-12-10 09:49:29.3760] main::init (377) Starting Logitech Media Server (v8.3.0, 1667251155, Fri 04 Nov 2022 09:16:39 AM CET) perl 5.024001 - arm-linux-gnueabihf-thread-multi-64int [22-12-10 09:50:05.8576] Plugins::ShairTunes2W::Plugin::initPlugin (240) I'm sorry your platform "arm-linux-gnueabihf-thread-multi-64int" is unsupported or nobody has compiled a binary for it! Can't work. [22-12-10 09:50:05.8623] Slim::Utils::Misc::msg (1325) Warning: [09:50:05.8610] Use of uninitialized value $shairtunes_helper in concatenation (.) or string at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2W/Plugin.pm line 245. [22-12-10 09:53:52.8678] Slim::Utils::Misc::msg (1325) Warning: [09:53:52.8657] Use of uninitialized value $helper_pid in concatenation (.) or string at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2W/Plugin.pm line 864. [22-12-10 09:53:52.9306] Slim::Networking::IO::Select::__ANON__ (130) Error: Select task failed calling Plugins::ShairTunes2W::Plugin::handleSocketRead: Can't call method "pid" on an undefined value at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2W/Plugin.pm line 869. This time, the helper binary -shairport_helper-linux-armv6- was selected before and after the upgrade. I switched to -shairport_helper-linux-arm-, and the problem disappeared. I switched back to -shairport_helper-linux-armv6-, and still no problem. maf's Profile: http://forums.slimdevices.com/member.php?userid=30870 View this thread: http://forums.slimdevices.com/showthread.php?t=106289 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] announce: ShairTunes2W - Airtunes on LMS (forked version with Windows support)
philippe_44 wrote: > What binary have you chosen in the "help binary" option of the plugin's > settings. There was no binary selected. I now tried both -shairport_helper_linux-arm- and -shairport_helper_linux-armv6-, and both work for me, i.e. no more error in the log and streaming works again. Thanks for your help. I just wonder: Was there no selection required for older versions or did the selection get lost during the upgrade somehow? maf's Profile: http://forums.slimdevices.com/member.php?userid=30870 View this thread: http://forums.slimdevices.com/showthread.php?t=106289 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] announce: ShairTunes2W - Airtunes on LMS (forked version with Windows support)
After upgrading to 1.0.12, I get this error in the server log Code: [22-12-09 19:16:58.2848] Plugins::ShairTunes2W::Plugin::initPlugin (240) I'm sorry your platform "arm-linux-gnueabihf-thread-multi-64int" is unsupported or nobody has compiled a binary for it! Can't work. I'm running LMS 8.3.0 on an RPi 2 with Raspbian Stretch Code: root@servi:~# uname -a Linux servi 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l GNU/Linux and found these executables Code: root@servi:/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2W/Bin# ls -l *linux-arm* -r-xr-xr-x 1 squeezeboxserver nogroup 972504 Dez 8 17:05 shairport_helper-linux-arm -rw-r--r-- 1 squeezeboxserver nogroup 1062612 Dez 8 17:05 shairport_helper-linux-armv6 maf's Profile: http://forums.slimdevices.com/member.php?userid=30870 View this thread: http://forums.slimdevices.com/showthread.php?t=106289 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] SqueezeIR Support Thread
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] announce: ShairTunes2W - Airtunes on LMS (forked version with Windows support)
justwords wrote: > With iOS 14.5 Dev Beta 3 my iPhone does not see any squeezebox anymore. > (Though it does not display fire tv etc as well, so might be a problem > in iOS beta). I recently updated two iPad Air 2 to 14.4.1. While one was fine, the other didn't show any AirPlay devices after the update (SBs and Apple TVs). Luckily, that changed back to normal after three restarts. maf's Profile: http://forums.slimdevices.com/member.php?userid=30870 View this thread: http://forums.slimdevices.com/showthread.php?t=106289 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] SqueezeIR Support Thread
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] [Announce] SqueezeIR Trigger Plugin
indifference_engine wrote: > One way to delay the power off would be to add a action to the > event that you are triggering within the SqueezeIR config file. > However, I don't think that's what you are looking for? I'm unfamiliar > with ShairTunes2 and don't really understand why it would power cycle > the receiver? It might be what I'm looking for if a second, identical action would cancel out the first one if triggered before the delay ends. Also, it might help if there was a way to configure the duration of the delay. I have asked about the power cycle on the ShairTunes2 thread, but no answer, yet. maf's Profile: http://forums.slimdevices.com/member.php?userid=30870 View this thread: http://forums.slimdevices.com/showthread.php?t=112231 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] announce: ShairTunes2W - Airtunes on LMS (forked version with Windows support)
If I switch audio channnels on my iPad while streaming to a Squeezebox player, the player is turned off and right on again. Is there a way to avoid that, e.g. delay turning off the player to see what happens within the next couple of seconds? I only noticed that behavior because my amplifier is 'powered off and on in accordance with the player' (https://forums.slimdevices.com/showthread.php?112231-Announce-SqueezeIR-Trigger-Plugin=974905=1#post974905). And it uses a loud relay to do that... maf's Profile: http://forums.slimdevices.com/member.php?userid=30870 View this thread: http://forums.slimdevices.com/showthread.php?t=106289 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] SqueezeIR Trigger Plugin
Oh, one more thing I just discovered I would like to do and don't know how (due to lack of knowledge about Perl and LMS): I would like to delay powering off the amplifier by a couple of seconds. If I stream to the receiver with the great ShairTunes2 plugin, switching audio channels will result in turning off the receiver and turning it right on again. How can I wait to see if that's the case and only send the IR signal if really appropriate? maf's Profile: http://forums.slimdevices.com/member.php?userid=30870 View this thread: http://forums.slimdevices.com/showthread.php?t=112231 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] SqueezeIR Support Thread
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
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
[SlimDevices: Plugins] [Announce] SqueezeIR Trigger Plugin
Thanks to the SqueezeIR applet, one can use a Squeezebox Controller to send infrared commands to auxillary equipment . The attached SqueezeIR Trigger plugin is a SqueezeIR helper that allows one to send an IR signal once a specific Squeezebox player is turned on or off. I wrote it to power on an amplifier whenever the Squeezebox Receiver connected to it is turned on. And, even better, power off the amplifier when the Receiver is turned off. That, I used to forget quite offen... This is my first attempt at writing an LMS plugin. It is based on the PowerMonitor plugin. While the plugin works for me, it might not work for others. Please let me know about any problems you enncounter and suggestions for improvements you have. There are a couple of improvements I can think of already. I hope more experienced plugin writers could point out how to implement those or where something similar has been implemented already: - Provide a drop-down list of Squeezebox players on the settings page. I'm not sure how to properly filter out players that can't be controller by IR signals. - Provide a drop-down list of Squeezebox controllers on the settings page. I don't know whether there is a way to list those at all. - Validate all settings on input. How can I implement value checking in the settings page? - Support the configuration of an unrestricted number of notifications (player state changes) and potentially different players and controllers. How can I allow the user to specify as many sets of attributes as she/he likes, i.e. add fresh configuration sections and delete existing ones? For other users it might also be necessary to add the following functionality: - Differentiate between powering on and powering off Actually, I don't want to put too much efforrt into this because I still hope there might be a way to integrate the functionality into the SqueezeIR applet. On the other hand, there are many other notifications a plugin like this might react to, see the documentation of command line interface included in the server's help pages and the Slim::Control:Request module. And there are many other actions one might trigger other than sending IR signals. Have fun, maf +---+ |Filename: SqueezeIRTrigger010.zip | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=30306| +---+ maf's Profile: http://forums.slimdevices.com/member.php?userid=30870 View this thread: http://forums.slimdevices.com/showthread.php?t=112231 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] SqueezeIR Support Thread
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
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
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] announce: ShairTunes2W - Airtunes on LMS (forked version with Windows support)
philippe_44 wrote: > I already did in 0.108.2 The new version works fine for me, thanks! maf's Profile: http://forums.slimdevices.com/member.php?userid=30870 View this thread: http://forums.slimdevices.com/showthread.php?t=106289 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] announce: ShairTunes2W - Airtunes on LMS (forked version with Windows support)
philippe_44 wrote: > Anyway, I was referring to some build-in LMS options or plugin that can > turn the volume up by small steps when starting a track. I was > memorizing probably the first step of the volume That sounds like there is hope for a fix in a future version of the plugin? maf's Profile: http://forums.slimdevices.com/member.php?userid=30870 View this thread: http://forums.slimdevices.com/showthread.php?t=106289 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] announce: ShairTunes2W - Airtunes on LMS (forked version with Windows support)
philippe_44 wrote: > ok, I think I've localized the issue. It might happen when you have > progressive volume If only I knew what "progressive volume" is, I'd happily test if I do have it :-) maf's Profile: http://forums.slimdevices.com/member.php?userid=30870 View this thread: http://forums.slimdevices.com/showthread.php?t=106289 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] announce: ShairTunes2W - Airtunes on LMS (forked version with Windows support)
After streaming audio to a SqueezeBox from an iPad, the SqueezeBox's volume sometimes is down to 0 once I revert audio back to the iPad. This seems to happen if I have changed the AirPlay volume on the iPad while streaming. The option "Change volume of sync'd players" is off. Anything I can do to help the SqueezeBox remember its volume setting? I'm using ShairTunes2 v0.108.1 with LMS 7.9.1 on a Raspberry Pi with Raspbian Stretch. maf's Profile: http://forums.slimdevices.com/member.php?userid=30870 View this thread: http://forums.slimdevices.com/showthread.php?t=106289 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: ShairTunes2 plugin - Airtunes on your LMS
maf wrote: > Hi, > What should I do to solve these connection problems? > This turned out to be a firewall issue. My Squeezebox clients are in their own zone and can't establish connections to hosts in the server's zone at will. I had to add a rule that would allow them to establish a connection to the server at ports 8000 to 8008 (arbitry upper limit). Is this a problem with connection tracking or do the clients really try to connect to the server? maf's Profile: http://forums.slimdevices.com/member.php?userid=30870 View this thread: http://forums.slimdevices.com/showthread.php?t=103783 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: ShairTunes2 plugin - Airtunes on your LMS
Hi, I have installed the plugin on a Raspberry Pi with Raspbian jessie and LMS 7.9.0. Now I'm trying to stream from an iPad with iOS 9.3.1 to a Squeezebox Receiver and a Squeezebox Radio. Unfortunately, both don't work yet. The receiver shows title, current position and album cover but does not play any music. After a couple of seconds it display the following message Code: Connection timed out airplay://10.0.1.107:8000/stream.wav The protocol does not show any errors: Code: [16-05-03 11:03:52.6295] Plugins::ShairTunes2::Plugin::handleSocketConnect (292) New connection from fe80::444:4651:2aa9:d0fe [16-05-03 11:03:52.9272] Plugins::ShairTunes2::Plugin::conn_handle_request (503) shairport_helper: VERSION: 0.2 [16-05-03 11:03:52.9303] Plugins::ShairTunes2::Plugin::conn_handle_request (520) launched decoder: 1729 on ports: 6000/6001/8000 [16-05-03 11:04:01.5360] Plugins::ShairTunes2::Plugin::conn_handle_request (569) Decoder error: bye! The radio does not show anything specific nor does it play any music. Rather, it almost immediately displays the following message Code: Connection reset by remote host airplay://10.0.1.107:8000/stream.wav The protocol does not show any errors: Code: [16-05-03 11:04:01.9290] Plugins::ShairTunes2::Plugin::handleSocketConnect (292) New connection from fe80::444:4651:2aa9:d0fe [16-05-03 11:04:02.1042] Plugins::ShairTunes2::Plugin::conn_handle_request (503) shairport_helper: VERSION: 0.2 [16-05-03 11:04:02.1072] Plugins::ShairTunes2::Plugin::conn_handle_request (520) launched decoder: 1734 on ports: 6000/6001/8000 [16-05-03 11:05:01.8418] Plugins::ShairTunes2::Plugin::conn_handle_request (569) Decoder error: bye! Switching the protocol level to debug did not provide any more obvious clues. What should I do to solve these connection problems? Thanks, maf maf's Profile: http://forums.slimdevices.com/member.php?userid=30870 View this thread: http://forums.slimdevices.com/showthread.php?t=103783 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] SqueezeIR Support Thread
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
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
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
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