Re: [SlimDevices: Plugins] Announce: xAP Plugin v2.2.0 for SqueezeCenter v7.x
Got my xAP working as follows (bit protracted as I wanted to see what LMS was doing): -Stopped LMS on the NAS -renamed my entire cache folder (incase i needed anything). -removed stringcache binary. -Restarted LMS -Reinstalled xAP plug (to make sure i was defo uptodate and clean) -Stopped LMS -created a hardlink to Strings.txt called strings.txt (so I wont have to rename in future). -added a newline at bottom of strings.txt (looks like file came from windoze) - caused server parsing issues for me.. -removed stringcache -restarted LMS The above fixed my settings screen. Next, I looked at the xAP control problem quickly: 1. Put xAP into debug 2. crafted a new Audio.Transport message for play and shot it from xfx4 3. I did not see any status change messages? 4. Looked at my xAP settings and noticed that xAP hub was set to external. Now I dont understand the authors comments and I have not yet unpacked to .par file to see what he means, but my assumption that external means it is relying on another xAP hub running on the server (which its not), so I set to internal and restarted LMS (I understand this will bind xAP plug directly to socket stopping other xAP apps on that box working on srd port, but will look at this later. 5. re-shot my message...now I got some messages bouncing in-out, but no player noise :(. 6. Sat back, thought and checked my player using remote. It was still in its clean, switched on state (NO MUSIC selected) - i.e Now Playing -> Nothing. Doh. 7. Sent a playlist message to select an album -> messages flying.. 8. Sent message to turn off player -> player off 9. sent message to turn on player -> player on 10. sent message to play -> Music 11. Sent same sequence to another player (SB3) -> sound 12. Sent same message sequence to .>:* ->house comes alive with sound. Will look at the hub/internal issue to see what it means to me. In mean time, I'm gonna write an alarmApplet.lua script for my HAH synced to our bedroom light fader. Sweet ps: you will get xAPBSC.Event from your LMS when you turn on/off devices (among other things), but you 'control' these by issuing xAPBSC.Cmd messages (as per the BSC specs). The really good stuff is the Audio.Transport, Query and Playlist classes (and 'Alarm' - but I gonna use my HAH scheduer instead). pps: the : is the server, but I already had my 'base' changed to another UID, and using : to pretend I was a 'server' - not that it matters currently and I dont want any messages back. BodgeIT - I see you are also a HAH user - its all new to me, but loving the last two weekends tinkering :) BodgeIT wrote: > Did you try clearing your cache? > > > On my system I think uid is the server, clients have ids 0001 to > 0005. When I try your message, I get no response from the unit. i.e. it > doesn't pause when playing or vice-versa. > > When I send a play command from the server to my Kitchen unit, the > output looks like this: > xap-header > { > v=13 > hop=1 > uid=FF.0D7D1610:0002 > class=xAPBSC.Event > source=ersp.SlimServer.Stargate:Kitchen > } > output.state > { > DisplayText=Playing > Level=17/100 > State=on > } > > As you can see this is a xAPBSC.Event message. The uid is that of my > Kitchen unit, not the server. This actually doesn't make sense to me > but I'm not very clear on the xAP protocol. I use xAP to power on/off > grab details etc. I cannot see a xAP.Audio message for play or pause. TheDistractor's Profile: http://forums.slimdevices.com/member.php?userid=33846 View this thread: http://forums.slimdevices.com/showthread.php?t=52645 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: xAP Plugin v2.2.0 for SqueezeCenter v7.x
TheDistractor wrote: > btw: followed your instructs but the setup screen not changed. Did you try clearing your cache? TheDistractor wrote: > I can see xAP messages from the server, .info, .playlist etc, but on > sending a message via xfx viewer I get no response. > e.g > xap-header > { > v=13 > hop=1 > uid=FF.06A014EF: > class=xAP-Audio.Transport > source=local.scripts.test > target=ersp.SlimServer.>:BOOM > } > Audio.Transport > { > Command=Play > } > > where UID is from my setup screen with : appended and base UID > reflects my .info messages. On my system I think uid is the server, clients have ids 0001 to 0005. When I try your message, I get no response from the unit. i.e. it doesn't pause when playing or vice-versa. When I send a play command from the server to my Kitchen unit, the output looks like this: xap-header { v=13 hop=1 uid=FF.0D7D1610:0002 class=xAPBSC.Event source=ersp.SlimServer.Stargate:Kitchen } output.state { DisplayText=Playing Level=17/100 State=on } As you can see this is a xAPBSC.Event message. The uid is that of my Kitchen unit, not the server. This actually doesn't make sense to me but I'm not very clear on the xAP protocol. I use xAP to power on/off grab details etc. I cannot see a xAP.Audio message for play or pause. BodgeIT's Profile: http://forums.slimdevices.com/member.php?userid=17100 View this thread: http://forums.slimdevices.com/showthread.php?t=52645 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: xAP Plugin v2.2.0 for SqueezeCenter v7.x
wallebalboa wrote: > solved! > > C:\Documents and Settings\All Users\Application > Data\Squeezebox\prefs\plugin\xap.prefs is the file holding the mapping > for uid... > edit and it works again Haha, I hadn't noticed that I had this issue too. Your info helped me fix, on linux file is: /var/lib/squeezeboxserver/prefs/plugin/xap.prefs BodgeIT's Profile: http://forums.slimdevices.com/member.php?userid=17100 View this thread: http://forums.slimdevices.com/showthread.php?t=52645 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: xAP Plugin v2.2.0 for SqueezeCenter v7.x
It looks like you have xAP plugin working on the ReadyNas. I have a ReadyNas Pro (x86) with Logitech Media Server Version: 7.7.1 - r33735 installed. I have just installed the latest xAP plugin via the 3rd party plugin section. I can see the string problem in setup, but am having another issue - perhaps you can help? btw: followed your instructs but the setup screen not changed. I can see xAP messages from the server, .info, .playlist etc, but on sending a message via xfx viewer I get no response. e.g xap-header { v=13 hop=1 uid=FF.06A014EF: class=xAP-Audio.Transport source=local.scripts.test target=ersp.SlimServer.>:BOOM } Audio.Transport { Command=Play } where UID is from my setup screen with : appended and base UID reflects my .info messages. Logs do not show anything unusual apart from the problem with the strings from basic setup page. Kind Regards BodgeIT wrote: > Just to be clear on process: > > 1. Renamed > /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/xAP/Strings.txt > to strings.txt (I'm running on Linux) > 2. Changed the entry for targetApplication id in the > /var/lib/squeezeboxserver/cache/plugin-data.yaml from "SqueezeCenter" to > "Squeezebox Server" or "Logitech Media Server" (not sure this is > necessary...) > 3. Delete /var/lib/squeezeboxserver/cache/stringcache.i686-linux.bin > 4. Restart LMS TheDistractor's Profile: http://forums.slimdevices.com/member.php?userid=33846 View this thread: http://forums.slimdevices.com/showthread.php?t=52645 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: xAP Plugin v2.2.0 for SqueezeCenter v7.x
solved! C:\Documents and Settings\All Users\Application Data\Squeezebox\prefs\plugin\xap.prefs is the file holding the mapping for uid... edit and it works again -- wallebalboa wallebalboa's Profile: http://forums.slimdevices.com/member.php?userid=54845 View this thread: http://forums.slimdevices.com/showthread.php?t=52645 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: xAP Plugin v2.2.0 for SqueezeCenter v7.x
Hi. really like this plug and been using it for a long time now.. upgraded to a new server and latest Squeezeserver and when i connect my players (softsqueeze) several of tem sends from same uid but with diffrent source... is this a 7.7.1 problem or somthing else? ex: { v=13 hop=1 uid=FF.05A39B91:0002 class=xAP-Audio.Playlist.Info source=ersp.SlimServer.Media:Badrum } Now.Playing { Artist=Squarepusher Duration= Genre=None Index=1 Path=not able to post links Title=Plaistow Flex Out TrackID=-145734668 Tracks=1 } and: xap-header { v=13 hop=1 uid=FF.05A39B91:0002 class=xAP-Audio.Transport.Event source=ersp.SlimServer.Media:Sovrum } Audio.Transport { Elapsed= PlayerID=00:19:66:58:b3:a7 Remaining= Repeat=off Shuffle=none } running 7.7.1 - r33750 and xAP plug v 2.4.3 i reinstalled the plug with no difference... still some get unique uids ;-s ersp.SlimServer.Media:BadrumFF.05A39B91:0002UID has multiple addresses. ersp.SlimServer.Media:Hall FF.05A39B91:0002UID has multiple addresses. ersp.SlimServer.Media:Kontoret FF.05A39B91:0001 ersp.SlimServer.Media:SovrumFF.05A39B91:0002UID has multiple addresses. ersp.SlimServer.Media FF.05A39B91: kind regs -- wallebalboa wallebalboa's Profile: http://forums.slimdevices.com/member.php?userid=54845 View this thread: http://forums.slimdevices.com/showthread.php?t=52645 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: xAP Plugin v2.2.0 for SqueezeCenter v7.x
Just to be clear on process: 1. Renamed /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/xAP/Strings.txt to strings.txt (I'm running on Linux) 2. Changed the entry for targetApplication id in the /var/lib/squeezeboxserver/cache/plugin-data.yaml from "SqueezeCenter" to "Squeezebox Server" or "Logitech Media Server" (not sure this is necessary...) 3. Delete /var/lib/squeezeboxserver/cache/stringcache.i686-linux.bin 4. Restart LMS -- BodgeIT Whether you think you can or you think you can't, either way you are right! *SS* (7.7.1 - r33735) on *Debian Server* (Squeeze) running *Slimp3* (FW 2.3), *Receiver* (FW 77), *Squeezebox Radio* (7.7.1-r9557), xAP Enabled. BodgeIT's Profile: http://forums.slimdevices.com/member.php?userid=17100 View this thread: http://forums.slimdevices.com/showthread.php?t=52645 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: xAP Plugin v2.2.0 for SqueezeCenter v7.x
Now tested on 7.7.1 with above fixes. -- BodgeIT Whether you think you can or you think you can't, either way you are right! *SS*(7.5.4 - r31995) on *Debian Server 5.08* running *Slimp3*(FW 2.3), *Receiver*(FW 67) & *Controller*(7.5.4 r9302), xAP Enabled. BodgeIT's Profile: http://forums.slimdevices.com/member.php?userid=17100 View this thread: http://forums.slimdevices.com/showthread.php?t=52645 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: xAP Plugin v2.2.0 for SqueezeCenter v7.x
Update for above: After upgrading to 7.6 I had to re-apply above changes but they didn't seem to take. In the end I renamed the stringscache file and restarted the server. Although a new stringscache file wasn't created automatically, this did fix the strings issue for the plugin. Hoever it must be picking up another strings.txt file from somewhere else because the string entries, in the plugin settings screen, aren't the same as the ones I've changed in /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/xAP/strings.txt. Nevertheless the plugin seems to work OK in 7.6.* -- BodgeIT BodgeIT's Profile: http://forums.slimdevices.com/member.php?userid=17100 View this thread: http://forums.slimdevices.com/showthread.php?t=52645 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: xAP Plugin v2.2.0 for SqueezeCenter v7.x
Hi I was getting a strings issue with the above versions. To fix it, I: 1. renamed /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/xAP/Strings.txt to strings.txt 2. Changed the entry for targetApplication id in the /var/lib/squeezeboxserver/cache/plugin-data.yaml from "SqueezeCenter" to "Squeezebox Server" Other than that the plugin seems to work fine on 7.5.* -- BodgeIT Whether you think you can or you think you can't, either way you are right! *SS*(7.5.2 - r29251) on *WHS SP2*(VMWare 1.8 Device(No Sound Card)) *Slimp3*(FW 2.3), *Receiver*(FW 65) & *Controller*(7.5.1 r8885), xAP Enabled. BodgeIT's Profile: http://forums.slimdevices.com/member.php?userid=17100 View this thread: http://forums.slimdevices.com/showthread.php?t=52645 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: xAP Plugin v2.2.0 for SqueezeCenter v7.x
Hi Edward, love the plugin, just starting to put together some scripts to work with. I was wondering if you had thought about adding in a Menu Template for the Custom Browse menu plugin by Erland? This would allow for the creation of menu items to be controlled through the Duet's controller? Or have I missed something that can do that anyway? -- BodgeIT Whether you think you can or you think you can't, either way you are right! *SS*(7.4.2 - r29251) on *WHS SP2*(VMWare 1.8 Device(No Sound Card)) *Slimp3*(FW 2.3), *Receiver*(FW 65) & *Controller*(7.4.1 r7915). BodgeIT's Profile: http://forums.slimdevices.com/member.php?userid=17100 View this thread: http://forums.slimdevices.com/showthread.php?t=52645 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: xAP Plugin v2.2.0 for SqueezeCenter v7.x
Great, my scripts are working again - looks good so far! thanks, Al -- al_uk al_uk's Profile: http://forums.slimdevices.com/member.php?userid=33797 View this thread: http://forums.slimdevices.com/showthread.php?t=52645 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: xAP Plugin v2.2.0 for SqueezeCenter v7.x
The xAP Home Automation plug-in for Squeezebox Server v7.4+ is now released (v2.4.1). See the most recent post at: http://www.erspearson.com/xAP Edward -- erspearson erspearson's Profile: http://forums.slimdevices.com/member.php?userid=8425 View this thread: http://forums.slimdevices.com/showthread.php?t=52645 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: xAP Plugin v2.2.0 for SqueezeCenter v7.x
Sure am! Just fixing the last few bugs from beta testers. The beta is available at: http://www.erspearson.com/xAP/Beta/downloads/xAP-2.4.0.zip Edward -- erspearson erspearson's Profile: http://forums.slimdevices.com/member.php?userid=8425 View this thread: http://forums.slimdevices.com/showthread.php?t=52645 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: xAP Plugin v2.2.0 for SqueezeCenter v7.x
Hi, do you have any plans to make this compatible with 7.4? cheers. -- al_uk al_uk's Profile: http://forums.slimdevices.com/member.php?userid=33797 View this thread: http://forums.slimdevices.com/showthread.php?t=52645 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: xAP Plugin v2.2.0 for SqueezeCenter v7.x
I installed the new(and removed the old)version it works fine too. Once again, thank you for at great solution. Jakob Sand -- jakob.sand jakob.sand's Profile: http://forums.slimdevices.com/member.php?userid=21893 View this thread: http://forums.slimdevices.com/showthread.php?t=52645 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: xAP Plugin v2.2.0 for SqueezeCenter v7.x
Fixed an issue with the build of 2.3b2. Thanks to Kevin for spotting it. -- erspearson erspearson's Profile: http://forums.slimdevices.com/member.php?userid=8425 View this thread: http://forums.slimdevices.com/showthread.php?t=52645 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: xAP Plugin v2.2.0 for SqueezeCenter v7.x
Thanks to feedback from v2.3 beta users - fixes in this release. Also updates should now be available via the Extension Downloader (if I've worked it all out correctly). The repository file is at: http://www.erspearson.com/xAP/Slim/Updates.xml You'll need to un-install a manually installed plugin before using the automatic downloader. -- erspearson erspearson's Profile: http://forums.slimdevices.com/member.php?userid=8425 View this thread: http://forums.slimdevices.com/showthread.php?t=52645 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: xAP Plugin v2.2.0 for SqueezeCenter v7.x
is there any way I can select a farvorite or a playlist? erspearson;370344 Wrote: > A revised version of the xAP plugin that works with SC v7.3 is now > available for download from: > http://www.erspearson.com/xAP/Slim/slim_downloads.htm > > Regression testing against v7.3 is ongoing so this remains a beta for > the next few days. Any issues found please post here. > > Currently investigating how to integrate with the new Extension > Downloader. > > Enjoy > > Edward > ersp - design, London -- jakob.sand jakob.sand's Profile: http://forums.slimdevices.com/member.php?userid=21893 View this thread: http://forums.slimdevices.com/showthread.php?t=52645 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: xAP Plugin v2.2.0 for SqueezeCenter v7.x
A revised version of the xAP plugin that works with SC v7.3 is now available for download from: http://www.erspearson.com/xAP/Slim/slim_downloads.htm Regression testing against v7.3 is ongoing so this remains a beta for the next few days. Any issues found please post here. Currently investigating how to integrate with the new Extension Downloader. Enjoy Edward ersp - design, London -- erspearson erspearson's Profile: http://forums.slimdevices.com/member.php?userid=8425 View this thread: http://forums.slimdevices.com/showthread.php?t=52645 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: xAP Plugin v2.2.0 for SqueezeCenter v7.x
Yes, I'll notice the board as soon as it's ready. -- erspearson erspearson's Profile: http://forums.slimdevices.com/member.php?userid=8425 View this thread: http://forums.slimdevices.com/showthread.php?t=52645 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: xAP Plugin v2.2.0 for SqueezeCenter v7.x
Do you notice the board when you have a version that works on 7.3 ready? -- jakob.sand jakob.sand's Profile: http://forums.slimdevices.com/member.php?userid=21893 View this thread: http://forums.slimdevices.com/showthread.php?t=52645 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: xAP Plugin v2.2.0 for SqueezeCenter v7.x
I've been working on a fix to the 7.3 incompatability issues over the last few days. Fixes are done but the plugin is not yet fully tested. Nevertheless, given that 7.3 is now released, I'll try to get a beta out sometime today (Sunday, GMT). Edward -- erspearson erspearson's Profile: http://forums.slimdevices.com/member.php?userid=8425 View this thread: http://forums.slimdevices.com/showthread.php?t=52645 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: xAP Plugin v2.2.0 for SqueezeCenter v7.x
Alas I have installed 7.3 slimserver and xAP 2.2.1 and looking at xfxviewer I can see only heartbeat messages. A closer inspection in to the server.log file I see the following which may help in identifying a possible fault or misconfiguration on my part. Looking at my directory structure I do not have Plugin.pm in the Pluging/xAP directory as quoted -- is that right? Advice would be greatly received. [08-12-13 23:34:41.7486] Slim::Control::Request::notify (2073) Error: Failed notify: Can't locate objectmethod "playmode" via package "Slim::Player::Receiver" at Plugins/xAP/Plugin.pm line 363. [08-12-13 23:34:43.6021] Slim::Control::Request::notify (2073) Error: Failed notify: Can't locate objectmethod "playmode" via package "Slim::Player::Receiver" at Plugins/xAP/Plugin.pm line 363. [08-12-13 23:35:26.7376] Slim::Control::Request::notify (2073) Error: Failed notify: Can't locate objectmethod "playmode" via package "Slim::Player::Receiver" at Plugins/xAP/Plugin.pm line 363. [08-12-13 23:35:30.2125] Slim::Control::Request::notify (2073) Error: Failed notify: Can't locate objectmethod "playmode" via package "Slim::Player::Receiver" at Plugins/xAP/Plugin.pm line 363. 2008-12-13 23:54:07 squeezecenter_safe stopped. -- colinh colinh's Profile: http://forums.slimdevices.com/member.php?userid=18025 View this thread: http://forums.slimdevices.com/showthread.php?t=52645 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: xAP Plugin v2.2.0 for SqueezeCenter v7.x
I just installed the plugin with no issues. I have been working with XAP for some time. I do have an issue though and will be approaching it in two ways. One via erspearson and the plugin and secondly with a RFQ to Squeezecenter. The problem is with the playing of encoded (5 and 7 channel music) The volume oof the player must remain at 100 (maximum) so the system does not try to blindly alter the volume of the encoded stream. The volume must be controlled by the preamp/amp being fed by the player. The XAP system reports the volume value as 100 every time I do something to change it. I would like a capability where the XAP plugin reports a change in volume up or down in addition to the volume level. The IR blaster plugin does this and allows me to signal the preamp (actually the PC that controls the Preamp) that the voume should be changed up/down. In fact the blaster plugin does not report the volume level only the direction of change. I use fixed increment of 5% on the preamp. Thanks In this way I can control the Preamp through the PC which already is running XAP and has been for several years. -- barrygordon barrygordon's Profile: http://forums.slimdevices.com/member.php?userid=7468 View this thread: http://forums.slimdevices.com/showthread.php?t=52645 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: xAP Plugin v2.2.0 for SqueezeCenter v7.x
Hi again, I downloaded 2.2.1 and after I changed my test messages a little I can now get my SqueezeCenter to respond! I actually don't know if it worked in 2.2.0 or not, because it didn't work in 2.2.1 until I changed my message. I had to make some parts of the message lower case. I thought the content could be mixed case? Target ersp.slimserver had to be lower case, but my server name could be mixed/upper. Class could be mixed. Message Block keyword had to be lower case Command had to be lower case. This is my test message that works: xap-header { v=13 Hop=1 UID=FF.8FC8C007: Class=Slim.Server Source=xFx.xfxTest1.Haukbook Target=ersp.slimserver.Snigel } player.query { command=count } /Hakan -- HakanL HakanL's Profile: http://forums.slimdevices.com/member.php?userid=20121 View this thread: http://forums.slimdevices.com/showthread.php?t=52645 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: xAP Plugin v2.2.0 for SqueezeCenter v7.x
erspearson;345956 Wrote: > Can you clarify - sounds like you are saying that the 4000/s messages > are not all xAP messages, it that right ("managed to get through in > beetween") - so what are the other messages? > > Also, since you have multiple vlans, what is doing to routing of > broadcast messages between the vlans? Yes, they are all Xap messages, tagged as comming from the squeezbox, and sometime, a thermometer maneges to slip though. Anyway, i thinkl i've got it. When i use the plugin, if on the same machine as squeezecenter, i start Michael's xap Hub AND xFx viewer, i get the problem. If i lauch the viewer on another machine, everything is all right ( about 80 msg/min). So now, i look to the network from another machine. As for routing, the switch is configured to route broadcasts, with a limit of 50% of capacity ( which probably saved my network from collapsing :-) ) I now use the new 2.2.1 plugin with SqueezeNetwork 7.2, and i will recode my scripts to send xap messages Claude -- micclfr micclfr's Profile: http://forums.slimdevices.com/member.php?userid=20271 View this thread: http://forums.slimdevices.com/showthread.php?t=52645 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: xAP Plugin v2.2.0 for SqueezeCenter v7.x
I've just released an update to the xAP SqueezeCenter plugin. Change log (v2.2.1): Fixed case where Now.Playing shows wrong song data after player sync/unsync. Fixed issue where BSC ID= parameter being parsed incorrectly in xAPBSC.Cmd messages. Added xAPBSC.Cmd state=toggle. Improved BSC Event/Info selection/timing. Send xAPBSC.Event when DisplayText changes. Send xAPBSC.Event on power up due to xAP-Audio.Transport command. Added alarm notifications to xAP-Audio.Schedule.Event messages. Added simple alarm control (enable/disable all) via xAP-Audio.Schedule. Removed last dependencies on legacy command execution (which is broken in 7.2.1 23353). Harmonised log4perl logger categories and added to documentation to user manual. The most recent officially supported SqueezeCenter release remains 7.2 though this plug-in release does address the significant incompatibility with 7.2.1 (nightly up to 23353) that broke handling incoming commands. Raised a bugzilla bug (9620) on that one since it may affect other plugins. Plug-in download via http://www.erspearson.com/xAP Edward ersp - design, London -- erspearson erspearson's Profile: http://forums.slimdevices.com/member.php?userid=8425 View this thread: http://forums.slimdevices.com/showthread.php?t=52645 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: xAP Plugin v2.2.0 for SqueezeCenter v7.x
HakanL;342853 Wrote: > I also got latest nightly build, version SqueezeCenter Version: 7.2.1 - > 23230 and I can't send any commands to the SlimServer/player over xAP. > I get all events, but it's not responding to anything. > > Are there any way to turn on xAP plugin debugging or anything? My log > files don't seem to show any related errors, etc. > > /Hakan I've just been testing with 7.2.1 - 23353 and command execution been broken in the SlimServer code, so it's not anything you are doing wrong. Released v7.2 is currently the latest supported version for this plugin. I'm looking at a workaround. -- erspearson erspearson's Profile: http://forums.slimdevices.com/member.php?userid=8425 View this thread: http://forums.slimdevices.com/showthread.php?t=52645 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: xAP Plugin v2.2.0 for SqueezeCenter v7.x
micclfr;345937 Wrote: > The high volume of messages was originating from the SqueezeCenter Xap, > but some messages managed to get through in beetween, showing in xFx > viewer. > > ...and the other xap modules are not on the same Vlan as Squeezcenter > and the Squeezbox > Claude Can you clarify - sounds like you are saying that the 4000/s messages are not all xAP messages, it that right ("managed to get through in beetween") - so what are the other messages? Also, since you have multiple vlans, what is doing to routing of broadcast messages between the vlans? -- erspearson erspearson's Profile: http://forums.slimdevices.com/member.php?userid=8425 View this thread: http://forums.slimdevices.com/showthread.php?t=52645 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: xAP Plugin v2.2.0 for SqueezeCenter v7.x
CouchPotatoe;345877 Wrote: > Is it possible that you have a programmatic loop of any form eg HomeSeer > reacting to a xAP message and sending another ? > > Were the messages only originating from the SqueezeCentre xAP device or > from any other devices as well ? This is easiest to see by selecting > the top level hierarchy in Viewer. > > I'm thinking a Viewer capture of this burst would help Edward a little > too - although I realise it saturates the xAP processing. Was > SqueezeCentre continuing to work ok and player control possible ? > > K I will double check my Homeseer configuration, bnut as far as i can remember, i do not use xap events. I only use Xap for temperatures, ans scripts to check temperatures values. -- micclfr micclfr's Profile: http://forums.slimdevices.com/member.php?userid=20271 View this thread: http://forums.slimdevices.com/showthread.php?t=52645 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: xAP Plugin v2.2.0 for SqueezeCenter v7.x
Is it possible that you have a programmatic loop of any form eg HomeSeer reacting to a xAP message and sending another ? Were the messages only originating from the SqueezeCentre xAP device or from any other devices as well ? This is easiest to see by selecting the top level hierarchy in Viewer. I'm thinking a Viewer capture of this burst would help Edward a little too - although I realise it saturates the xAP processing. Was SqueezeCentre continuing to work ok and player control possible ? K -- CouchPotatoe CouchPotatoe's Profile: http://forums.slimdevices.com/member.php?userid=143 View this thread: http://forums.slimdevices.com/showthread.php?t=52645 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: xAP Plugin v2.2.0 for SqueezeCenter v7.x
erspearson;345714 Wrote: > 4000 msgs/sec - ouch! It should send about 1 per second for each player > while playing and at the update interval when not playing. I've never > seen it do that before and not heard of anybody else seeing it. But I > believe you! I'll take a look at the code and see how such a thing > could happen. I'm wondering if a message feedback loop could have been > created somehow. What other stuff do you have on your xAP network? i use Homeseer with Michael McSharry's .net xap plugin, Michael's hub, McsOneWire on an other computer for temperatures, Speedfan on each computers, Netiom cards and i have never had such a problem. I unchecked Michael's Hub XPL translation, just in case. Claude -- micclfr micclfr's Profile: http://forums.slimdevices.com/member.php?userid=20271 View this thread: http://forums.slimdevices.com/showthread.php?t=52645 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: xAP Plugin v2.2.0 for SqueezeCenter v7.x
vworp;342323 Wrote: > I've managed to revert to 7.2 without breaking everything. xAP control > via BSC and audio.transport is working again, so that was all down to > the nightly. > > BSC control from Floorplan is still broken. It's definitely the id= as > sent by floorplan. I'm not sure who's wrong here, for this particular > player the id is 0002 as sent by floorplan (should that be 02?), but > the plugin doesn't respond to 02 or 0002, only *. > > Minor bug: If a player is in an off state and playback is resumed from > an audio.transport message, a xapbsc.event message is not generated to > indicate that the player has switched on. The following xapbsc.info > messages also remain in the wrong state. Supporting the nightlies is near to impossible and they often have me tearing my hair out! Good to hear that at least some sanity has returned. Yes the ID= not working is a bug and I have managed to reproduce it. Will be fixed shortly. And while I've not yet reproduced the resume state issue, I can imagine how that might happen and I'll look into it. Thanks for the feedback! Edward -- erspearson erspearson's Profile: http://forums.slimdevices.com/member.php?userid=8425 View this thread: http://forums.slimdevices.com/showthread.php?t=52645 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: xAP Plugin v2.2.0 for SqueezeCenter v7.x
HakanL;342853 Wrote: > I also got latest nightly build, version SqueezeCenter Version: 7.2.1 - > 23230 and I can't send any commands to the SlimServer/player over xAP. > I get all events, but it's not responding to anything. > > Are there any way to turn on xAP plugin debugging or anything? My log > files don't seem to show any related errors, etc. > > /Hakan Sorry for the delayed reply, I was away for a few days. The two most likely causes are either that the messages you are sending to SqueezeCenter are not formatted correctly (suggest you post an example so we can rule that in or out) or that there is some problem with the plugin binding to the network that means it can send but not receive. Yes there are logging options (and I should add them to the documentation) using the same log4perl as the rest of SqueezeCenter. The switches to add to the command line are: plugins.xap - general information; a good place to start plugin.xap.comm - low level communications plugins.xap.settings - web interface user settings plugin.xap.message - details on xAP message processing Apologies for the plugin/plugins inconsistency; I'll add that to the to-do list. For the issue you describe plugins.xap and plugin.xap.comm are the two switches you should enable to check that the plug-in is receiving any xAP traffic. HTH - Edward -- erspearson erspearson's Profile: http://forums.slimdevices.com/member.php?userid=8425 View this thread: http://forums.slimdevices.com/showthread.php?t=52645 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: xAP Plugin v2.2.0 for SqueezeCenter v7.x
4000 msgs/sec - ouch! It should send about 1 per second for each player while playing and at the update interval when not playing. I've never seen it do that before and not heard of anybody else seeing it. But I believe you! I'll take a look at the code and see how such a thing could happen. I'm wondering if a message feedback loop could have been created somehow. What other stuff do you have on your xAP network? -- erspearson erspearson's Profile: http://forums.slimdevices.com/member.php?userid=8425 View this thread: http://forums.slimdevices.com/showthread.php?t=52645 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: xAP Plugin v2.2.0 for SqueezeCenter v7.x
Hi, I tried the plugin with squeezecenterv 7.0.1 and my xap network broke. The plugin, was sending enlessy staus about the squeezebnox, even the playing time left, wich is great, but with a rate of about 4000 xap messages /Second. I tried the configuration page, 120 s in the refresh rate, but ultimately, i had to stop the plugin, for my central heating to work again. :-) any ideas ? Claude -- micclfr micclfr's Profile: http://forums.slimdevices.com/member.php?userid=20271 View this thread: http://forums.slimdevices.com/showthread.php?t=52645 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: xAP Plugin v2.2.0 for SqueezeCenter v7.x
I also got latest nightly build, version SqueezeCenter Version: 7.2.1 - 23230 and I can't send any commands to the SlimServer/player over xAP. I get all events, but it's not responding to anything. Are there any way to turn on xAP plugin debugging or anything? My log files don't seem to show any related errors, etc. /Hakan -- HakanL HakanL's Profile: http://forums.slimdevices.com/member.php?userid=20121 View this thread: http://forums.slimdevices.com/showthread.php?t=52645 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: xAP Plugin v2.2.0 for SqueezeCenter v7.x
I've managed to revert to 7.2 without breaking everything. xAP control via BSC and audio.transport is working again, so that was all down to the nightly. BSC control from Floorplan is still broken. It's definitely the id= as sent by floorplan. I'm not sure who's wrong here, for this particular player the id is 0002 as sent by floorplan (should that be 02?), but the plugin doesn't respond to 02 or 0002, only *. Minor bug: If a player is in an off state and playback is resumed from an audio.transport message, a xapbsc.event message is not generated to indicate that the player has switched on. The following xapbsc.info messages also remain in the wrong state. -- vworp vworp's Profile: http://forums.slimdevices.com/member.php?userid=8279 View this thread: http://forums.slimdevices.com/showthread.php?t=52645 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: xAP Plugin v2.2.0 for SqueezeCenter v7.x
A problem with 7.2.1 squeezecenter nightly. The plugin doesn't translate BSC state commands to players, audio.transport commands aren't being acted upon either. So, no on/off/previous/next control from xAP. With the xapbsc.cmd state messages, although the players never change state, xapbsc.event messages are generated indicating they have. I suspect this problem is cause by my using a nightly release. I can always pick another one up in a few days. I'm testing xapbsc.cmd messages from OPN-MAX. James, Floorplans generated bsc messages don't appear to work at all for squeezecenter, something to do with id= being correctly set, OPN-MAX auto wildcards to id=*. Do you see this behaviour too? Edward, is the squeezecenter plugin case sensitive to xAP messages? The ID= key in xapbsc.cmd messages seems to work when wildcarded, id=*, but not when targeted to the correct sub address eg id=02. -- vworp vworp's Profile: http://forums.slimdevices.com/member.php?userid=8279 View this thread: http://forums.slimdevices.com/showthread.php?t=52645 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: xAP Plugin v2.2.0 for SqueezeCenter v7.x
I've upgraded to 7.2.1 - 23223, the nightly release from 20/9 (had an issue with the standard 7.2). Duration appears correct now on both slimp3 when the player is on, when the player is off messages are back to the brief flash. I suspect it's something to do with the 'adjust brightness automatically' setting, but that has disappeared in 7.2... -- vworp vworp's Profile: http://forums.slimdevices.com/member.php?userid=8279 View this thread: http://forums.slimdevices.com/showthread.php?t=52645 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: xAP Plugin v2.2.0 for SqueezeCenter v7.x
That's good to hear James. And what I'd expect looking at the SqueezeCenter side of things; no reason why a SliMP3 should behave differently. Vworp, one thing you could try would be to check that the Auto Brightness setting for your SliMP3's is turned off as this can interfere with the display of xAP messages. -- erspearson erspearson's Profile: http://forums.slimdevices.com/member.php?userid=8425 View this thread: http://forums.slimdevices.com/showthread.php?t=52645 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: xAP Plugin v2.2.0 for SqueezeCenter v7.x
Hi, I have a couple of SLimp3's (firmware 2.3) connected to 7.2 and can confirm it does work correctly with these versions. I tested a few message.displays and durations between 2s and 60s worked fine. It actually works alot better than the old 6.0 version as I used to get a pause when a message went away and the screen would blank before returning to the slimp3 clock. With 7.2 it goes straight from the display message back to the clock, which is nice! James -- mi4 mi4's Profile: http://forums.slimdevices.com/member.php?userid=20066 View this thread: http://forums.slimdevices.com/showthread.php?t=52645 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: xAP Plugin v2.2.0 for SqueezeCenter v7.x
7.1 - 22170. I'll upgrade to 7.2 over the weekend. -- vworp vworp's Profile: http://forums.slimdevices.com/member.php?userid=8279 View this thread: http://forums.slimdevices.com/showthread.php?t=52645 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: xAP Plugin v2.2.0 for SqueezeCenter v7.x
Thanks for the fedback The original SliMP3 is the one unit I don't have to test on. I'll check SqueezeCenter code to see what the difference might be. Can you confirm what SqueezeCenter version you are running please. Edward -- erspearson erspearson's Profile: http://forums.slimdevices.com/member.php?userid=8425 View this thread: http://forums.slimdevices.com/showthread.php?t=52645 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: xAP Plugin v2.2.0 for SqueezeCenter v7.x
Thanks for the updated plugin Edward. I've got a few SliMP3s dotted around, along with a squeezebox and a duet, so a decent range to test against. I've noticed that message.display duration= isn't being honored by the slimp3s, but does work fine with the squeezebox. Display messages flash briefly on the slimp3s, but never for the allotted duration. Any way to access the SqueezeCenter Random Mix/playlists/favourites functionality through xAP-Audio.Playlist? I'll be having a play with IR.events over the weekend. I used them quite a bit with the previous versions of the plugin. -- vworp vworp's Profile: http://forums.slimdevices.com/member.php?userid=8279 View this thread: http://forums.slimdevices.com/showthread.php?t=52645 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Announce: xAP Plugin v2.2.0 for SqueezeCenter v7.x
Following many months of beta testing, a xAP plugin for SqueezeCenter v7.x is now available. The xAP Plug-in for SqueezeCenter by ersp-design adds home automation capabilities to SqueezeCenter using the xAP automation protocol. The plugin can be found at http://www.erspearson.com/xAP/Slim/slim_main.htm xAP Plug-in v2 for SqueezeCenter is a second generation, pure-Perl implementation of a xAP connector for this platform. The previous version, released in 2006 supported server software v6.x (SlimServer) and followed on from the original .Net version. This version has been revised to work with v7.x SqueezeCenter software, features significantly enhanced message display functionality as well as numerous other enhancements and bug fixes. The plugin provides two-way xAP communication for SqueezeCenter with the following main functions: Player power and volume control with xAP BSC Player transport control Player mixer control Player message display Playlist management Server control Access to low-level remote button and IR codes. The xAP plug-in for SqueezeCenter supports messages from these xAP schema specifications: Basic Status and Control (BSC) v1.3 Audio and Media Control v2.2 with SqueezeCenter-specific extensions On Screen Display (OSD) with SqueezeCenter-specific extensions. A big thanks to the beta testers over the last few months! Edward Pearson ersp - design, London. -- erspearson erspearson's Profile: http://forums.slimdevices.com/member.php?userid=8425 View this thread: http://forums.slimdevices.com/showthread.php?t=52645 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins