Coder Social home page Coder Social logo

lms-raop's Introduction

Logitech Media Server to AirPlay bridge

Allows AirPlay players to be used by Logitech Media Server, as a normal Logitech SqueezeBox. It provides synchronisation, replaygain, gapless, fade in/out/cross and all other LMS goodies. AirPlay remotes can be used as well

This project is now part f LMS 3rd parties repositories. Support thread is here

Please see here to know how to rebuild my apps in general

Otherwise, you can just get the source code and pre-built binaries:

cd ~
git clone http://github.com/philippe44/lms-raop
cd ~/lms-raop
git submodule update --init

and build doing:

cd ~/lms-raop/application
make

lms-raop's People

Contributors

philippe44 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lms-raop's Issues

Feature request: also send volume on "play"

Hi,
I've got the following issue with some of my players (Urbanears Baggen):
After wakeup from standby (pressing play in LMS) the audio volume is very low and not in sync with LMS volume anymore e.g. they play at 10% volume while LMS shows 40%. After changing volume in LMS by 1% the playback volume is back to normal.

Therefore it would be nice to have an option to also send LMS volume on pressing play, which should bring the Airplay device's volume back in sync.

Squeeze2raop keeps crashing

Hi Philippe44,

I have now changed the hardware several times. Currently, the LMS is operated with AirPlay Plugin on a Raspberry Pi4.
Unfortunately, the following sequence repeats itself again and again in the log.

`Retarting Squeeze2raop after crash: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-armv6hf-static -Z -I -b 192.168.178.XX -f /var/log/squeezeboxserver/raopbridge.log -x /var/lib/squeezeboxserver/prefs/raopbridge.xml
[16:41:02.476671] main:1569 Starting squeeze2raop version: v0.4.60.1 (May 24 2021 @ 15:08:24)

[16:41:02.478215] Start:1312 Binding to 192.168.178.XX
[16:41:02.478893] StartActiveRemote:1200 DACP port: 53463
[16:41:02.586746] AddRaopDevice:881 [0x3d5c78]: adding renderer (Sonos-347E5CFEE196)
[16:41:02.588534] raopcl_create:735 [0xb6608990]: using PCM coding
[16:41:02.601631] output_raop_thread_init:126 [0x37e750]: init output raop
[16:41:02.601778] output_init_common:290 allocating 2457600
[16:41:02.603750] slimproto:835 squeezelite [0x37e750] <=> player [0x3d5c78]
[16:41:02.604229] slimproto:836 [0x37e750] connecting to 192.168.178.XX:3483
[16:41:02.604681] slimproto:866 [0x37e750] connected
[16:41:02.604882] sendHELO:118 [0x37e750] cap: CanHTTPS=1,Model=squeezelite,ModelName=RaopBridge,AccuratePlayPoints=0,HasDigitalOut=1,MaxSampleRate=96000,aac,ogg,ops,ogf,flc,alc,wav,aif,pcm,mp3
[16:41:02.613046] PlayerThread:560 [0x3d5c78]: processing off
*** Error in /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-armv6hf-static': free(): invalid next size (normal): 0xb5c109c0 ***

In the meantime, I am at a loss. If you need more information, I am at your disposal.
Best regards, Frank

Pause on Airplay Player

Any chance to get the pause/resume button on the player to interact with the LMS (maybe with a power on/poweroff event) ?
I have an airplay device (sonos) and if i press the pause button on the speaker it stops for like 3 sec and then resumes playback.
I think it will be OK to pause the LMS to just staying off. I don't know if the airplay protocol allows it.
If you need more details let me know.

Crash when using Shairtunes2W

When streaming from iOS device to a group of LMS players through Shairtunes2W (0.102.2) that includes a airplay bridge (v0.4.4.1) player, the plug-in crash when play starts :

`[14:01:27.626] Start:1194 Binding to 192.168.0.1
[14:01:27.627] StartActiveRemote:1104 DACP port: 59130
[14:01:27.659] AddRaopDevice:805 [00485964]: adding renderer (am335x-opt)
[14:01:27.659] raopcl_create:702 [026BCF30]: using PCM coding
[14:01:27.834] output_raop_thread_init:126 [004A7938]: init output raop
[14:01:27.834] output_init_common:293 allocating 1764000
[14:01:27.836] AddRaopDevice:764 [004867BC]: AppleTV with authentication (pairing must be done separately)
[14:01:27.836] AddRaopDevice:805 [004867BC]: adding renderer (192-168-0-208)
[14:01:27.836] raopcl_create:702 [02685B10]: using PCM coding
[14:01:27.837] output_raop_thread_init:126 [004AA1B0]: init output raop
[14:01:27.837] output_init_common:293 allocating 1764000
[14:01:28.100] AddRaopDevice:764 [00487614]: AppleTV with authentication (pairing must be done separately)
[14:01:28.100] AddRaopDevice:805 [00487614]: adding renderer (VIVALDI-2)
[14:01:28.100] raopcl_create:702 [02675BE0]: using PCM coding
[14:01:28.101] output_raop_thread_init:126 [004ACA28]: init output raop
[14:01:28.101] output_init_common:293 allocating 1764000
[14:01:28.101] AddRaopDevice:758 [0048846C]: AirPort Express
[14:01:28.101] AddRaopDevice:805 [0048846C]: adding renderer (VIVALDI-2)
[14:01:28.101] raopcl_create:702 [0267A040]: using PCM coding
[14:01:28.101] output_raop_thread_init:126 [004AF2A0]: init output raop
[14:01:28.101] output_init_common:293 allocating 1764000
[14:01:29.615] slimproto:830 squeezelite [004A7938] <=> player [00485964]
[14:01:29.615] slimproto:831 [004A7938] connecting to 192.168.0.1:3483
[14:01:29.615] slimproto:830 squeezelite [004AA1B0] <=> player [004867BC]
[14:01:29.615] slimproto:831 [004AA1B0] connecting to 192.168.0.1:3483
[14:01:29.615] slimproto:830 squeezelite [004ACA28] <=> player [00487614]
[14:01:29.615] slimproto:831 [004ACA28] connecting to 192.168.0.1:3483
[14:01:29.615] slimproto:830 squeezelite [004AF2A0] <=> player [0048846C]
[14:01:29.615] slimproto:831 [004AF2A0] connecting to 192.168.0.1:3483
[14:01:29.615] slimproto:862 [004A7938] connected
[14:01:29.616] sendHELO:112 [004A7938] cap: Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=1,HasDigitalOut=1,MaxSampleRate=96000,flc,pcm,aif,aac,mp3,ogg
[14:01:29.616] slimproto:862 [004AA1B0] connected
[14:01:29.616] slimproto:862 [004ACA28] connected
[14:01:29.616] sendHELO:112 [004AA1B0] cap: Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=1,HasDigitalOut=1,MaxSampleRate=96000,flc,pcm,aif,aac,mp3,ogg
[14:01:29.616] sendHELO:112 [004ACA28] cap: Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=1,HasDigitalOut=1,MaxSampleRate=96000,flc,pcm,aif,aac,mp3,ogg
[14:01:29.616] slimproto:862 [004AF2A0] connected
[14:01:29.616] sendHELO:112 [004AF2A0] cap: Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=1,HasDigitalOut=1,MaxSampleRate=96000,flc,pcm,aif,aac,mp3,ogg
[14:01:29.703] PlayerThread:532 [00485964]: processing volume: 46 (-16.22)
[14:01:29.708] PlayerThread:532 [00487614]: processing volume: 50 (-15.00)
[14:01:29.713] PlayerThread:532 [004867BC]: processing volume: 50 (-15.00)
[14:01:29.719] PlayerThread:532 [0048846C]: processing volume: 29 (-21.43)
[14:01:42.122] PlayerThread:517 [0048846C]: flushing ...
[14:01:42.123] PlayerThread:395 [0048846C]: Disconnecting 3295820011
[14:01:42.123] PlayerThread:532 [0048846C]: processing volume: 29 (-21.43)
[14:01:42.124] PlayerThread:532 [00485964]: processing volume: 46 (-16.22)
[14:01:42.124] PlayerThread:517 [00485964]: flushing ...
[14:01:42.165] PlayerThread:532 [0048846C]: processing volume: 29 (-21.43)
[14:01:42.166] process_strm:233 [004AF2A0] strm command s
[14:01:42.166] process_strm:308 [004AF2A0], strm s autostart: 0 transition period: 10 transition type: 0 codec: p
[14:01:42.166] process_strm:341 [004AF2A0]: codec:p, ch:2, s:16, r:44100
[14:01:42.166] PlayerThread:494 [0048846C]: raop connecting ...
[14:01:42.166] PlayerThread:395 [00485964]: Disconnecting 3295820054
[14:01:42.166] PlayerThread:532 [00485964]: processing volume: 46 (-16.22)
[14:01:42.166] process_strm:233 [004A7938] strm command s
[14:01:42.166] process_strm:308 [004A7938], strm s autostart: 0 transition period: 10 transition type: 0 codec: p
[14:01:42.167] process_strm:341 [004A7938]: codec:p, ch:2, s:16, r:44100
[14:01:42.167] PlayerThread:494 [00485964]: raop connecting ...
[14:01:42.167] raopcl_connect:976 [0267A040]: local interface 192.168.0.1
[14:01:42.167] raopcl_connect:976 [026BCF30]: local interface 192.168.0.1
[14:01:42.192] PlayerThread:501 [0048846C]: raop connected
[14:01:42.192] PlayerThread:532 [0048846C]: processing volume: 25 (-21.43)
[14:01:42.194] PlayerThread:532 [0048846C]: processing volume: 25 (-22.65)
[14:01:42.196] PlayerThread:532 [0048846C]: processing volume: 25 (-22.65)
[14:01:42.271] PlayerThread:532 [0048846C]: processing volume: 25 (-22.65)
[14:01:42.401] process_strm:233 [004AF2A0] strm command u
[14:01:42.401] raopcl_start_at:378 [0267A040]: set start time 3748507301.1503199232 (ts:165309171989534)
[14:01:42.401] process_strm:233 [004A7938] strm command u
[14:01:42.401] raopcl_start_at:378 [026BCF30]: set start time 3748507301.1498939392 (ts:165309171989490)
[14:01:42.401] process_strm:293 [004AF2A0]: unpause at: 3295820488 now: 3295820289
[14:01:42.401] process_strm:293 [004A7938]: unpause at: 3295820487 now: 3295820289
[14:01:42.404] raopcl_accept_frames:423 [0267A040]: begining to stream hts:0 n:3748507302.1738259164
[14:01:42.404] raopcl_accept_frames:431 [0267A040]: restarting w/o pause n:3748507302.1738259164, hts:165309171989534
[14:01:42.411] raopcl_accept_frames:431 [026BCF30]: restarting w/o pause n:3748507302.1768439899, hts:165309171989490
[14:01:42.412] cli_open_socket:180 [004AF2A0]: opened CLI socket 2056
[14:01:42.413] PlayerThread:494 [0048846C]: raop connecting ...
[14:01:42.413] PlayerThread:501 [0048846C]: raop connected
[14:01:42.433] _output_frames:100 [004A7938]: track start sample rate: 44100 replay_gain: 0
[14:01:42.443] output_raop_thread:99 [004A7938]: track actual start time:3295820486 (gap:-1)
[14:01:42.472] exec_request:696 [026C0380]: Body data 1076, Õ
[14:01:42.500] _output_frames:100 [004AF2A0]: track start sample rate: 44100 replay_gain: 0
[14:01:42.509] raopcl_send_chunk:527 [026BCF30]: begining to stream (LATE) hts:165309172040178 n:3748507302.2190033889
[14:01:42.511] output_raop_thread:99 [004AF2A0]: track actual start time:3295820487 (gap:-1)
[14:01:42.516] PlayerThread:501 [00485964]: raop connected
[14:01:42.516] PlayerThread:532 [00485964]: processing volume: 41 (-16.22)
[14:01:42.574] PlayerThread:532 [00485964]: processing volume: 41 (-17.76)
[14:01:42.650] PlayerThread:532 [00485964]: processing volume: 41 (-17.76)
[14:01:42.670] ActiveRemoteThread:977 [00485964]: remote command setproperty?dmcp.device-busy=0
[14:01:42.726] PlayerThread:532 [00485964]: processing volume: 41 (-17.76)
[14:01:42.787] PlayerThread:494 [00485964]: raop connecting ...
[14:01:42.787] PlayerThread:501 [00485964]: raop connected

Retarting Squeeze2raop after crash: C:\PROGRA3\SQUEEZ1\Cache\INSTAL1\Plugins\RAOPBR1\Bin\SQUEEZ~1.EXE -Z -I -b 192.168.0.1 -f C:\ProgramData\Squeezebox\Logs\raopbridge.log -x C:\ProgramData\Squeezebox\prefs\raopbridge.xml
[14:01:57.615] main:1432 Starting squeeze2raop version: v0.4.4.1 (Oct 8 2018 @ 14:08:55)

[14:01:57.632] Start:1194 Binding to 192.168.0.1`

Latest Airport Express (Gen 3) firmware upgrade 7.8 does not produce audio output

Was operating fine on previous version but after upgrade of 3rd gen Airport express to version 7.8 the following happens:

  • When pressing play, the music time works put there is no audio output.
  • Also trying to pause the play does not work. It keeps playing (with no audio). The only way to pause is to click power off.

Current version of LMS-to Raop = 0.4.2.0
FYI: version 7.6.9 on a Gen 2 Airport express works fine on the same network.

Unfortunately cannot revert to previous version of Airport Express.

Regards,
Sedim

Help debugging raopbridge disconnections in LMS

Hi, I have my LMS on Raspberry, configured to wake up at 7:00 in the morning, and sending a webradio output to an Airplay Sony speaker. It works great for a lot of webradios, but one disconnects after a while. I tried to change timeouts and receive buffers, but nothing worked. Some days it works for more than 15 minutes, and somewhen crashes and then restarts before of the timeout.
How can I understand why? I have a very fast internet connection (130 Mbps and a fast local LAN), The speaker and LMS are cabled, no wifi problems between LMS and speakers.
Audio buffer is up to 10 sec, connection buffer is 50 sec, in both network and raopbridge

Thank you in advance

This is the log, cleaned from thousands of "Tick" lines (btw, how can I avoid such lines?):
[rao.log](https://github.com/philippe44/LMS-to-Raop/files/5473959/rao.log)

AirPlay Renderer being kicked offline?

One of my airplay devices is being kicked offline by Raop. This is the only log entry I could find:

[23:11:06.741] mDNSsearchCallback:664 [0x623fd0]: removing renderer (Living-Room)
[23:11:06.742] slimproto_close:902 [0x5d14d8] slimproto stop for Living-Room
[23:11:06.866] DelRaopDevice:996 [0x623fd0]: Raop device stopped
[23:12:00.906] AddRaopDevice:911 [0x623fd0]: adding renderer ([email protected]) with mac AAAA-372BBC63
[23:12:00.906] raopcl_create:715 [0x7f5ff4069a40]: using PCM coding
[23:12:00.910] output_raop_thread_init:126 [0x5d14d8]: init output raop
[23:12:00.910] output_init_common:290 allocating 1764000
[23:12:00.911] mDNSsearchCallback:728 Updating configuration /config/lms/prefs/raopbridge.xml
[23:12:00.912] slimproto:830 squeezelite [0x5d14d8] <=> player [0x623fd0]
[23:12:00.912] slimproto:831 [0x5d14d8] connecting to 192.168.1.171:3483
[23:12:00.912] slimproto:861 [0x5d14d8] connected
[23:12:00.912] sendHELO:107 [0x5d14d8] cap: CanHTTPS=1,Model=squeezelite,ModelName=RaopBridge,AccuratePlayPoints=0,HasDigitalOut=1,MaxSampleRate=96000,aac,ogg,ops,ogf,flc,alc,wav,aif,pcm,mp3

Any idea what might cause this?

Plugin crashing in LMS v8.3.1 - 1676361197

The plugin crashes on start in the newest version of LMS (v8.3.1) with the following log:

[12:37:47.737929] main:1533 Starting squeeze2raop version: v1.3.1 (Aug  9 2023 @ 21:21:07)
[12:37:47.739499] Start:1268 Cannot load SSL libraries
[12:37:47.739513] main:1597 Cannot start, exiting
[23-08-15 12:37:49.1911] Plugins::RaopBridge::Squeeze2raop::beat (175) crashed ... restarting
[12:37:49.222056] main:1533 Starting squeeze2raop version: v1.3.1 (Aug  9 2023 @ 21:21:07)
[12:37:49.224715] Start:1268 Cannot load SSL libraries
[12:37:49.224746] main:1597 Cannot start, exiting

It seems to do this over and over. Any advice?

Retarting Squeeze2raop after crash

Hey, after upgrading the lovely LMS Plugin to Version 4.42.0 with my docker container, it keeps constantly crashing. However, I'm not sure, if the update is the reason. Please find the log beginning from a restart. I started playing a online stream on a airplay device. (Does'nt matter which airplay device I select)

`Retarting Squeeze2raop after crash: /mnt/state/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-x86-64-static -Z -I -f /mnt/state/logs/raopbridge.log -d all=debug -x /mnt/state/prefs/raopbridge.xml
[06:48:48.596642] main:1535 Starting squeeze2raop version: v0.4.42.0 (Oct 30 2020 @ 17:45:49)

[06:48:48.596714] register_pcm:306 using pcm to decode aif,pcm
[06:48:48.596726] register_mad:429 using mad to decode mp3
[06:48:48.596735] register_alac:542 using alac to decode alc
[06:48:48.596744] register_flac:308 using flac to decode flc
[06:48:48.596762] register_faad:648 using faad to decode aac
[06:48:48.596771] register_vorbis:339 using vorbis to decode ogg
[06:48:48.596789] register_opus:282 using opus to decode ops
[06:48:48.596798] register_soxr:391 using soxr for resampling
[06:48:48.596941] Start:1282 Binding to 192.168.200.249
[06:48:48.597045] StartActiveRemote:1170 DACP port: 53527
[06:48:48.597271] mDNSsearchCallback:692 Updating configuration /mnt/state/prefs/raopbridge.xml
[06:48:48.714051] AddRaopDevice:816 [0xbd1c00]: AirPort Express
[06:48:48.714161] AddRaopDevice:866 [0xbd1c00]: adding renderer (EinWirelessAirPort)
[06:48:48.714824] raopcl_create:728 [0x7fc4500092e0]: using PCM coding
[06:48:48.715094] stream_thread_init:464 [0xb786c0] streambuf size: 2097152
[06:48:48.716632] output_raop_thread_init:126 [0xb786c0]: init output raop
[06:48:48.716666] output_init_common:289 [0x1aeaa0]: outputbuf size: 8953952
[06:48:48.716698] output_init_common:293 allocating 1764000
[06:48:48.716793] decode_thread_init:158 [0xb786c0]: init decode
[06:48:48.716918] resample_init:342 [0xb786c0]: resampling sync recipe: 0x00, flags: 0x00, scale: 0.89, precision: 0.0, passband_end: 0.00000, stopband_begin: 0.00000, phase_response: -1.0
[06:48:48.717059] mDNSsearchCallback:692 Updating configuration /mnt/state/prefs/raopbridge.xml
[06:48:48.717103] discover_server:783 [0xb786c0] sending discovery
[06:48:48.717645] discover_server:815 [0xb786c0] got response from: 192.168.200.249:3483
[06:48:48.717686] slimproto:835 squeezelite [0xb786c0] <=> player [0xbd1c00]
[06:48:48.717708] slimproto:836 [0xb786c0] connecting to 192.168.200.249:3483
[06:48:48.717827] slimproto:866 [0xb786c0] connected
[06:48:48.717852] sendHELO:117 [0xb786c0] mac: aa:aa:5e:3c:cd:98
[06:48:48.717870] sendHELO:118 [0xb786c0] cap: CanHTTPS=1,Model=squeezelite,ModelName=RaopBridge,AccuratePlayPoints=0,HasDigitalOut=1,MaxSampleRate=96000,aac,ogg,ops,ogf,flc,alc,wav,aif,pcm,mp3
[06:48:48.719399] process:540 [0xb786c0] strm
[06:48:48.719440] process_strm:244 [0xb786c0] strm command q
[06:48:48.719460] decode_flush:198 [0xb786c0]: decode flush
[06:48:48.719476] output_flush:334 [0xb786c0]: flush output buffer
[06:48:48.719493] sq_callback:277 [0xbd1c00]: device off or not controlled by LMS
[06:48:48.724158] process:540 [0xb786c0] audg
[06:48:48.724231] process_audg:437 [0xb786c0] (old) audg gainL: 80 gainR: 80
[06:48:48.724250] sq_callback:277 [0xbd1c00]: device off or not controlled by LMS
[06:48:48.726293] process:540 [0xb786c0] strm
[06:48:48.726336] process_strm:241 [0xb786c0] strm command s
[06:48:48.726356] process_strm:316 [0xb786c0], strm s autostart: 3 transition period: 10 transition type: 0 codec: m
[06:48:48.726375] sendSTAT:142 [0xb786c0]: ms_played: 0
[06:48:48.726390] sendSTAT:166 [0xb786c0]: STAT: STMf
[06:48:48.726428] process_strm:332 [0xb786c0]: set fade mode: 0
[06:48:48.726446] codec_open:227 codec open: 'm'
[06:48:48.726519] process_strm:348 [0xb786c0]: codec:m, ch:255, s:255, r:255
[06:48:48.726537] sq_callback:277 [0xbd1c00]: device off or not controlled by LMS
[06:48:48.726570] connect_socket:154 [0xb786c0] connecting to 212.122.148.181:80
[06:48:48.737064] AddRaopDevice:866 [0xbd29d0]: adding renderer (BoseSoundLinkAir)
[06:48:48.737580] raopcl_create:728 [0x7fc450011a90]: using PCM coding
[06:48:48.737713] stream_thread_init:464 [0xb7b1a8] streambuf size: 2097152
[06:48:48.738711] output_raop_thread_init:126 [0xb7b1a8]: init output raop
[06:48:48.738729] output_init_common:289 [0x1aeaa0]: outputbuf size: 8953952
[06:48:48.738738] output_init_common:293 allocating 1764000
[06:48:48.738777] decode_thread_init:158 [0xb7b1a8]: init decode
[06:48:48.738816] resample_init:342 [0xb7b1a8]: resampling sync recipe: 0x00, flags: 0x00, scale: 0.89, precision: 0.0, passband_end: 0.00000, stopband_begin: 0.00000, phase_response: -1.0
[06:48:48.738888] mDNSsearchCallback:692 Updating configuration /mnt/state/prefs/raopbridge.xml
[06:48:48.739149] discover_server:783 [0xb7b1a8] sending discovery
[06:48:48.739503] discover_server:815 [0xb7b1a8] got response from: 192.168.200.249:3483
[06:48:48.739543] slimproto:835 squeezelite [0xb7b1a8] <=> player [0xbd29d0]
[06:48:48.739557] slimproto:836 [0xb7b1a8] connecting to 192.168.200.249:3483
[06:48:48.739635] slimproto:866 [0xb7b1a8] connected
[06:48:48.739649] sendHELO:117 [0xb7b1a8] mac: aa:aa:8a:5a:0e:03
[06:48:48.739659] sendHELO:118 [0xb7b1a8] cap: CanHTTPS=1,Model=squeezelite,ModelName=RaopBridge,AccuratePlayPoints=0,HasDigitalOut=1,MaxSampleRate=96000,aac,ogg,ops,ogf,flc,alc,wav,aif,pcm,mp3
[06:48:48.740325] process:540 [0xb7b1a8] setd
[06:48:48.740358] sendSETDName:229 [14]: set playername: BoseSoundLinkAir
[06:48:48.740394] process:540 [0xb7b1a8] setd
[06:48:48.740480] process:540 [0xb7b1a8] aude
[06:48:48.740495] process_aude:420 [0xb7b1a8] on/off using aude 0
[06:48:48.740514] sq_callback:273 [0xbd29d0]: device set on/off 0
[06:48:48.740527] sq_callback:277 [0xbd29d0]: device off or not controlled by LMS
[06:48:48.740547] PlayerThread:409 [0xbd29d0]: tick 3652537188
[06:48:48.740598] PlayerThread:551 [0xbd29d0]: processing off
[06:48:48.740561] process:540 [0xb7b1a8] audg
[06:48:48.740624] process_audg:437 [0xb7b1a8] (old) audg gainL: 12 gainR: 12
[06:48:48.740637] sq_callback:277 [0xbd29d0]: device off or not controlled by LMS
[06:48:48.743049] stream_sock:587 [0xb786c0] header: GET /rbb/fritz/live/mp3/mid?_art=dj0yJmlwPTg5LjE4My4xMjMuNDAmaWQ9aWNzY3hsLTJ4NWtjdHJuYiZ0PTE2MDQzODYxMjQmcz03ODY2ZjI5YyM1OTE2OTNhZTgzNzc5MzE2MmM2ZjUwYjQ0NmMwZTNhZg HTTP/1.0
Cache-Control: no-cache
Connection: close
Accept: /
Host: rbb-edge-306f-dus-ts-cdn.cast.addradio.de
User-Agent: iTunes/4.7.1 (Linux; N; Debian; x86_64-linux; EN; utf8) SqueezeCenter, Squeezebox Server, Logitech Media Server/7.9.2/1578996832
Icy-Metadata: 1

[06:48:48.743077] sendSTAT:142 [0xb786c0]: ms_played: 0
[06:48:48.743091] sendSTAT:166 [0xb786c0]: STAT: STMc
[06:48:48.743128] process:540 [0xb786c0] audg
[06:48:48.743141] process_audg:437 [0xb786c0] (old) audg gainL: 80 gainR: 80
[06:48:48.743151] sq_callback:277 [0xbd1c00]: device off or not controlled by LMS
[06:48:48.743168] process:540 [0xb786c0] setd
[06:48:48.743177] sendSETDName:229 [10]: set playername: EinWirelessAirPort
[06:48:48.743199] process:540 [0xb786c0] setd
[06:48:48.743217] process:540 [0xb786c0] aude
[06:48:48.743236] process_aude:420 [0xb786c0] on/off using aude 1
[06:48:48.743246] sq_callback:273 [0xbd1c00]: device set on/off 1
[06:48:48.743264] process:540 [0xb786c0] audg
[06:48:48.743273] process_audg:437 [0xb786c0] (old) audg gainL: 80 gainR: 80
[06:48:48.743301] PlayerThread:409 [0xbd1c00]: tick 3652537191
[06:48:48.743330] PlayerThread:558 [0xbd1c00]: processing volume: 72 (-8.40)
[06:48:48.850465] process:540 [0xb786c0] strm
[06:48:48.850557] process_strm:244 [0xb786c0] strm command t
[06:48:48.850590] sendSTAT:142 [0xb786c0]: ms_played: 0
[06:48:48.850613] sendSTAT:166 [0xb786c0]: STAT: STMt
[06:48:48.853420] stream_thread:337 [0xb786c0] headers: len: 477
HTTP/1.0 200 OK
Content-Type: audio/mpeg
Date: Mon, 02 Nov 2020 06:48:48 GMT
icy-description:It's Fritz!
icy-name:Fritz
icy-pub:0
Server: dg-rbb-http_dus-ts_edge_e11f8aac55b4584ad15a4867f7894b15
Cache-Control: no-cache, no-store
Access-Control-Allow-Origin: *
Access-Control-Allow-Headers: Origin, Accept, X-Requested-With, Content-Type
Access-Control-Allow-Methods: GET, OPTIONS, HEAD
Connection: Close
Expires: Mon, 26 Jul 1997 05:00:00 GMT
icy-metaint:16000

[06:48:48.853567] sendRESP:199 [10]: RESP
[06:48:48.855469] process:540 [0xb786c0] cont
[06:48:48.855499] process_cont:380 cont metaint: 16000 loop: 0
[06:48:48.953636] stream_thread:436 [0xb786c0] streambuf read 16000 bytes
[06:48:48.953723] stream_thread:390 [0xb786c0] icy meta: len: 48
StreamTitle='Sam Smith - Another One';
[06:48:48.953760] stream_thread:436 [0xb786c0] streambuf read 16000 bytes
[06:48:48.953802] sendMETA:213 [10]: META
[06:48:48.953821] stream_thread:436 [0xb786c0] streambuf read 16000 bytes
[06:48:48.953893] stream_thread:436 [0xb786c0] streambuf read 6192 bytes
[06:48:48.965170] stream_thread:436 [0xb786c0] streambuf read 2880 bytes
[06:48:48.965238] stream_thread:436 [0xb786c0] streambuf read 1440 bytes
[06:48:48.965322] stream_thread:436 [0xb786c0] streambuf read 2880 bytes
[06:48:48.965366] stream_thread:436 [0xb786c0] streambuf read 1440 bytes
[06:48:48.965419] stream_thread:436 [0xb786c0] streambuf read 1168 bytes
[06:48:48.965487] stream_thread:436 [0xb786c0] streambuf read 271 bytes

Retarting Squeeze2raop after crash: /mnt/state/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-x86-64 -Z -I -x /mnt/state/prefs/raopbridge.xml`

What is the minimum kernel version to run LMS-Raop?

Hi,
I am trying to enable the LMS Airplay Bridge on LMS 8.3.1.

But squeeze2raop crashes, whether I use the shared or -static versions of the binary.

If I copy the command line from the plugin's debug log and run in a terminal, I get the following:

# /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-linux-x86-static -Z -I -f /var/log/squeezeboxserver/raopbridge.log -d all=debug -x /var/lib/squeezeboxserver/prefs/raopbridge.xml -i /var/lib/squeezeboxserver/prefs/raopbridge.xml
FATAL: kernel too old
Segmentation fault

I'm running a pretty old version of Fedora on pretty old hardware. What's the minimum kernel version I need to successfully fun Airplay Bridge?

# uname -r
3.12.5-301.fc20.i686+PAE
# cat /etc/fedora-release
Fedora release 20 (Heisenbug)

Thanks. And sorry that this is a support question rather than an issue with the software. :-) I looked in the readmes but couldn't find the answer there.

Thanks

v1.2.5 - Compatibility issue with LMS v8.1.1 - 1610364019 - DSM 6 x86_64-linux

The upgrade to the last version 1.2.5 has been proposed by LMS. Since, the plugin won't work anymore on my LMS 8.1.1 setup as it's clearly written in the plugin manager and ask me to upgrade the entire LMS to a newer version.

I am still running one of the last SPK image of LMS that has been computed with an old PEARL package v 5.2.4, and I don't intend to upgrade to a newer version (Docker upgrade of LMS is needed).

Would it be possible to check why the plugin is not working anymore ?

Issues when settings LMS -*addr command line args.

Hej Philippe,

there are no issues when I do not change the below mentioned command line args. Everything work perfect (paring, hearing, etc.)

BUT when setting the lms command line args:

    --advertiseaddr <IP-Server> \
    --cliaddr <IP-Server> \
    --httpaddr <IP-Server> \
    --playeraddr <IP-Server> \
    --streamaddr <IP-Server>

The connection between LMS, the AppleTV and the Bridge just stop. The AppleTV is not shown anymore as a player in my LMS players list.

All I found so far is that there is a connection missing in netstat.

WITHOUT cmd line args:

root@[/export/lmsdata/cache/InstalledPlugins/Plugins/RaopBridge] netstat -anp | grep sque
tcp        0      0 <IP-Server>:36647     0.0.0.0:*               LISTEN        79952/squeeze2raop- 
tcp        0      0 <IP-Server>:60168     <IP-Server>:3483      ESTABLISHED  79952/squeeze2raop- 
udp        0      0 0.0.0.0:5353            0.0.0.0:*                           79952/squeeze2raop- 
udp        0      0 0.0.0.0:5353            0.0.0.0:*                           79952/squeeze2raop- 
root@[/export/lmsdata/cache/InstalledPlugins/Plugins/RaopBridge] netstat -anp | grep perl
tcp        0      0 0.0.0.0:3483            0.0.0.0:*               LISTEN      79916/perl          
tcp        0      0 0.0.0.0:9000            0.0.0.0:*               LISTEN      79916/perl          
tcp        0      0 0.0.0.0:9090            0.0.0.0:*               LISTEN      79916/perl          
tcp        0      <IP-Server>:39949     0.0.0.0:*               LISTEN      79916/perl          
tcp        0      0 <IP-Server>:3483      <IP-Player>:58316    ESTABLISHED 79916/perl          
tcp        0      0 <IP-Server>:3483      <IP-Server>:60168     ESTABLISHED 79916/perl          
udp        0      0 0.0.0.0:3483            0.0.0.0:*                           79916/perl          
udp        0      0 <IP-Server>:57159     0.0.0.0:*                           79916/perl          
udp        0      0 0.0.0.0:33326           0.0.0.0:*                           79916/perl          
unix  3      [ ]         STREAM     CONNECTED     675261   79916/perl           

WITH these command line args I get hardly the same output with just one line missing:

root@soundcity[/export/lmsdata/cache/InstalledPlugins/Plugins/RaopBridge] netstat -anp | grep sque
tcp        0      0 <IP-Server>:52591     0.0.0.0:*               LISTEN      78997/squeeze2raop- 
udp        0      0 0.0.0.0:53735           0.0.0.0:*                           78997/squeeze2raop- 
udp        0      0 0.0.0.0:5353            0.0.0.0:*                           78997/squeeze2raop- 
udp        0      0 0.0.0.0:5353            0.0.0.0:*                           78997/squeeze2raop- 
root@soundcity[/export/lmsdata/cache/InstalledPlugins/Plugins/RaopBridge] netstat -anp | grep perl
tcp        0      0 <IP-Server>:9090      0.0.0.0:*               LISTEN      78951/perl          
tcp        0      0 <IP-Server>:9000      0.0.0.0:*               LISTEN      78951/perl          
tcp        0      0 <IP-Server>:40491     0.0.0.0:*               LISTEN      78951/perl          
tcp        0      0 <IP-Server>:3483      0.0.0.0:*               LISTEN      78951/perl          
tcp        0      0 <IP-Server>:3483      <IP-Server>:58310    ESTABLISHED 78951/perl          
udp        0      0 <IP-Server>:3483      0.0.0.0:*                           78951/perl          
udp        0      0 <IP-Server>:53037     0.0.0.0:*                           78951/perl          
unix  3      [ ]         STREAM     CONNECTED     672268   78951/perl           

To my understanding there is a connection missing linking the squeeze2raop bridge as a player to lms...
This behavior occurs under all the above mentioned cmd line args, leaving these out everything works again.
So far it looks to me as if there is an issue inside the squeeze2raop bridge binary, as I found no errors so far in the logs.

Could help me in finding out what's wrong here?

Thank you very much in advance.

Rouven

airplay volume scale doesn't allow loudness control at low volume.

When configured to play through an appleTV 1st gen, the volume scale doesn't allow the adjustment of volume at low volume with the hardware volume control.

It is as if the volume mapping should start at a value lower than -30. Changing the mapping in the configuration file has an effect on the dynamic of the mapping. when set to zero: no volume. When set to 1, there is already a vast amount of loudness, as if LMS was set to 20. Software volume control do work as expected.
0 -------------------------100
-30 ----- -30--------------0

Did not pop up pair window when pair appleTV.

I use Synology DS218+,and installed LMS with air-bridge plugin, after start LMS,it found my appleTV 4K and appeared a pair button, when I clicked pair button,my appleTV showed a pair code, but there is nothing happened on LMS,so I can't input the pair code showed on my appleTV to pair it.please help me.Thx!

MusicCast Stero Pair delay wrong

It's possible, with some MusicCast (read: Yamaha) to pair them into stereo left/right pairs. When the speakers are by themselves, and you cast to them they sync perfectly with squeezebox. However when you stereo pair them at the speakers, the delay changes and they are no longer properly in sync with LMS, seemingly always delayed behind a squeezebox radio used as the "test" point. The delay seems to be consistent enough that two stereo paired sets of speakers seem to be in sync, but a single stereo paired set, and two non-paired speakers are not in sync.

I'm guessing that the left/right stereo pairing adds an additional delay into the raop (feels like an additional ~2 seconds) that isn't getting communicated back up to LMS? Figured I'd open the bug and see if there was any suggested debugging to help try and narrow down the issue.

Crashing Squeeze2raop wont start

Somehow it wont start.

Logitech Media Server Version: 7.9.2 - 1556796842 @ Thu May 2 13:48:35 CEST 2019
Hostname: max2play
Server IP Address: 10.10.1.21
Server HTTP Port Number: 9000
Operating system: Debian - EN - utf8
Platform Architecture: armv7l-linux
Perl Version: 5.24.1 - arm-linux-gnueabihf-thread-multi-64int
Audio::Scan: 1.02
IO::Socket::SSL: 2.044
Database Version: DBD::SQLite 1.58 (sqlite 3.22.0)
Total Players Recognized: 1
Starting Squeeze2raop: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-armv6hf -Z -I -b 10.10.1.22 -f /var/log/squeezeboxserver/raopbridge.log -d all=debug -x /var/lib/squeezeboxserver/prefs/raopbridge.xml -i /var/lib/squeezeboxserver/prefs/raopbridge.xml

Starting Squeeze2raop: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-armv6hf -Z -I -b 10.10.1.22 -f /var/log/squeezeboxserver/raopbridge.log -d all=debug -x /var/lib/squeezeboxserver/prefs/raopbridge.xml

Retarting Squeeze2raop after crash: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-armv6hf -Z -I -b 10.10.1.22 -f /var/log/squeezeboxserver/raopbridge.log -d all=debug -x /var/lib/squeezeboxserver/prefs/raopbridge.xml

Retarting Squeeze2raop after crash: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-armv6hf -Z -I -b 10.10.1.22 -f /var/log/squeezeboxserver/raopbridge.log -d all=debug -x /var/lib/squeezeboxserver/prefs/raopbridge.xml -i /var/lib/squeezeboxserver/prefs/raopbridge.xml

Retarting Squeeze2raop after crash: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-armv6hf -Z -I -b 10.10.1.22 -f /var/log/squeezeboxserver/raopbridge.log -d all=debug -x /var/lib/squeezeboxserver/prefs/raopbridge.xml -i /var/lib/squeezeboxserver/prefs/raopbridge.xml

Retarting Squeeze2raop after crash: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-armv6hf -Z -I -b 10.10.1.22 -f /var/log/squeezeboxserver/raopbridge.log -d all=debug -x /var/lib/squeezeboxserver/prefs/raopbridge.xml

Retarting Squeeze2raop after crash: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-armv6hf -Z -I -b 10.10.1.22 -f /var/log/squeezeboxserver/raopbridge.log -d all=debug -x /var/lib/squeezeboxserver/prefs/raopbridge.xml

Retarting Squeeze2raop after crash: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-armv6hf -Z -I -b 10.10.1.22 -f /var/log/squeezeboxserver/raopbridge.log -d all=debug -x /var/lib/squeezeboxserver/prefs/raopbridge.xml -i /var/lib/squeezeboxserver/prefs/raopbridge.xml

Retarting Squeeze2raop after crash: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-armv6hf -Z -I -b 10.10.1.22 -f /var/log/squeezeboxserver/raopbridge.log -d all=debug -x /var/lib/squeezeboxserver/prefs/raopbridge.xml -i /var/lib/squeezeboxserver/prefs/raopbridge.xml

Starting Squeeze2raop: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-armv6hf -Z -I -b 10.10.1.22 -f /var/log/squeezeboxserver/raopbridge.log -d all=debug -x /var/lib/squeezeboxserver/prefs/raopbridge.xml

Retarting Squeeze2raop after crash: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-armv6hf -Z -I -b 10.10.1.22 -f /var/log/squeezeboxserver/raopbridge.log -d all=debug -x /var/lib/squeezeboxserver/prefs/raopbridge.xml

Retarting Squeeze2raop after crash: /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-armv6hf -Z -I -b 10.10.1.22 -f /var/log/squeezeboxserver/raopbridge.log -d all=debug -x /var/lib/squeezeboxserver/prefs/raopbridge.xml

Doing that did not help:

- Uninstalled Airplay Bridge => Unchecking it in Plugins + Restarting Squeezebox server
- Removed the RaopBridge directory itself (not only the files inside) in /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins
- Installed RaopBridge again
- Restarted Squeezebox server

Apple TV 4K 2021

Sometimes, playback does not start. The web frontend displays passed time as 0:00. Sometimes, skip to next song or choosing another radio station does start the playback. But very often only one or multiple restart of the plugin does help. System of squeezebox server: mac os. Version of server 8.2.0 - 1627922070. Log file does not show an error when this happens. Another device (Libratone Box) does not have any problems with the plugin, only the Apple TV 4K.

Meta data not updating to Wiim mini players/Loss of volume control

Hi Philippe,

I'm SO sorry to bother you with another Wiim mini issue, but it looks like metadata sometimes fails to push to the player, about every 3-4 tracks. The stream will play the correct track as listed in LMS, but will show the title/artwork from a previous track (see attached photos). When this happens, I am also unable to control the volume for that player from LMS. I can pause/play, but skipping to the next track causes an audio glitch before moving to the next track.

Eventually the offending player will be turned off completely by RAOP. If I turn the player back on, it seems to sync correctly with the playing track in LMS.

I have two players where this happens regularly– one has a very strong WiFi connection and is the default/master player. The other has a so-so connection, and syncs to the first player. Overall, there are four Wiim minis on the netwrok which all sync playback.

Do you have any advice?

Here are the relevant logs:

[19:50:07.742] PlayerThread:546 [0xacf390]: idx 45
	artist:Perry Como
	album:Greatest Christmas Songs
	title:Have Yourself a Merry Little Christmas
	genre:
	duration:169.333
	size:0
	cover:https://i.scdn.co/image/ab67616d0000b273d5f598be32d3027b9578ecd6
[19:50:08.131] PlayerThread:595 [0xace4a0]: Got artwork for https://i.scdn.co/image/ab67616d0000b273d5f598be32d3027b9578ecd6
[19:50:08.150] PlayerThread:595 [0xad0280]: Got artwork for https://i.scdn.co/image/ab67616d0000b273d5f598be32d3027b9578ecd6
[19:50:08.191] PlayerThread:595 [0xacf390]: Got artwork for https://i.scdn.co/image/ab67616d0000b273d5f598be32d3027b9578ecd6
[19:50:15.045] exec_request:655 [0x7f74b002b160]: response :  request failed
[19:50:17.268] raopcl_send_chunk:589 [0x7f74b0025b40]: check n:1365968052 p:1365970790 ts:75065830061377 sn:10466
               retr: 0, avail: 0, send: 0, select: 0)
[19:50:17.268] raopcl_send_chunk:589 [0x7f74b0009300]: check n:1365968052 p:1365970789 ts:75065830061332 sn:1077
               retr: 0, avail: 0, send: 0, select: 0)
[19:50:17.270] raopcl_send_chunk:589 [0x7f74b002c9e0]: check n:1365968053 p:1365970789 ts:75065830061332 sn:48320
               retr: 0, avail: 0, send: 0, select: 0)
[19:50:17.270] raopcl_send_chunk:589 [0x7f74b001eca0]: check n:1365968054 p:1365970789 ts:75065830061332 sn:30936
               retr: 0, avail: 0, send: 0, select: 0)
[19:50:27.066] exec_request:655 [0x7f74b002b160]: response :  request failed
[19:50:27.266] raopcl_send_chunk:589 [0x7f74b0025b40]: check n:1365978050 p:1365980784 ts:75065830502081 sn:11718
               retr: 0, avail: 0, send: 0, select: 0)
[19:50:27.266] raopcl_send_chunk:589 [0x7f74b002c9e0]: check n:1365978050 p:1365980791 ts:75065830502388 sn:49573
               retr: 0, avail: 0, send: 0, select: 0)
[19:50:27.266] raopcl_send_chunk:589 [0x7f74b001eca0]: check n:1365978050 p:1365980791 ts:75065830502388 sn:32189
               retr: 0, avail: 0, send: 0, select: 0)
[19:50:27.266] raopcl_send_chunk:589 [0x7f74b0009300]: check n:1365978050 p:1365980791 ts:75065830502388 sn:2330
               retr: 0, avail: 0, send: 0, select: 0)
[19:50:37.076] exec_request:655 [0x7f74b002b160]: response :  request failed
[19:50:37.076] PlayerThread:546 [0xad1170]: idx 45
	artist:Perry Como
	album:Greatest Christmas Songs
	title:Have Yourself a Merry Little Christmas
	genre:
	duration:169.333
	size:0
	cover:https://i.scdn.co/image/ab67616d0000b273d5f598be32d3027b9578ecd6
[19:50:37.262] raopcl_send_chunk:589 [0x7f74b0009300]: check n:1365988046 p:1365990784 ts:75065830943092 sn:3582
               retr: 0, avail: 0, send: 0, select: 0)
[19:50:37.262] raopcl_send_chunk:589 [0x7f74b002c9e0]: check n:1365988046 p:1365990784 ts:75065830943092 sn:50825
               retr: 0, avail: 0, send: 0, select: 0)
[19:50:37.266] raopcl_send_chunk:589 [0x7f74b001eca0]: check n:1365988050 p:1365990784 ts:75065830943092 sn:33441
               retr: 0, avail: 0, send: 0, select: 0)
[19:50:37.266] raopcl_send_chunk:589 [0x7f74b0025b40]: check n:1365988050 p:1365990785 ts:75065830943137 sn:12971
               retr: 0, avail: 0, send: 0, select: 0)
[19:50:37.275] PlayerThread:595 [0xad1170]: Got artwork for https://i.scdn.co/image/ab67616d0000b273d5f598be32d3027b9578ecd6
[19:50:47.264] raopcl_send_chunk:589 [0x7f74b0009300]: check n:1365998048 p:1366000785 ts:75065831384148 sn:4835
               retr: 0, avail: 0, send: 0, select: 0)
[19:50:47.264] raopcl_send_chunk:589 [0x7f74b001eca0]: check n:1365998048 p:1366000785 ts:75065831384148 sn:34694
               retr: 0, avail: 0, send: 0, select: 0)
[19:50:47.264] raopcl_send_chunk:589 [0x7f74b002c9e0]: check n:1365998048 p:1366000785 ts:75065831384148 sn:52078
               retr: 0, avail: 0, send: 0, select: 0)
[19:50:47.264] raopcl_send_chunk:589 [0x7f74b0025b40]: check n:1365998048 p:1366000786 ts:75065831384193 sn:14224
               retr: 0, avail: 0, send: 0, select: 0)
[19:50:47.286] exec_request:655 [0x7f74b002b160]: response :  request failed
[19:50:57.268] raopcl_send_chunk:589 [0x7f74b0009300]: check n:1366008052 p:1366010786 ts:75065831825204 sn:6088
               retr: 0, avail: 0, send: 0, select: 0)
[19:50:57.268] raopcl_send_chunk:589 [0x7f74b0025b40]: check n:1366008052 p:1366010787 ts:75065831825249 sn:15477
               retr: 0, avail: 0, send: 0, select: 0)
[19:50:57.268] raopcl_send_chunk:589 [0x7f74b001eca0]: check n:1366008052 p:1366010786 ts:75065831825204 sn:35947
               retr: 0, avail: 0, send: 0, select: 0)
[19:50:57.269] raopcl_send_chunk:589 [0x7f74b002c9e0]: check n:1366008053 p:1366010786 ts:75065831825204 sn:53331
               retr: 0, avail: 0, send: 0, select: 0)
[19:51:07.267] raopcl_send_chunk:589 [0x7f74b0025b40]: check n:1366018051 p:1366020789 ts:75065832266305 sn:16730
               retr: 0, avail: 0, send: 0, select: 0)
[19:51:07.267] raopcl_send_chunk:589 [0x7f74b001eca0]: check n:1366018051 p:1366020788 ts:75065832266260 sn:37200
               retr: 0, avail: 0, send: 0, select: 0)
[19:51:07.268] raopcl_send_chunk:589 [0x7f74b0009300]: check n:1366018052 p:1366020788 ts:75065832266260 sn:7341
               retr: 0, avail: 0, send: 0, select: 0)
[19:51:07.268] raopcl_send_chunk:589 [0x7f74b002c9e0]: check n:1366018052 p:1366020788 ts:75065832266260 sn:54584
               retr: 1, avail: 0, send: 0, select: 0)
[19:51:10.298] exec_request:655 [0x7f74b002b160]: response :  request failed
[19:51:17.267] raopcl_send_chunk:589 [0x7f74b0009300]: check n:1366028051 p:1366030789 ts:75065832707316 sn:8594
               retr: 0, avail: 0, send: 0, select: 0)
[19:51:17.268] raopcl_send_chunk:589 [0x7f74b0025b40]: check n:1366028051 p:1366030790 ts:75065832707361 sn:17983
               retr: 0, avail: 0, send: 0, select: 0)
[19:51:17.269] raopcl_send_chunk:589 [0x7f74b001eca0]: check n:1366028052 p:1366030789 ts:75065832707316 sn:38453
               retr: 0, avail: 0, send: 0, select: 0)
[19:51:17.270] raopcl_send_chunk:589 [0x7f74b002c9e0]: check n:1366028054 p:1366030789 ts:75065832707316 sn:55837
               retr: 1, avail: 0, send: 0, select: 0)
[19:51:27.269] raopcl_send_chunk:589 [0x7f74b0025b40]: check n:1366038053 p:1366040791 ts:75065833148417 sn:19236
               retr: 0, avail: 0, send: 0, select: 0)
[19:51:27.269] raopcl_send_chunk:589 [0x7f74b0009300]: check n:1366038053 p:1366040790 ts:75065833148372 sn:9847
               retr: 0, avail: 0, send: 0, select: 0)
[19:51:27.269] raopcl_send_chunk:589 [0x7f74b002c9e0]: check n:1366038053 p:1366040790 ts:75065833148372 sn:57090
               retr: 1, avail: 0, send: 0, select: 0)
[19:51:27.271] raopcl_send_chunk:589 [0x7f74b001eca0]: check n:1366038055 p:1366040790 ts:75065833148372 sn:39706
               retr: 0, avail: 0, send: 0, select: 0)
[19:51:36.311] exec_request:655 [0x7f74b002b160]: response :  request failed
[19:51:37.260] raopcl_send_chunk:589 [0x7f74b0025b40]: check n:1366048044 p:1366050784 ts:75065833589121 sn:20488
               retr: 0, avail: 0, send: 0, select: 0)
[19:51:37.270] raopcl_send_chunk:589 [0x7f74b002c9e0]: check n:1366048054 p:1366050791 ts:75065833589428 sn:58343
               retr: 1, avail: 0, send: 0, select: 0)
[19:51:37.270] raopcl_send_chunk:589 [0x7f74b0009300]: check n:1366048054 p:1366050791 ts:75065833589428 sn:11100
               retr: 0, avail: 0, send: 0, select: 0)
[19:51:37.271] raopcl_send_chunk:589 [0x7f74b001eca0]: check n:1366048055 p:1366050791 ts:75065833589428 sn:40959
               retr: 0, avail: 0, send: 0, select: 0)
[19:51:38.241] exec_request:655 [0x7f74b0023900]: response :  request failed
Screen Shot 2023-12-09 at 7 54 46 PM

IMG_2740

Cover art not emptied

Hi,

I'm using the bridge with an Apple TV 4k. Send LMS metadata to player is activated with cover art included. There is the following issue: If a song "X" with cover art is followed by a song "Y" without cover art then the cover art of song "X" remains on the display. Actually it should be emptied or replaced by some "no cover art" placeholder image.

Apple TV TVOS 13 (Beta 5)

I use the Airplay Bridge 0.4.16.1 on the Squeececenter with an Apple TV with TvOs 13, Beta 5 version. Since version 13 the streaming of music no longer works on the Apple TV. Connecting works, but the music is not played. On the Squeezecenter it looks like the music would be streamed. Do you have any idea what the problem might be? With version 12 everything still worked fine.

Restarting Squeeze2raop after crash

I am suing LMS/PiCore player on a RPI4/8GB. There are plent of resources (cpu, mem, disk) but I am having continual (range 10 sec to 1:20) crashes when enabling the airport bridge. Disabling the plugin stops them. so I am quite sure it is an interaction between my setup and the plugin. I have an example from the log file below. I also included the output of dmesg below that which shows all the other installed versions.

The plugin seems to allow discovery of the Airplay devices on my network fine, although I have not been able to sucessfully play through any of them .... maybe because it keeps crashing.

I am also use in Shairplay which works perfectly. In fact everything does on this setup up to the the Airplay Bridge. This would be the last thing to configure to make this setup perfect. Please let me know if you need more information to look into this bug.

[15:34:39.659646] Start:1293 Binding to 192.168.124.233
[15:34:39.659992] StartActiveRemote:1185 DACP port: 52181
[15:34:39.981404] AddRaopDevice:851 [0x611140]: AppleTV with authentication (pairing must be done separately)
[15:34:39.981467] AddRaopDevice:909 [0x611140]: adding renderer ([email protected]) with mac AAAA-DBDAECE3
[15:34:39.981522] raopcl_create:713 [0x7fa4009950]: using PCM coding
[15:34:39.985595] output_raop_thread_init:126 [0x5b8c78]: init output raop
[15:34:39.985654] output_init_common:290 allocating 1764000
[15:34:39.985973] mDNSsearchCallback:726 Updating configuration /usr/local/slimserver/prefs/raopbridge.xml
[15:34:39.986841] slimproto:830 squeezelite [0x5b8c78] <=> player [0x611140]
[15:34:39.986870] slimproto:831 [0x5b8c78] connecting to 192.168.124.233:3483
[15:34:39.986894] AddRaopDevice:851 [0x611f38]: AppleTV with authentication (pairing must be done separately)
[15:34:39.986951] AddRaopDevice:909 [0x611f38]: adding renderer ([email protected]) with mac AAAA-BD01AEB4
[15:34:39.987013] raopcl_create:713 [0x7fa401e340]: using PCM coding
[15:34:39.987193] slimproto:861 [0x5b8c78] connected
[15:34:39.987297] sendHELO:107 [0x5b8c78] cap: CanHTTPS=1,Model=squeezelite,ModelName=RaopBridge,AccuratePlayPoints=0,HasDigitalOut=1,MaxSampleRate=96000,aac,ogg,ops,ogf,flc,alc,wav,aif,pcm,mp3
[15:34:39.990361] output_raop_thread_init:126 [0x5bb888]: init output raop
[15:34:39.990411] output_init_common:290 allocating 1764000
[15:34:39.990752] mDNSsearchCallback:726 Updating configuration /usr/local/slimserver/prefs/raopbridge.xml
[15:34:39.991549] PlayerThread:584 [0x611140]: processing volume device:49 request:-15.31
[15:34:39.991850] AddRaopDevice:909 [0x612d30]: adding renderer ([email protected]) with mac AAAA-DF361A0E
[15:34:39.991914] raopcl_create:713 [0x7fa40251e0]: using PCM coding
[15:34:39.993788] slimproto:830 squeezelite [0x5bb888] <=> player [0x611f38]
[15:34:39.993832] slimproto:831 [0x5bb888] connecting to 192.168.124.233:3483
[15:34:39.994094] slimproto:861 [0x5bb888] connected
[15:34:39.994241] sendHELO:107 [0x5bb888] cap: CanHTTPS=1,Model=squeezelite,ModelName=RaopBridge,AccuratePlayPoints=0,HasDigitalOut=1,MaxSampleRate=96000,aac,ogg,ops,ogf,flc,alc,wav,aif,pcm,mp3
[15:34:39.995384] output_raop_thread_init:126 [0x5be498]: init output raop
[15:34:39.995435] output_init_common:290 allocating 1764000
[15:34:39.995771] mDNSsearchCallback:726 Updating configuration /usr/local/slimserver/prefs/raopbridge.xml
[15:34:39.997511] PlayerThread:584 [0x611f38]: processing volume device:49 request:-15.31
[15:34:39.998857] slimproto:830 squeezelite [0x5be498] <=> player [0x612d30]
[15:34:39.998888] slimproto:831 [0x5be498] connecting to 192.168.124.233:3483
[15:34:39.999178] slimproto:861 [0x5be498] connected
[15:34:39.999277] sendHELO:107 [0x5be498] cap: CanHTTPS=1,Model=squeezelite,ModelName=RaopBridge,AccuratePlayPoints=0,HasDigitalOut=1,MaxSampleRate=96000,aac,ogg,ops,ogf,flc,alc,wav,aif,pcm,mp3
[15:34:40.018302] process_strm:230 [0x5be498] strm command s
[15:34:40.018341] process_strm:304 [0x5be498], strm s autostart: 0 transition period: 10 transition type: 0 codec: p
[15:34:40.018442] process_strm:337 [0x5be498]: codec:p, ch:2, s:16, r:44100
[15:34:40.019557] PlayerThread:584 [0x612d30]: processing volume device:49 request:-15.31
[15:34:40.113461] process_strm:230 [0x5be498] strm command u
[15:34:40.113494] raopcl_start_at:373 [0x7fa40251e0]: set start time 1693607679.253362176 (ts:74688098646501)
[15:34:40.113559] PlayerThread:561 [0x612d30]: raop connecting ...
[15:34:40.113911] process_strm:290 [0x5be498]: unpause at: 1390565685 now: 1390565489
[15:34:40.116496] raopcl_accept_frames:424 [0x7fa40251e0]: restarting w/o pause n:1693607680.500342215, hts:74688098646501
[15:34:40.195807] check_header:117 [0x5be498]: unknown format - can't parse header
[15:34:40.197118] _output_frames:100 [0x5be498]: track start sample rate: 44100 replay_gain: 0
[15:34:40.207376] output_raop_thread:98 [0x5be498]: track actual start time:1390565684 (gap:-1)
[15:34:40.216927] raopcl_connect:996 [0x7fa40251e0]: local interface 192.168.124.233
[15:34:40.742629] exec_request:691 [0x7fa401d7d0]: Body data len 1076
[15:34:40.761360] exec_request:635 [0x7fa401d7d0]: <------ : request failed, error 500

Restarting Squeeze2raop after crash: /usr/local/slimserver/Cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-linux-aarch64 -Z -I -x /usr/local/slimserver/prefs/raopbridge.xml

dmesg output ***********
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083]
[ 0.000000] Linux version 5.15.35-pcpCore-v8 (pCP@SoundStation) (aarch64-linux-gnu-gcc (crosstool-NG 1.24.0.351_511442b) 10.3.0, GNU ld (crosstool-NG 1.24.0.351_511442b) 2.34) #1 SMP PREEMPT Tue Apr 26 23:22:33 EDT 2022
[ 0.000000] random: fast init done
[ 0.000000] Machine model: Raspberry Pi 4 Model B Rev 1.4
[ 0.000000] efi: UEFI not found.
[ 0.000000] Reserved memory: created CMA memory pool at 0x000000002a800000, size 64 MiB
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000000000-0x000000003fffffff]
[ 0.000000] DMA32 [mem 0x0000000040000000-0x00000000ffffffff]
[ 0.000000] Normal [mem 0x0000000100000000-0x00000001ffffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000003e5fffff]
[ 0.000000] node 0: [mem 0x0000000040000000-0x00000000fbffffff]
[ 0.000000] node 0: [mem 0x0000000100000000-0x00000001ffffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000001ffffffff]
[ 0.000000] On node 0, zone DMA32: 512 pages in unavailable ranges
[ 0.000000] percpu: Embedded 28 pages/cpu s77144 r8192 d29352 u114688
[ 0.000000] pcpu-alloc: s77144 r8192 d29352 u114688 alloc=28*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Detected PIPT I-cache on CPU0
[ 0.000000] CPU features: detected: Spectre-v2
[ 0.000000] CPU features: detected: Spectre-v3a
[ 0.000000] CPU features: detected: Spectre-v4
[ 0.000000] CPU features: detected: Spectre-BHB
[ 0.000000] CPU features: kernel page table isolation forced ON by KASLR
[ 0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[ 0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 2041344
[ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=0 bcm2708_fb.fbheight=0 bcm2708_fb.fbdepth=16 bcm2708_fb.fbswap=1 smsc95xx.macaddr=DC:A6:32:C4:31:D2 vc_mem.mem_base=0x3f000000 vc_mem.mem_size=0x3f600000 host=LGpCP tz=PST8PDT,M3.2.0,M11.1.0 dwc_otg.fiq_fsm_mask=0xF dwc_otg.lpm_enable=0 console=tty1 root=/dev/ram0 rootwait quiet nortc loglevel=3 noembed smsc95xx.turbo_mode=N noswap consoleblank=0 waitusb=2
[ 0.000000] Unknown kernel command line parameters "nortc noembed noswap host=LGpCP tz=PST8PDT,M3.2.0,M11.1.0 waitusb=2", will be passed to user space.
[ 0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] software IO TLB: mapped [mem 0x000000003a600000-0x000000003e600000] (64MB)
[ 0.000000] Memory: 7976396K/8296448K available (11776K kernel code, 1958K rwdata, 4112K rodata, 3776K init, 968K bss, 254516K reserved, 65536K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] ftrace: allocating 36759 entries in 144 pages
[ 0.000000] ftrace: allocated 144 pages with 2 groups
[ 0.000000] trace event string verifier disabled
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] Rude variant of Tasks RCU enabled.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] Root IRQ handler: gic_handle_irq
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] random: get_random_bytes called from start_kernel+0x514/0x70c with crng_init=1
[ 0.000000] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
[ 0.000000] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[ 0.000118] Console: colour dummy device 80x25
[ 0.000144] printk: console [tty1] enabled
[ 0.000177] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=216000)
[ 0.000187] pid_max: default: 32768 minimum: 301
[ 0.000238] LSM: Security Framework initializing
[ 0.000390] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.000451] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.001005] cgroup: Disabling memory control group subsystem
[ 0.002146] rcu: Hierarchical SRCU implementation.
[ 0.002675] EFI services will not be available.
[ 0.002911] smp: Bringing up secondary CPUs ...
[ 0.003367] Detected PIPT I-cache on CPU1
[ 0.003409] CPU1: Booted secondary processor 0x0000000001 [0x410fd083]
[ 0.003905] Detected PIPT I-cache on CPU2
[ 0.003925] CPU2: Booted secondary processor 0x0000000002 [0x410fd083]
[ 0.004438] Detected PIPT I-cache on CPU3
[ 0.004457] CPU3: Booted secondary processor 0x0000000003 [0x410fd083]
[ 0.004516] smp: Brought up 1 node, 4 CPUs
[ 0.004524] SMP: Total of 4 processors activated.
[ 0.004528] CPU features: detected: 32-bit EL0 Support
[ 0.004532] CPU features: detected: 32-bit EL1 Support
[ 0.004537] CPU features: detected: CRC32 instructions
[ 0.018146] CPU: All CPU(s) started at EL2
[ 0.018182] alternatives: patching kernel code
[ 0.019280] devtmpfs: initialized
[ 0.023805] Enabled cp15_barrier support
[ 0.023826] Enabled setend support
[ 0.023835] KASLR enabled
[ 0.023924] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.023940] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.025296] pinctrl core: initialized pinctrl subsystem
[ 0.025702] DMI not present or invalid.
[ 0.025960] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.027560] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[ 0.027683] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.028062] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.028109] audit: initializing netlink subsys (disabled)
[ 0.028236] audit: type=2000 audit(0.028:1): state=initialized audit_enabled=0 res=1
[ 0.028452] thermal_sys: Registered thermal governor 'step_wise'
[ 0.028553] cpuidle: using governor menu
[ 0.028658] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.028739] ASID allocator initialised with 32768 entries
[ 0.028814] Serial: AMBA PL011 UART driver
[ 0.032907] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[ 0.044062] raspberrypi-firmware soc:firmware: Attached to firmware from 2022-04-13T14:49:35, variant start_cd
[ 0.048069] raspberrypi-firmware soc:firmware: Firmware hash is c073992a577d160d8c30bfcf746d2208951c0537
[ 0.069877] bcm2835-dma fe007000.dma: DMA legacy API manager, dmachans=0x1
[ 0.071527] vgaarb: loaded
[ 0.071721] SCSI subsystem initialized
[ 0.071814] usbcore: registered new interface driver usbfs
[ 0.071835] usbcore: registered new interface driver hub
[ 0.071864] usbcore: registered new device driver usb
[ 0.071995] usb_phy_generic phy: supply vcc not found, using dummy regulator
[ 0.072251] pps_core: LinuxPPS API ver. 1 registered
[ 0.072256] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [email protected]
[ 0.072266] PTP clock support registered
[ 0.072911] clocksource: Switched to clocksource arch_sys_counter
[ 0.121185] VFS: Disk quotas dquot_6.6.0
[ 0.121235] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.121310] FS-Cache: Loaded
[ 0.121431] CacheFiles: Loaded
[ 0.125696] NET: Registered PF_INET protocol family
[ 0.126250] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.128755] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear)
[ 0.128804] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.129017] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, linear)
[ 0.129891] TCP: Hash tables configured (established 65536 bind 65536)
[ 0.130090] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear)
[ 0.130154] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear)
[ 0.130353] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.130902] RPC: Registered named UNIX socket transport module.
[ 0.130909] RPC: Registered udp transport module.
[ 0.130913] RPC: Registered tcp transport module.
[ 0.130918] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.130927] PCI: CLS 0 bytes, default 64
[ 0.131245] Trying to unpack rootfs image as initramfs...
[ 0.141887] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[ 0.142054] kvm [1]: IPA Size Limit: 44 bits
[ 0.142573] kvm [1]: vgic interrupt IRQ9
[ 0.142694] kvm [1]: Hyp mode initialized successfully
[ 0.274615] Freeing initrd memory: 5096K
[ 0.484520] Initialise system trusted keyrings
[ 0.484729] workingset: timestamp_bits=46 max_order=21 bucket_order=0
[ 0.487459] zbud: loaded
[ 0.488234] FS-Cache: Netfs 'nfs' registered for caching
[ 0.488549] NFS: Registering the id_resolver key type
[ 0.488571] Key type id_resolver registered
[ 0.488576] Key type id_legacy registered
[ 0.488619] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.488625] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 0.489177] Key type asymmetric registered
[ 0.489184] Asymmetric key parser 'x509' registered
[ 0.489224] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 0.489343] io scheduler mq-deadline registered
[ 0.489349] io scheduler kyber registered
[ 0.492421] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[ 0.492440] brcm-pcie fd500000.pcie: No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
[ 0.492474] brcm-pcie fd500000.pcie: MEM 0x0600000000..0x063fffffff -> 0x00c0000000
[ 0.492507] brcm-pcie fd500000.pcie: IB MEM 0x0000000000..0x00bfffffff -> 0x0400000000
[ 0.558974] brcm-pcie fd500000.pcie: link up, 5.0 GT/s PCIe x1 (SSC)
[ 0.559147] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[ 0.559155] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.559163] pci_bus 0000:00: root bus resource [mem 0x600000000-0x63fffffff] (bus address [0xc0000000-0xffffffff])
[ 0.559202] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
[ 0.559310] pci 0000:00:00.0: PME# supported from D0 D3hot
[ 0.560823] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 0.561009] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
[ 0.561100] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[ 0.561377] pci 0000:01:00.0: PME# supported from D0 D3hot
[ 0.574261] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 0.574283] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
[ 0.574292] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
[ 0.574311] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 0.574320] pci 0000:00:00.0: bridge window [mem 0x600000000-0x6000fffff]
[ 0.574716] bcm2708_fb soc:fb: Unable to determine number of FBs. Disabling driver.
[ 0.574723] bcm2708_fb: probe of soc:fb failed with error -2
[ 0.579034] iproc-rng200 fe104000.rng: hwrng registered
[ 0.579194] vc-mem: phys_addr:0x00000000 mem_base=0x3f000000 mem_size:0x3f600000(1014 MiB)
[ 0.579728] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
[ 0.584854] brd: module loaded
[ 0.589187] loop: module loaded
[ 0.589520] Loading iSCSI transport class v2.0-870.
[ 0.591588] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000
[ 0.648976] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus
[ 0.649496] usbcore: registered new interface driver r8152
[ 0.649523] usbcore: registered new interface driver lan78xx
[ 0.649543] usbcore: registered new interface driver smsc95xx
[ 0.705720] pci 0000:00:00.0: enabling device (0000 -> 0002)
[ 0.705835] xhci_hcd 0000:01:00.0: xHCI Host Controller
[ 0.705850] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[ 0.706226] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x00003c0000000890
[ 0.706809] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[ 0.706818] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.706824] usb usb1: Product: xHCI Host Controller
[ 0.706830] usb usb1: Manufacturer: Linux 5.15.35-pcpCore-v8 xhci-hcd
[ 0.706835] usb usb1: SerialNumber: 0000:01:00.0
[ 0.707149] hub 1-0:1.0: USB hub found
[ 0.707209] hub 1-0:1.0: 1 port detected
[ 0.707524] xhci_hcd 0000:01:00.0: xHCI Host Controller
[ 0.707533] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[ 0.707541] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[ 0.707776] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.15
[ 0.707784] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.707790] usb usb2: Product: xHCI Host Controller
[ 0.707795] usb usb2: Manufacturer: Linux 5.15.35-pcpCore-v8 xhci-hcd
[ 0.707800] usb usb2: SerialNumber: 0000:01:00.0
[ 0.708063] hub 2-0:1.0: USB hub found
[ 0.708094] hub 2-0:1.0: 4 ports detected
[ 0.708718] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 0.708825] dwc_otg: FIQ enabled
[ 0.708829] dwc_otg: NAK holdoff enabled
[ 0.708833] dwc_otg: FIQ split-transaction FSM enabled
[ 0.708838] Module dwc_common_port init
[ 0.709110] usbcore: registered new interface driver uas
[ 0.709154] usbcore: registered new interface driver usb-storage
[ 0.709247] mousedev: PS/2 mouse device common for all mice
[ 0.711308] sdhci: Secure Digital Host Controller Interface driver
[ 0.711315] sdhci: Copyright(c) Pierre Ossman
[ 0.711534] sdhci-pltfm: SDHCI platform and OF driver helper
[ 0.713625] ledtrig-cpu: registered to indicate activity on CPUs
[ 0.713852] hid: raw HID events driver (C) Jiri Kosina
[ 0.713927] usbcore: registered new interface driver usbhid
[ 0.713932] usbhid: USB HID core driver
[ 0.714106] ashmem: initialized
[ 0.717774] Initializing XFRM netlink socket
[ 0.717799] NET: Registered PF_PACKET protocol family
[ 0.717859] Key type dns_resolver registered
[ 0.718340] registered taskstats version 1
[ 0.718361] Loading compiled-in X.509 certificates
[ 0.718676] Key type ._fscrypt registered
[ 0.718682] Key type .fscrypt registered
[ 0.718686] Key type fscrypt-provisioning registered
[ 0.724475] uart-pl011 fe201000.serial: there is not valid maps for state default
[ 0.724617] uart-pl011 fe201000.serial: cts_event_workaround enabled
[ 0.724696] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 17, base_baud = 0) is a PL011 rev2
[ 0.730677] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[ 0.730877] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[ 0.731388] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
[ 0.731395] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
[ 0.760163] of_cfs_init
[ 0.760241] of_cfs_init: OK
[ 0.795590] mmc0: SDHCI controller on fe340000.mmc [fe340000.mmc] using ADMA
[ 0.800658] Freeing unused kernel memory: 3776K
[ 0.800765] Run /init as init process
[ 0.800769] with arguments:
[ 0.800773] /init
[ 0.800777] nortc
[ 0.800780] noembed
[ 0.800784] noswap
[ 0.800787] with environment:
[ 0.800790] HOME=/
[ 0.800794] TERM=linux
[ 0.800797] host=LGpCP
[ 0.800801] tz=PST8PDT,M3.2.0,M11.1.0
[ 0.800805] waitusb=2
[ 0.838124] mmc1: new high speed SDIO card at address 0001
[ 0.895518] mmc0: new ultra high speed DDR50 SDHC card at address aaaa
[ 0.896224] mmcblk0: mmc0:aaaa SL16G 14.8 GiB
[ 0.899632] mmcblk0: p1 p2
[ 0.899957] mmcblk0: mmc0:aaaa SL16G 14.8 GiB
[ 0.972940] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[ 1.123602] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
[ 1.123620] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 1.123626] usb 1-1: Product: USB2.0 Hub
[ 1.125112] hub 1-1:1.0: USB hub found
[ 1.125420] hub 1-1:1.0: 4 ports detected
[ 1.424924] usb 1-1.1: new high-speed USB device number 3 using xhci_hcd
[ 1.525572] usb 1-1.1: New USB device found, idVendor=152a, idProduct=85dd, bcdDevice= 6.f2
[ 1.525581] usb 1-1.1: New USB device strings: Mfr=1, Product=3, SerialNumber=0
[ 1.525587] usb 1-1.1: Product: SMSL SU8 USB2.0
[ 1.525593] usb 1-1.1: Manufacturer: SMSL
[ 3.151406] zram: Added device: zram0
[ 3.212433] zram0: detected capacity change from 0 to 3995120
[ 3.215079] random: mkswap: uninitialized urandom read (16 bytes read)
[ 3.218800] Adding 1997556k swap on /dev/zram0. Priority:-2 extents:1 across:1997556k SSFS
[ 3.273533] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 3.537280] EXT4-fs (mmcblk0p2): recovery complete
[ 3.538284] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[ 3.597137] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[ 5.507027] Can't find a SQUASHFS superblock on loop48
[ 5.539990] Can't find a SQUASHFS superblock on loop50
[ 5.605698] Can't find a SQUASHFS superblock on loop50
[ 5.657515] Can't find a SQUASHFS superblock on loop53
[ 5.717417] Can't find a SQUASHFS superblock on loop53
[ 5.761522] Can't find a SQUASHFS superblock on loop53
[ 5.825451] Can't find a SQUASHFS superblock on loop56
[ 5.941382] Can't find a SQUASHFS superblock on loop59
[ 7.422000] mc: Linux media interface: v0.10
[ 7.493739] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 7.501572] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 7.515686] brcmfmac: F1 signature read @0x18000000=0x15264345
[ 7.521029] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 7.521119] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.bin failed with error -2
[ 7.522018] usbcore: registered new interface driver brcmfmac
[ 7.761191] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 7.761273] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 7.765723] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Nov 1 2021 00:37:25 version 7.45.241 (1a2f2fa CY) FWID 01-703fd60
[ 8.691456] usb 1-1.1: 1:3 : unsupported format bits 0x100000000
[ 9.097631] usbcore: registered new interface driver snd-usb-audio
[ 9.354782] bcmgenet fd580000.ethernet: configuring instance for external RGMII (RX delay)
[ 9.355047] bcmgenet fd580000.ethernet eth0: Link is Down
[ 9.423351] Starting piCorePlayer v8.2.0 startup.
[ 9.434497] cryptd: max_cpu_qlen set to 1000
[ 9.484169] random: crng init done
[ 9.830798] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[ 23.961434] Finished piCorePlayer v8.2.0 startup.
[ 31.708944] cam-dummy-reg: disabling

Hos to rescan disconnected airplay device?

I noticed that I switch off an old Sony speaker, LMS loses it until the server is restarted, also if the device is powered on again and reached on the network. Is there a way to rescan devices? I have LMS under piCorePlayer and your plugin works very well.
TY in advance

squeeze2raop not found on FreeBSD

Hi,

I've did a LMS installation on FreeBSD for testing purpose. I've installed LMS dependencies from pkg repository and LMS from ports:

# uname -a
FreeBSD freebsd.example.org 13.2-RELEASE-p4 FreeBSD 13.2-RELEASE-p4 GENERIC amd64
Logitech Media Server Version: 8.3.1 - TRUNK @ UNKNOWN

Server starts fine and I've installed Airplay Bridge v1.4.3.

The configuration dialog only shows:
Screenshot 2023-11-28 at 16-12-26 Server-Einstellungen

On my Linux servers I can chose between squeeze2raop-linux-x86_64 and squeeze2raop-linux-x86_64-static. Therefore I've checked the plugin dir:

root in freebsd in /var/db/logitechmediaserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin
# ll
total 119300
-rw-r--r--  1 slimserv  slimserv   1.1K Nov 28 15:47 config.xml
-rw-r--r--  1 slimserv  slimserv   2.3M Oct  9  2022 libcrypto-1_1.dll
-rw-r--r--  1 slimserv  slimserv   701K Oct  9  2022 libssl-1_1.dll
-rw-r--r--  1 slimserv  slimserv   1.8M Nov 27 19:03 squeeze2raop-freebsd-x86_64
-rw-r--r--  1 slimserv  slimserv   6.1M Nov 27 19:03 squeeze2raop-freebsd-x86_64-static
-rw-r--r--  1 slimserv  slimserv   1.7M Nov 27 19:02 squeeze2raop-linux-aarch64
-rw-r--r--  1 slimserv  slimserv   5.6M Nov 27 19:02 squeeze2raop-linux-aarch64-static
-rw-r--r--  1 slimserv  slimserv   1.1M Nov 27 19:02 squeeze2raop-linux-arm
-rw-r--r--  1 slimserv  slimserv   4.9M Nov 27 19:02 squeeze2raop-linux-arm-static
-rw-r--r--  1 slimserv  slimserv   1.6M Nov 27 19:03 squeeze2raop-linux-armv5
-rw-r--r--  1 slimserv  slimserv   5.5M Nov 27 19:03 squeeze2raop-linux-armv5-static
-rw-r--r--  1 slimserv  slimserv   1.5M Nov 27 19:03 squeeze2raop-linux-armv6
-rw-r--r--  1 slimserv  slimserv   5.5M Nov 27 19:03 squeeze2raop-linux-armv6-static
-rw-r--r--  1 slimserv  slimserv   1.8M Nov 27 19:02 squeeze2raop-linux-mips
-rw-r--r--  1 slimserv  slimserv   6.9M Nov 27 19:02 squeeze2raop-linux-mips-static
-rw-r--r--  1 slimserv  slimserv   1.8M Nov 27 19:03 squeeze2raop-linux-powerpc
-rw-r--r--  1 slimserv  slimserv   6.3M Nov 27 19:03 squeeze2raop-linux-powerpc-static
-rw-r--r--  1 slimserv  slimserv   1.7M Nov 27 19:02 squeeze2raop-linux-sparc64
-rw-r--r--  1 slimserv  slimserv   5.9M Nov 27 19:02 squeeze2raop-linux-sparc64-static
-rw-r--r--  1 slimserv  slimserv   1.6M Nov 27 19:02 squeeze2raop-linux-x86
-rw-r--r--  1 slimserv  slimserv   5.2M Nov 27 19:02 squeeze2raop-linux-x86-static
-rw-r--r--  1 slimserv  slimserv   1.8M Nov 27 19:02 squeeze2raop-linux-x86_64
-rw-r--r--  1 slimserv  slimserv   6.5M Nov 27 19:02 squeeze2raop-linux-x86_64-static
-rw-r--r--  1 slimserv  slimserv   3.8M Nov 27 19:03 squeeze2raop-macos
-rw-r--r--  1 slimserv  slimserv   1.6M Nov 27 19:03 squeeze2raop-macos-arm64
-rw-r--r--  1 slimserv  slimserv   4.8M Nov 27 19:03 squeeze2raop-macos-arm64-static
-rw-r--r--  1 slimserv  slimserv    10M Nov 27 19:03 squeeze2raop-macos-static
-rw-r--r--  1 slimserv  slimserv   2.2M Nov 27 19:03 squeeze2raop-macos-x86_64
-rw-r--r--  1 slimserv  slimserv   5.6M Nov 27 19:03 squeeze2raop-macos-x86_64-static
-rw-r--r--  1 slimserv  slimserv   1.8M Nov 27 19:03 squeeze2raop-solaris-x86_64
-rw-r--r--  1 slimserv  slimserv   4.9M Nov 27 19:03 squeeze2raop-solaris-x86_64-static
-rw-r--r--  1 slimserv  slimserv   1.2M Nov 27 19:03 squeeze2raop-static.exe
-rw-r--r--  1 slimserv  slimserv   1.2M Nov 27 19:03 squeeze2raop.exe

I'v tried to mak the FreeBSD binaries executable: # chmod +x squeeze2raop-freebsd-x86_64 squeeze2raop-freebsd-x86_64-static but still no luck.

Therefore I wonder if there is a bug? There obviously is some criteria what is shown in the dropdown list for the Binary. Maybe it's wrong for FreeBSD?

mac squeezebox

On mac squeezebox 7.7.5 the plugin installs but then needs updating but refuses to update. All I can gather is that it will download into the library/caches/squeezebox/DownloadedPlugins folder and then gets removed with server.log printing:

Slim::Utils::PluginDownloader::_downloadDone (176) downloaded RaopBridge to /Users/.../Library/Caches/Squeezebox/DownloadedPlugins/RaopBridge.zip

Slim::Utils::PluginDownloader::_downloadDone (194) digest does not match /Users/.../Library/Caches/Squeezebox/DownloadedPlugins/RaopBridge.zip - RaopBridge will not be installed

Crash afer entering Pairing Pin for Apple TV

When click pair on an Apple TV device, the Airplay Code shows up at the Apple TV. When I enter the Pin and click submit, the AppleTV does not accept it and shows the Code again and again when I submit it again. Then the bridge crashes and restarts.

logfile attached.
raopbridge.log.zip

German ö, ä, ü

Hi,
I was trying to connect to my HomePod. It is in the room "Küche". Plugin shows up "Kuche" in the players list, but it can not be selected (checkmark jumps back after saving).
After changing the room to e.g. "Schlafzimmer" and generating the config, everything works fine. Changing the Room back to "Küche", the newly generated config does not show up "Küche". Instead it remains at "Schlafzimmer" and cannot be selected.

What went wrong? Could there be problems with the german "ö, ä, ü" ?
I am running the latest version 0.4.53.1

cheers

Volume Control Aether Cone

I am still struggling to get volume controls on the above device to work. Is there a way to find the correct mapping to enable volume control?

Many Thanks

Solution for password protection in Apple HomeKit homes?

Hi philippe44,

first of all I want to thank you for this great application that I have been using on a daily basis for years.

After getting more and more iPads and other Apple devices, Airplay gets more important. Until now I used the Airplay (SONOS) devices solely with LMS-Raop. This works very stable. Now they may be also used with the apple devices directly. With kids this imposes situations where sound is played on these devices, when it should not be done. Apple HomeKit has the solution for this, as you can add the Airplay devices to a home in HomeKit and password protect it. This works flawlessly.

There is just one thing, LMS-Raop is not capable of playing on password protected Airplay devices. It would be great if that could implemented. Well it is already mostly implemented in a fork of libraop (https://github.com/Schlaubischlump/RAOP-Player-bindings). I changed the players python code in that repo a bit and could verify that it is possible to play sound on password protected Airplay devices, that are added to a HomeKit home, using the libraop. Based on that repo I changed the latest libraop code already and could provide the changes as a pull request. It is not needed to implement Airplay2 as I first thought.

What is still missing is the LMS-Raop part. For me it would be sufficient to have a -tag within the config.xml. I already tried to implement it, but unfortunately my C-knowledge is too rusted to get it done on my own. As I don't know how long the password might be, I think it is best to have a dynamic length, although the passwords from HomeKit are always 6 digits long. But this pointer arithmetic is what I cannot manage.

I would greatly appreaciate some help in this topic to be able to use this application with an even bigger feature set.

does this work with Sonos Beam?

i installed AirPlay Bridge as seen here. any idea on how to see my Sonos Beam with IP of 192.168.1.99 to be seen as a player for LMS? is there anything i have to do on the Sonos app on my phone?
image

Metadata are one song late

Hi, Using my Onkyo AV receiver as airplay receiver, When I play on a LMS group player, witch include the Airplay bridge player to my receiver, I have noticed that metadata displayed by my receiver are those of the previously played song (info, coverart and current/total timecode)....

Pairing not possible: '400 Bad Request'

Hi philippe44,

I think it makes sense to add this isse here for completeness. It also in the forum: https://forums.slimdevices.com/showthread.php?105198-ANNOUNCE-AirPlay-Bridge-integrate-AirPlay-devices-with-LMS-(squeeze2raop)&p=1060984&viewfull=1#post1060984

I am trying to pair my AirPlay Bridge and get '400 Bad Request' in the LogFiles and do not know if it's me or the system(s) which are doing wrong.

Systems:

  • tvOS: 16 (same issue was with tvOS 15.6).
  • LMS: latest 8.3 nightly
  • Hardware: Raspi 4
  • OS: RaspberryPi OS 64bit.

How to reproduce:

  1. Clean, bew install of the AirPlay Bridge.
  2. Wait unit the AppleTV is discovered.
  3. Click the 'Pair' Button.
  4. NO Pin is shown on the AppleTV.

Result:
The LMS GUI show the 'Enter OIN Code' Message and I can enter something.
The log of LMS show:

[22-09-13 05:39:10.0294] main::init (377) Starting Logitech Media Server (v8.3.0, b28d5a6.raspi, Mon 12 Sep 13:20:46 CEST 2022) perl 5.032001 - aarch64-linux-gnu-thread-multi
[22-09-13 05:43:28.8760] Plugins::RaopBridge::Pairing::__ANON__ (67) $VAR1 = bless( [
                 undef,
                 undef,
                 bless( {
                          '_method' => 'POST',
                          '_uri' => bless( do{\(my $o = 'http://192.168.47.202:7000/pair-pin-start')}, 'URI::http' ),
                          '_protocol' => 'HTTP/1.0',
                          '_content' => '',
                          '_headers' => bless( {
                                                 'host' => '192.168.47.202:7000',
                                                 'content-type' => 'application/octet-stream',
                                                 'icy-metadata' => 1,
                                                 'cache-control' => 'no-cache',
                                                 'user-agent' => 'iTunes/4.7.1 (Linux; N; Debian; aarch64-linux; DE; utf8) SqueezeCenter, Squeezebox Server, Logitech Media Server/8.3.0/b28d5a6.raspi',
                                                 'connection' => 'Keep-Alive',
                                                 '::std_case' => {
                                                                   'icy-metadata' => 'Icy-Metadata'
                                                                 },
                                                 'accept' => '*/*'
                                               }, 'HTTP::Headers' )
                        }, 'HTTP::Request' ),
                 bless( {
                          '_msg' => 'Bad Request',
                          '_content' => '',
                          '_headers' => bless( {
                                                 'server' => 'AirTunes/635.87.3',
                                                 'content-length' => '0',
                                                 '::std_case' => {
                                                                   'set-cookie2' => 'Set-Cookie2',
                                                                   'set-cookie' => 'Set-Cookie'
                                                                 }
                                               }, 'HTTP::Headers' ),
                          '_rc' => '400',
                          '_request' => $VAR1->[2],
                          '_previous' => []
                        }, 'HTTP::Response' ),
                 undef,
                 undef,
                 undef,
                 7
               ], 'Plugins::RaopBridge::Async::HTTP' );
$VAR2 = '400 Bad Request';
[22-09-13 05:43:28.8764] Plugins::RaopBridge::Pairing::__ANON__ (67) Display PIN error

All I did is starting up LMS without any special IP related command line args.

HomePod stream stopped after sometime (2/3/4 minutes)

Hi Philippe,

First big thanks for your outstanding work. I have been using your plugins successfully for quite some time !

Just bought an Apple HomePod but I have now new issues.

The problem: the music streams stoppped after sometime 2 to 4 minutes depending on the source (web radio / deezer / local files...).

I have not changed any default config.

I have upgrade LMS and your plug-in to what I think is the latest.Here are my version

Logitech Media Server Version: 7.9.1 - 1522157629 @ Fri Mar 30 12:25:29 CEST 2018
Hostname: TITIMHS
Server IP Address: 192.168.1.31
Server HTTP Port Number: 9000
Operating system: Debian - EN - utf8
Platform Architecture: x86_64-linux
Perl Version: 5.14.2 - x86_64-linux-gnu-thread-multi
Audio::Scan: 0.93
Database Version: DBD::SQLite 1.34_01 (sqlite 3.7.7.1)
Total Players Recognized: 5

My HomePod Player "BarPod":
Player Model: SqueezeLite
Player Type: squeezelite
Player IP Address: 192.168.1.31
Player MAC Address: aa:aa:98:55:b4:b5

Here is attached my config file I changed .xml by .txt I could not upload an .xml in here...

raopbridge-config.txt

Let me know if you need further information to troubleshoot. I hope you will be able to understand what is the problem. BTW, my HomePod is iOS 11.4 with the "new" airplay 2...

Here are the log file I enable max debug (i think) raopbridge.log:
[21:43:29.006497] process_strm:233 [0xab7588] strm command s
[21:43:29.006580] process_strm:308 [0xab7588], strm s autostart: 1 transition period: 10 transition type: 0 codec: f
[21:43:29.006655] process_strm:341 [0xab7588]: codec:f, ch:255, s:255, r:255
[21:43:29.006992] PlayerThread:493 [0xb10408]: raop connecting ...
[21:43:30.023930] raopcl_connect:972 [0x7f7ea40109c0]: local interface 192.168.1.31
[21:43:30.084804] raopcl_analyse_setup:921 [0x7f7ea40109c0]: missing timing port, will get it later
[21:43:30.129933] raopcl_accept_frames:417 [0x7f7ea40109c0]: begining to stream hts:0 n:3738599010.558053690
[21:43:30.130080] raopcl_accept_frames:425 [0x7f7ea40109c0]: restarting w/o pause n:3738599010.558053690, hts:164872216346729
[21:43:30.140186] _output_frames:53 [0xab7588]: start buffer frames: 415872
[21:43:30.140268] _output_frames:100 [0xab7588]: track start sample rate: 44100 replay_gain: 0
[21:43:30.150443] output_raop_thread:99 [0xab7588]: track actual start time:1977463859 (gap:1977463859)
[21:43:30.185776] PlayerThread:500 [0xb10408]: raop connected
[21:43:30.185843] PlayerThread:531 [0xb10408]: processing volume: 30 (-21.12)
[21:43:38.761545] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977471241 p:1977472480 ts:164872216727241 sn:10239
retr: 0, avail: 0, send: 0, select: 0)
[21:43:48.761129] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977481241 p:1977482481 ts:164872217168297 sn:11492
retr: 1, avail: 0, send: 0, select: 0)
[21:43:58.762600] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977491242 p:1977492482 ts:164872217609353 sn:12745
retr: 2, avail: 0, send: 0, select: 0)
[21:44:08.771315] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977501251 p:1977502484 ts:164872218050409 sn:13998
retr: 2, avail: 0, send: 0, select: 0)
[21:44:18.771760] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977511251 p:1977512485 ts:164872218491465 sn:15251
retr: 2, avail: 0, send: 0, select: 0)
[21:44:28.771204] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977521251 p:1977522486 ts:164872218932521 sn:16504
retr: 4, avail: 0, send: 0, select: 0)
[21:44:38.771809] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977531251 p:1977532487 ts:164872219373577 sn:17757
retr: 4, avail: 0, send: 0, select: 0)
[21:44:48.768223] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977541248 p:1977542481 ts:164872219814281 sn:19009
retr: 4, avail: 0, send: 0, select: 0)
[21:44:58.765631] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977551245 p:1977552482 ts:164872220255337 sn:20262
retr: 4, avail: 0, send: 0, select: 0)
[21:45:08.771772] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977561251 p:1977562483 ts:164872220696393 sn:21515
retr: 5, avail: 0, send: 0, select: 0)
[21:45:18.764266] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977571244 p:1977572485 ts:164872221137449 sn:22768
retr: 5, avail: 0, send: 0, select: 0)
[21:45:28.771997] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977581251 p:1977582486 ts:164872221578505 sn:24021
retr: 5, avail: 0, send: 0, select: 0)
[21:45:38.771365] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977591251 p:1977592487 ts:164872222019561 sn:25274
retr: 6, avail: 0, send: 0, select: 0)
[21:45:48.765934] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977601245 p:1977602480 ts:164872222460265 sn:26526
retr: 7, avail: 0, send: 0, select: 0)
[21:45:58.766742] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977611246 p:1977612482 ts:164872222901321 sn:27779
retr: 7, avail: 0, send: 0, select: 0)
[21:46:08.767795] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977621247 p:1977622483 ts:164872223342377 sn:29032
retr: 8, avail: 0, send: 0, select: 0)
[21:46:18.762995] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977631242 p:1977632484 ts:164872223783433 sn:30285
retr: 10, avail: 0, send: 0, select: 0)
[21:46:28.766529] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977641246 p:1977642485 ts:164872224224489 sn:31538
retr: 11, avail: 0, send: 0, select: 0)
[21:46:38.773113] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977651253 p:1977652487 ts:164872224665545 sn:32791
retr: 11, avail: 0, send: 0, select: 0)
[21:46:48.761629] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977661241 p:1977662480 ts:164872225106249 sn:34043
retr: 11, avail: 0, send: 0, select: 0)
[21:46:58.767471] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977671247 p:1977672481 ts:164872225547305 sn:35296
retr: 11, avail: 0, send: 0, select: 0)
[21:47:08.769151] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977681249 p:1977682483 ts:164872225988361 sn:36549
retr: 11, avail: 0, send: 0, select: 0)
[21:47:18.765708] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977691245 p:1977692484 ts:164872226429417 sn:37802
retr: 11, avail: 0, send: 0, select: 0)
[21:47:28.764475] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977701244 p:1977702485 ts:164872226870473 sn:39055
retr: 11, avail: 0, send: 0, select: 0)
[21:47:38.769531] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977711249 p:1977712486 ts:164872227311529 sn:40308
retr: 11, avail: 0, send: 0, select: 0)
[21:47:48.762106] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977721242 p:1977722480 ts:164872227752233 sn:41560
retr: 11, avail: 0, send: 0, select: 0)
[21:47:58.763155] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977731243 p:1977732481 ts:164872228193289 sn:42813
retr: 11, avail: 0, send: 0, select: 0)
[21:48:08.770704] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977741250 p:1977742482 ts:164872228634345 sn:44066
retr: 11, avail: 0, send: 0, select: 0)
[21:48:18.771768] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977751251 p:1977752483 ts:164872229075401 sn:45319
retr: 11, avail: 0, send: 0, select: 0)
[21:48:28.764644] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977761244 p:1977762485 ts:164872229516457 sn:46572
retr: 11, avail: 0, send: 0, select: 0)
[21:48:38.767589] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977771247 p:1977772486 ts:164872229957513 sn:47825
retr: 11, avail: 0, send: 0, select: 0)
[21:48:48.765824] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977781245 p:1977782487 ts:164872230398569 sn:49078
retr: 11, avail: 0, send: 0, select: 0)
[21:48:58.761375] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977791241 p:1977792481 ts:164872230839273 sn:50330
retr: 11, avail: 0, send: 0, select: 0)
[21:49:08.762638] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977801242 p:1977802482 ts:164872231280329 sn:51583
retr: 11, avail: 0, send: 0, select: 0)
[21:49:18.769474] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977811249 p:1977812483 ts:164872231721385 sn:52836
retr: 11, avail: 0, send: 0, select: 0)
[21:49:28.767767] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977821247 p:1977822484 ts:164872232162441 sn:54089
retr: 11, avail: 0, send: 0, select: 0)
[21:49:38.770326] raopcl_send_chunk:579 [0x7f7ea40109c0]: check n:1977831250 p:1977832486 ts:164872232603497 sn:55342
retr: 11, avail: 0, send: 0, select: 0)

Can't detect audiocast

Hi,

Trying out LMS for the first time and I've got chromecast devices working.
Airplay though isn't detecting anything, even though forked-daapd had no issues detecting my audiocast.

Here's the log with full debug :

Starting Squeeze2raop: /config/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-x86-64-static -Z -I -f /config/logs/raopbridge.log -d all=debug -x /config/prefs/raopbridge.xml
[17:36:05.500194] main:1556 Starting squeeze2raop version: v0.4.50.5 (Dec 15 2020 @ 22:05:09)

[17:36:05.500256] register_pcm:306 using pcm to decode aif,pcm
[17:36:05.500271] register_mad:429 using mad to decode mp3
[17:36:05.500280] register_alac:542 using alac to decode alc
[17:36:05.500289] register_flac:308 using flac to decode flc
[17:36:05.500297] register_faad:648 using faad to decode aac
[17:36:05.500305] register_vorbis:339 using vorbis to decode ogg
[17:36:05.500313] register_opus:282 using opus to decode ops
[17:36:05.500322] register_soxr:391 using soxr for resampling
[17:36:05.500469] Start:1299 Binding to 10.0.10.16
[17:36:05.500591] StartActiveRemote:1187 DACP port: 56531
[17:36:05.635791] mDNSsearchCallback:694 Updating configuration /config/prefs/raopbridge.xml

Looking at avahi-browser -a I do see my audiocast in the list, it its announcing as expected. And since chromecast seems okay (with your other plugin I believe), I'm assuming my mdns repeater is doing it's job fine.
This is running using the official docker image on an amd64 host.

Is there anything I can do to figure out why LMS isn't seeing my audiocast ? I did try toggling the "Encrypt" setting on and off but no change.
Thanks

Fixed ports for Firewall

Thanks for your great working,

I try to use LMS-to-Raop with a firewall beetween my LMS Server and my AirpPlay's devices.
I don't see the possibility to assign fixed ports or fixed range for Raop to work, is it possible?

Regards,

AirPlay volume cannot be changed on the Sonos speaker

Hi philippe44,

I have integrated my Sonos via AirPlay now I can no longer change the volume using the buttons on the speaker or

Why is that?

Just tested if I play something from the iPhone via AirPlay, I can control the volume with the LS buttons and Alexa as normal.

Thanks and best regards

HomePod

This isn't working too bad actually, just 2 issues at present which isn't bad for a brand new Apple Product.

Volume Feedback doesn't work is the first. Second which is more important it will only play a song for 3 mins then just stop playing. This doesn't matter is if's local music or the Spotty plugin. I shall post some logs soon.

Cheers!

Edit:-below is the error when it stops playing, which is usually after 3 mins give or take a few mins. I shall remove that plugin and see if that helps :D

Edit 2:- No that didn't help haha.

[18-02-11 14:43:24.6437] Slim::Control::Request::notify (2060) Error: Failed notify: Not a HASH reference at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/SyncOptions/Plugin.pm line 628. [18-02-11 14:43:24.6581] Slim::Control::Request::notify (2060) Error: Failed notify: Not a HASH reference at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/SyncOptions/Plugin.pm line 628. [18-02-11 14:43:24.6693] Slim::Control::Request::notify (2060) Error: Failed notify: Not a HASH reference at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/SyncOptions/Plugin.pm line 628. [18-02-11 14:43:24.6787] Slim::Control::Request::notify (2060) Error: Failed notify: Not a HASH reference at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/SyncOptions/Plugin.pm line 628. [18-02-11 14:43:24.6895] Slim::Control::Request::notify (2060) Error: Failed notify: Not a HASH reference at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/SyncOptions/Plugin.pm line 628. [18-02-11 14:43:24.7019] Slim::Control::Request::notify (2060) Error: Failed notify: Not a HASH reference at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/SyncOptions/Plugin.pm line 628. [18-02-11 14:43:24.7115] Slim::Control::Request::notify (2060) Error: Failed notify: Not a HASH reference at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/SyncOptions/Plugin.pm line 628. [18-02-11 14:43:24.7161] Slim::Control::Request::notify (2060) Error: Failed notify: Not a HASH reference at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/SyncOptions/Plugin.pm line 628. [18-02-11 14:43:25.9076] Slim::Control::Request::notify (2060) Error: Failed notify: Not a HASH reference at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/SyncOptions/Plugin.pm line 628. [18-02-11 14:43:26.3077] Slim::Control::Request::notify (2060) Error: Failed notify: Not a HASH reference at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/SyncOptions/Plugin.pm line 628. [18-02-11 14:43:26.3432] Slim::Control::Request::notify (2060) Error: Failed notify: Not a HASH reference at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/SyncOptions/Plugin.pm line 628. [18-02-11 14:43:26.3538] Slim::Control::Request::notify (2060) Error: Failed notify: Not a HASH reference at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/SyncOptions/Plugin.pm line 628. [18-02-11 14:43:26.3596] Slim::Control::Request::notify (2060) Error: Failed notify: Not a HASH reference at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/SyncOptions/Plugin.pm line 628. [18-02-11 14:43:26.3670] Slim::Control::Request::notify (2060) Error: Failed notify: Not a HASH reference at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/SyncOptions/Plugin.pm line 628. [18-02-11 14:43:26.3717] Slim::Control::Request::notify (2060) Error: Failed notify: Not a HASH reference at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/SyncOptions/Plugin.pm line 628. [18-02-11 14:43:27.2734] Slim::Control::Request::notify (2060) Error: Failed notify: Not a HASH reference at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/SyncOptions/Plugin.pm line 628. [18-02-11 14:43:27.3899] Slim::Control::Request::notify (2060) Error: Failed notify: Not a HASH reference at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/SyncOptions/Plugin.pm line 628. [18-02-11 14:43:27.3995] Slim::Control::Request::notify (2060) Error: Failed notify: Not a HASH reference at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/SyncOptions/Plugin.pm line 628. [18-02-11 14:43:27.4059] Slim::Control::Request::notify (2060) Error: Failed notify: Not a HASH reference at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/SyncOptions/Plugin.pm line 628. [18-02-11 14:43:27.4103] Slim::Control::Request::notify (2060) Error: Failed notify: Not a HASH reference at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/SyncOptions/Plugin.pm line 628. [18-02-11 14:43:27.4227] Slim::Control::Request::notify (2060) Error: Failed notify: Not a HASH reference at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/SyncOptions/Plugin.pm line 628. [18-02-11 14:43:27.4402] Slim::Control::Request::notify (2060) Error: Failed notify: Not a HASH reference at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/SyncOptions/Plugin.pm line 628. [18-02-11 14:43:28.0443] Slim::Control::Request::notify (2060) Error: Failed notify: Not a HASH reference at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/SyncOptions/Plugin.pm line 628. [18-02-11 14:43:28.0564] Slim::Control::Request::notify (2060) Error: Failed notify: Not a HASH reference at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/SyncOptions/Plugin.pm line 628. [18-02-11 14:43:28.0634] Slim::Control::Request::notify (2060) Error: Failed notify: Not a HASH reference at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/SyncOptions/Plugin.pm line 628. [18-02-11 14:43:28.0686] Slim::Control::Request::notify (2060) Error: Failed notify: Not a HASH reference at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/SyncOptions/Plugin.pm line 628. [18-02-11 14:43:28.0783] Slim::Control::Request::notify (2060) Error: Failed notify: Not a HASH reference at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/SyncOptions/Plugin.pm line 628. [18-02-11 14:43:28.0830] Slim::Control::Request::notify (2060) Error: Failed notify: Not a HASH reference at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/SyncOptions/Plugin.pm line 628.

Couldn't create command line for mp3 playback

I got the following log entires, both for v0.4.43 and 0.4.50.. UPnP plugin still works fine..older veriosn of Raop also worked fine

Couldn't create command line for mp3 playback for [http://mp3.ffh.de/ffhchannels/hqtop40.mp3?amsparams=playerid:RTFFHTunein;skey:1606499972]

Update: It works as long as i am not grouping the speakers... seems to be an issue of the grouping plugin..can be closed

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.