philippe_44 wrote: > I've just released a first version of a new bridge that allows airplay > devices to be used as is 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. > > Please be aware of the following at this point > > > > > - it is experimental, so expect (a lot of) issues - it consumes a bit too much CPU (3~10% on my raspi 2B) - I have a > lots of optimisations in mind - being an airplay system, it uses 1.4Mbits/s of network bandwidth > per active player (44.1*16*2) - IT ONLY SUPPORTS PCM AND AIFF, ALL OTHER FORMATS MUST BE > TRANSCODED BY LMS (you need to edit your custom-convert.conf, see > below) - IT ONLY SUPPORTS 44.1 kHz, ALL OTHER SAMPLE RATE MUST BE RESAMPLED > BY LMS - THERE ARE ONLY WINDOWS, LINUX (x86 and x86_64 and armv6hf) - I > WON'T DO ANOTHER VERSION SOON - my test environment is Windows, so Linux versions are much less > tested - it can run on LMS or another computer > > > > > Only use this if you are want to do some test and tinkering. If you > don't know how to edit your custom-convert file, please wait till it's > more mature. If it works well, I will add support for more codecs > (mp3, flac at least) as well as re-sampling, but currently my > objective is stability of the main features. The link to the repo is > here > http://sourceforge.net/projects/lms-to-raop/files/dev/repo-sf.xml. > > Once you have started the plugin, allow 15-60s for players to appear. > For synchronisation, you need to adjust once your player delay in the > LMS player settings (not in the plugin setting page). Once you have > found the right delay, it should be pretty stable (I never had to > adjust mine on my 2 players, they are 375ms) - I've added a quick > manual ... have a look at it > > To transcode mp3 to pcm, add the following to custom-convert.xml > (needs lame as well) (you could/should replace "*" by the mac address > of the player to avoid systematic transcoding for all squeezelite > players - this mac address can be found in the plugin setting page) > > Code: -------------------- > > > mp3 pcm squeezelite * > # FT > [lame] --mp3input --decode -t --silent $FILE$ - > -------------------- > > > > other notes : > - the log file can grow very quickly when something wrong happen, be > careful, you can erase/disable it in the plugin settings > - if the player seems to be un-responsive, before > de-activating/re-activating the 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 I've added this digital volume > option to avoid using the player's volume command, but it adds to CPU > consumption as every sample must be scaled up/down) > - one oddity for synchronisation when you do mp3 transcoding: you have > to start the airplay player(s) not synchronized first, then you can > add LMS native players to the group and play different tracks like > that for hours, but if you have sync'd players when you start the > plugin, LMS will refuse to play mp3 to that group, failing to find a > rule for the group. I'm sure the LMS experts will be able to tell why
Hi philippe_44, I have just tried the plugin, but get no sound. The players are discovered, I have lame installed and ffmpeg too. I added the things to custom-config. When I press play, the second indicator starts increasing, but stops after 3-4 sec., and no sound. The log gives the following: Starting Squeeze2raop: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-armv6hf -Z -I -f /var/log/squeezeboxserver/raopbridge.log -x /var/lib/squeezeboxserver/prefs/raopbridge.xml [17:47:14.087380] main:789 Starting squeeze2raop version: v0.1.0.0-dev-1 (Jan 29 2016 @ 23:27:07) [17:47:29.507352] AddRaopDevice:497 [0x7986c]: adding renderer (Libratone-XXXXX1) [17:47:29.514780] AddRaopDevice:497 [0x79e1c]: adding renderer (Libratone-XXXXX2) [17:47:29.553791] RaopSetVolume:124 [0x79ba7]: volume request [17:47:29.554178] RaopThread:166 [0x79ba7]: processing volume [17:47:29.790731] RaopSetVolume:124 [0x7a157]: volume request [17:47:29.790993] RaopThread:166 [0x7a157]: processing volume [17:49:20.421054] RaopStop:59 [0x7a157]: stop request [17:49:20.421370] RaopThread:154 [0x7a157]: flushing ... (1) ------------------------------------------------------------------------ woodster's Profile: http://forums.slimdevices.com/member.php?userid=32688 View this thread: http://forums.slimdevices.com/showthread.php?t=105114 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
