Home of the Squeezebox™ & Transporter® network music players.
Page 28 of 28 FirstFirst ... 18262728
Results 271 to 275 of 275
  1. #271
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    2,892
    Quote Originally Posted by chincheta0815 View Post
    Well, actually I already did that as I am working on a way to steer some devices... Therefore I use your LMS-toUPNP bridge code. I started and got the thing discovered via UPNP/SOAP. Now I need to communicate to the device using http GET, POST, SEND requests. I have to send the request and work wit the response from the device. Everything should respect async communication and use threads...

    Are there any functions already implemented I could use for these tasks?
    Is there a library available for that?
    Do you need more info via email?

    Thanks a lot in advance.
    We should probably move to the development thread. If the requests/responses are simple enough, then I just build them manually. You can see that in my airplay bridge (squeeze2raop.c, ActiveRemoteThread). Other than that, you probably can use the http parser that I use in the shairtunes2W plugin (see http.c and https://github.com/nodejs/http-parser) at least for the response processing. Other than that, I don't have a good proposal, but scanning github would help
    Last edited by philippe_44; 2017-04-16 at 11:12.
    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

  2. #272
    Senior Member
    Join Date
    Jan 2011
    Location
    Germany
    Posts
    182
    Quote Originally Posted by philippe_44 View Post
    We should probably move to the development thread. If the requests/responses are simple enough, then I just build them manually. You can see that in my airplay bridge (squeeze2raop.c, ActiveRemoteThread). Other than that, you probably can use the http parser that I use in the shairtunes2W plugin (see http.c and https://github.com/nodejs/http-parser) at least for the response processing. Other than that, I don't have a good proposal, but scanning github would help
    Okay I moved to: http://forums.slimdevices.com/showth...103#post881103

    I put some info in there. I would really appreciate your help a lot!

  3. #273
    Junior Member
    Join Date
    Feb 2009
    Posts
    15
    Quote Originally Posted by philippe_44 View Post
    The [log] files are created only when playback actually starts. Can you check in Windows processes that 2 instances of "dns-sd" are actually running? Can you also use the tool here https://github.com/philippe44/mDNS-SD to see what devices are being announced? Take the Windows version and in a command box, run "mdnssd-win _raop._tcp.local"
    Thank you for the prompt reply!

    Problem solved - Bonjour service was disabled on the server machine. Now everything works fine. Sorry for disturbance but your questions pointed me in the right direction to check.

    By the way 'mdnssd-win _raop._tcp.local' shows shairtunes2w players only when hardware airplay device is presented on the network.
    Last edited by SkyWalker2; 2017-04-17 at 08:14.

  4. #274
    Junior Member
    Join Date
    Feb 2009
    Posts
    15
    Dear philippe_44,

    Thank you for the marvelous plugin! I even was able to create stereo pair from my radios and stream to them as to single airplay device.

    Would it be possible to announce group of sb players as separate airplay speaker? With purpose to let user choose streaming to individual players or groups?

    By group I mean group of synced players in terms of LMS. Alternatively it could be grouping inside your plugin settings. Say via advanced LMS tab.

    For example I have two SB Radios and would like to choose therm as Airplay target individually or like a preset group with dedicated left, right channels each routed to a corresp SB Radio.

  5. #275
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    2,892
    Quote Originally Posted by SkyWalker2 View Post
    Dear philippe_44,

    Thank you for the marvelous plugin! I even was able to create stereo pair from my radios and stream to them as to single airplay device.

    Would it be possible to announce group of sb players as separate airplay speaker? With purpose to let user choose streaming to individual players or groups?

    By group I mean group of synced players in terms of LMS. Alternatively it could be grouping inside your plugin settings. Say via advanced LMS tab.

    For example I have two SB Radios and would like to choose therm as Airplay target individually or like a preset group with dedicated left, right channels each routed to a corresp SB Radio.
    What you're asking here is is the idea of "grouped players represented by virtual players". Unfortunately this concept is not supported natively by LMS, so replicating it would be a lot of work, from a frontend (UI) and backend point of view. If very likely doable, but it's too much for me as I already have a lot of plugins in LMS to support ...
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •