Re: [SlimDevices: SqueezeCenter] Is there a way to discover via network LMS Server CLI Port ID
philippe_44 wrote: > Its not a plugin addition in that case, its native in LMS When I initially was looking around in the LMS source to learn how discovery works, I never saw the CLIP command for discovery. It is not part of the Discovery.pm file. After Philippe told us about it, I found it in the CLI plugin source (./slim/plugin/CLI/plugin.pm). So this discovery command is part of the native CLI plugin and I never saw it until now. Thanks again Philippe. R Greg Dawson Squeezelite-X rgdawson's Profile: http://forums.slimdevices.com/member.php?userid=65236 View this thread: http://forums.slimdevices.com/showthread.php?t=111009 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Is there a way to discover via network LMS Server CLI Port ID
philippe_44 wrote: > You can add CLIP in the discovery packet request and it will return > the cli port > > My discovery broadcast request is eVERS\0JSON\0CLIP Fantastic, thanks. R Greg Dawson Squeezelite-X rgdawson's Profile: http://forums.slimdevices.com/member.php?userid=65236 View this thread: http://forums.slimdevices.com/showthread.php?t=111009 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Is there a way to discover via network LMS Server CLI Port ID
paul- wrote: > Wish I knew that years ago, didnt realize that a plug-in could add a > discovery method. > > Perl is incredibly hard to follow sometimes with all of its overrides. Its not a plugin addition in that case, its built in in LMS LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000, ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5 philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261 View this thread: http://forums.slimdevices.com/showthread.php?t=111009 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Is there a way to discover via network LMS Server CLI Port ID
Wish I knew that years ago, didnt realize that a plug-in could add a discovery method. piCorePlayer a small player for the Raspberry Pi in RAM. Homepage: https://www.picoreplayer.org Please 'donate' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted) if you like the piCorePlayer paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858 View this thread: http://forums.slimdevices.com/showthread.php?t=111009 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Is there a way to discover via network LMS Server CLI Port ID
mherger wrote: > > You can add âCLIPâ[emoji769] in the discovery packet request and it > will return > > the cli port > > Hehe... it's always good to know there are people out there who actually > > understand this stuff :-D > > -- > > Michael That was just one time :) BTW, your amp is on its way LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000, ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5 philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261 View this thread: http://forums.slimdevices.com/showthread.php?t=111009 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Is there a way to discover via network LMS Server CLI Port ID
You can add ‘CLIP’ in the discovery packet request and it will return the cli port Hehe... it's always good to know there are people out there who actually understand this stuff :-D -- Michael ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Is there a way to discover via network LMS Server CLI Port ID
rgdawson wrote: > The telnet interface allows me to subscribe/listen to server events, > like new song events, player name changes, player status changes > asynchronously. It was the easiest solution. I would like to not use > telnet, so I guess I am going to have to learn CometD and use that. I > did not think there was a way to discover Telnet/CLI port, but thought > I'd check. > > R Greg Dawson You can add CLIP in the discovery packet request and it will return the cli port LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000, ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5 philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261 View this thread: http://forums.slimdevices.com/showthread.php?t=111009 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Is there a way to discover via network LMS Server CLI Port ID
mherger wrote: > > I'm trying to write some code to auto-discover and configure my > client > > software (Squeezelite-X) for connecting to LMS. I can discover > servers > > on my network and that protocol provides the server name and > Json(Http) > > port ID. Can I use Json to ask the server what its CLI port number > is > > configured to? > > I'm not sure it's worth the effort, in particular on Windows: IIRC the > Tray icon is hard coded to use port 9090. And I've hardly ever seen a > complaint about it. > Michael Yah, just thought I'd check. Squeezelite-X rgdawson's Profile: http://forums.slimdevices.com/member.php?userid=65236 View this thread: http://forums.slimdevices.com/showthread.php?t=111009 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Is there a way to discover via network LMS Server CLI Port ID
I'm trying to write some code to auto-discover and configure my client software (Squeezelite-X) for connecting to LMS. I can discover servers on my network and that protocol provides the server name and Json(Http) port ID. Can I use Json to ask the server what its CLI port number is configured to? I'm not sure it's worth the effort, in particular on Windows: IIRC the Tray icon is hard coded to use port 9090. And I've hardly ever seen a complaint about it. -- Michael ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Is there a way to discover via network LMS Server CLI Port ID
paul- wrote: > Not that I'm aware of.What are you doing that you can't do via the > jsonrpc interface? The telnet interface allows me to subscribe/listen to server events, like new song events, player name changes, player status changes asynchronously. It was the easiest solution. I would like to not use telnet, so I guess I am going to have to learn CometD and use that. I did not think there was a way to discover Telnet/CLI port, but thought I'd check. R Greg Dawson Squeezelite-X rgdawson's Profile: http://forums.slimdevices.com/member.php?userid=65236 View this thread: http://forums.slimdevices.com/showthread.php?t=111009 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Is there a way to discover via network LMS Server CLI Port ID
Not that I'm aware of.What are you doing that you can't do via the jsonrpc interface? piCorePlayer a small player for the Raspberry Pi in RAM. Homepage: https://www.picoreplayer.org Please 'donate' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted) if you like the piCorePlayer paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858 View this thread: http://forums.slimdevices.com/showthread.php?t=111009 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter