Max2Play Home › Forums › Max2Play as Squeezebox (Player / Server) › Developpement of Android app: how to synchronize all the players
Tagged: android, max2play, Music, PiCorePlayer, Raspberry, Synchronize
- This topic has 3 replies, 2 voices, and was last updated 8 years, 9 months ago by Heiner premium.
-
13. Januar 2016 at 16:02 #17826
Hi everybody !
My team and I are working on a project using Max2Play : we have two Raspberry Pis, one is the SqueezeBox (it has Max2Play installed on it) and the other one is our player (it has PiCorePlayer installed). So far, everything works just fine using the Logitech Media Server. What we want to do is to create our own Android Application (like the Logitech Squeezebox Controller App). For now, we only would like the application to be able to send commands to our SqueezeBox like „synchronize all the platines/players“. Do you know where we could find documentation or how to code this command ?
Best regards,
Zephyr Project’s team !
15. Januar 2016 at 16:35 #17914Hi Team Zephyr Project!
Great to hear you are implementing our image. Although we would recommend using our image for the player Raspberry, as well 😉
You can set up multiple instances of Squeezelite with our plugin Multisqueeze and install shairtunes2 to make them AirPlay compatible.
Anyway, regarding the Squeezebox Server commands, we have some info on that in our upcoming voice control plugin. There you can find some example URL-commands for SBS that are directly parsed based on the device’s MAC address, etc.
There are also two links for extensive documentation on the use of URL commands in the SBS. I wrote about this in another thread already: https://www.max2play.com/forums/topic/doorbell/
Here you can find the link for installing the voice control plugin, as well. I hope this helps your project, please let us know if you need any more info or help.Best Regards
Heiner from Max2Play18. Januar 2016 at 23:14 #17993Hi,
Thank you very much for your answer.
We have finally found what we needed here : http://cocoontech.com/forums/topic/26625-squeezebox-logitech-media-center-and-haikuhelper/
From that, we can build an URL that sync players : http://IP:9000/status.txt?p0=sync&p1=MAC1&player=MAC2We would also like to ask you about a problem that we are facing. A couple of times, without knowing why, we experienced a crash of our Rpi SqeezePlug. I don’t have a screenshot but a kernel panic is mentioned on the display. The only solution we found is to erase the SD card and to reburn the image.
22. Januar 2016 at 15:40 #18080Hi Team Zephyr,
This is a weird occurence. Do you use a Raspberry Pi 2 Model B and our latest version of Max2Play 2.27? We have not experienced such overloads with this setup yet. If by Squeezeplug RPi you mean the Pi that only serves as a player, you could use our SD-Card protection plugin: https://www.max2play.com/en/features/sd-card-write-protection/
Regarding your search for commands, we currently have a non-complete plugin for voice control in the works wherein some simple URL commands are generated for the device and two links to documentation on Squeezebox commands. The plugin is still in beta and not fully functional, but the URL commands still work fine. Use this link to directly install the plugin under „Settings/Reboot“: http://shop.max2play.com/media/downloadable/beta/voicecontrol.tarBest Regards
Heiner from Max2Play -
You must be logged in to reply to this topic.