philippe44 / LMS-Raop

LMS to AirPlay bridge
65 stars 12 forks source link

Can't detect audiocast #21

Closed Ulrar closed 3 years ago

Ulrar commented 3 years ago

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

philippe44 commented 3 years ago

Try to see if you detect something with my standalone listener https://github.com/philippe44/mDNS-SD

Ulrar commented 3 years ago

Is there a way to run that from LMS, or a static version I can wget somewhere maybe ? I have it running in docker on rancher, so I can't really compile anything in the container or even on the host.

Ulrar commented 3 years ago

Hi,

So I got it to work. Not sure what the query should be but if I use _ I can see it, I think ?

[10.0.0.254] 10.42.0.5604515    00226CFCA67C@Bedroom._raop._tcp.local 10s EXPIRED
philippe44 commented 3 years ago

Query should be _raop._tcp.local

Ulrar commented 3 years ago

Okay so with this I can indeed see the bedroom audiocast :

# ./mdnssd _raop._tcp.local
using interface 10.0.0.250
[10.0.0.254] 10.42.0.5604515    00226CFCA67C@Bedroom._raop._tcp.local 0s ACTIVE
------------------------------
^C

But it doesn't show in the plugin.

philippe44 commented 3 years ago

So the LMS environment where the plugin runs is different then because the use the exact same code