After lots of tests and help (especially from epoch, thanks!) here is a new bridge that allows AirPlay devices (speakers and a lot of AV amplifier from Marantz, Denon ...) to be used as if they were regular LMS players. Compared to my other bridges, it brings replaygain, gapless, fading (in/out/cross) and ... what was the most important for me: synchronization with other LMS players.
The stable version is now part of the 3rd party plugin built-in list, so you should find it in the plugins page. If you want to test the development version (there is not always one on-going), just add the following repository
You need at least to select one helper binary, the bridge will not run otherwise. For Windows users, please install the Microsoft package whose link is provided. In general, prefer the non-static version if possible. For arm devices, the armv6 is for older CPU (PiZero 1st gen and other early Pi with ARM1176 processor)
This plugin *requires* SSL to stream HTTPS directly and pair with AppleTV so make sure it's installed on your LMS server. Not a problem for Windows, OSX, most Linux x86, Raspberry pi, Cubie, Odroid and others that use a Debian-based, but can be problematic with some NAS. I don't have a perfect guide, so please refer to your NAS forum, but most of the recent NAS firmware update include SSL as well, so that might be all that is required.
Other than that, Perl must have SSL support enabled, which again is available in all recent distribution and LMS versions (I think). But in case of problem and for Debian-ish Linux, you can try "sudo apt-get install libio-socket-ssl-perl libnet-ssleay-perl" at any command prompt. Here is as well the link to the original thread http://forums.slimdevices.com/showth...l=1#post631449
Other tips
Debug HELP
Folks, if you want help, you must post here the LMS version you're using, the OS and CPU. Then you must take a log of the bridge (go to the plugin's settings in LMS settings, tab advanced, it's self-explanatory).
I won't be able to help and I will not answer dry questions like "it does not work"
Advanced information
The "binary helper" is an independent application that is the *real* bridge. The LMS plugin part does not do much other than offering a UI to edit config files (and has a special role for AppleTV). So you can run that binary helper on *any* computer/Pi on your network, it does not have to run together with LMS. The compromise is that you will have to edit manually the XML config file. A version with detected players can be generated automatically using the -i option, but after that you're on your own. Refer to user guide for more details.
- It does decode ogg, ogf, ops, mp3, flac, aac, alac, wav, pcm and aif, does the resample and then sends the audio in AirPlay expected format (plain PCM or encoded ALAC).
- It consumes 5~7% of CPU for a raspi 2B per active AirPlay device
- There are versions for Windows, Linux x86 (32 and 64 bits) and ARM, OSX
- It can run on LMS or on another computer on your network (for example you can dedicate a raspi as the bridge and forget about it)
- You need to add firewall rules to let squeeze2raop (-win or -x86 or -x86_64 or -armv6hf) open the ports he needs. They can be set to a base+count or can be left dynamic. In Windows, just set a rule to authorize squeeze2raop-win.exe (in the plugin cache directory)
The stable version is now part of the 3rd party plugin built-in list, so you should find it in the plugins page. If you want to test the development version (there is not always one on-going), just add the following repository
Code:
http://downloads.sourceforge.net/project/lms-plugins-philippe44/dev/repo-sf.xml
This plugin *requires* SSL to stream HTTPS directly and pair with AppleTV so make sure it's installed on your LMS server. Not a problem for Windows, OSX, most Linux x86, Raspberry pi, Cubie, Odroid and others that use a Debian-based, but can be problematic with some NAS. I don't have a perfect guide, so please refer to your NAS forum, but most of the recent NAS firmware update include SSL as well, so that might be all that is required.
Other than that, Perl must have SSL support enabled, which again is available in all recent distribution and LMS versions (I think). But in case of problem and for Debian-ish Linux, you can try "sudo apt-get install libio-socket-ssl-perl libnet-ssleay-perl" at any command prompt. Here is as well the link to the original thread http://forums.slimdevices.com/showth...l=1#post631449
Other tips
- For shairport-based players (ShairportW, Kodi) and cheap Chinese knock-off (GGMM and many others) you must enable encryption
- If the player seems to be un-responsive, before de-activating/re-activating the whole plugin, you can try to switch it off/on in LMS
- One of my player takes a lot of time to start playing (>5s and volume changes interrupt playback - itunes gives the same result, so I assume this is a player problem. So be patient if the volume does not comes right after playback. Other players will start and when this one joins the group, it will be in sync
- With docker, network must be set to 'host' mode
- HomePod require "Send LMS metadata to player" to be enabled in plugin's settings and for recent iOS, "Allow Speaker and TV Access" shall be set to "Anyone On The Same Network" in device's settings
- Read the User's Guide which is accessible in the Settings
Debug HELP
Folks, if you want help, you must post here the LMS version you're using, the OS and CPU. Then you must take a log of the bridge (go to the plugin's settings in LMS settings, tab advanced, it's self-explanatory).
I won't be able to help and I will not answer dry questions like "it does not work"
Advanced information
The "binary helper" is an independent application that is the *real* bridge. The LMS plugin part does not do much other than offering a UI to edit config files (and has a special role for AppleTV). So you can run that binary helper on *any* computer/Pi on your network, it does not have to run together with LMS. The compromise is that you will have to edit manually the XML config file. A version with detected players can be generated automatically using the -i option, but after that you're on your own. Refer to user guide for more details.
Comment