music-assistant / hass-music-assistant

Turn your Home Assistant instance into a jukebox, hassle free streaming of your favorite media to Home Assistant media players.
Apache License 2.0
1.39k stars 51 forks source link

Can't find my PC as Airplay Device #1277

Closed sathia-musso closed 1 year ago

sathia-musso commented 1 year ago

What version of Music Assistant has the issue?

2.0.0b32

The problem

I'd like to stream to my pc, I've enabled my pc as airplay device and "everyone" can stream to it without password, when I go to the setting I should see my pc with the other Players in the network but it's not there. Is it possible that the pc shows itself on the network as PC and for this reason it is not possible to use it?

as you can see from here, the device is available on the network, but then from Settings -> airplay -> Players I only see Rooms and Sala

IMG_9426

How to reproduce

mac os, system settings, general, Airdrop & Handoff, Airplay Receiver on ON and Allow AirPlay for Everyone

Relevant log output

No response

Additional information

No response

What version of Home Assistant Core are your running

2023.5.4

What type of installation are you running?

Home Assistant Supervised

On what type of hardware are you running?

Linux

OzGav commented 1 year ago

Can MA see any other players?

sathia-musso commented 1 year ago

Can MA see any other players?

yes, it shows the other two correctly

OzGav commented 1 year ago

Is your PC on the same subnet? Are there any firewall issues on the PC? Please try and rule out any network issues.

sathia-musso commented 1 year ago

Is your PC on the same subnet? Are there any firewall issues on the PC? Please try and rule out any network issues.

good point, there may be a vlan. i'll check once at home

sathia-musso commented 1 year ago

Is your PC on the same subnet? Are there any firewall issues on the PC? Please try and rule out any network issues.

from terminal on HA server:

        [core-ssh ~]$ curl -v  192.168.69.69:5000
        *   Trying 192.168.69.69:5000...
        * Connected to 192.168.69.69 (192.168.69.69) port 5000 (#0)
        > GET / HTTP/1.1
        > Host: 192.168.69.69:5000
        > User-Agent: curl/8.0.1
        > Accept: */*
        > 
        < HTTP/1.1 404 Not Found
        < Content-Length: 0
        < Server: AirTunes/680.23.1
        < 
        * Connection #0 to host 192.168.69.69 left intact
        [core-ssh ~]$ 

the AirTunes server answers, so I think it should be all good networking wise.

Do you know where to look on MA code? I might be able to debug this, hopefully :)

marcelveldt commented 1 year ago

I've found the issue. Fixed in next release.

sathia-musso commented 1 year ago

I've found the issue. Fixed in next release.

can I see please?

marcelveldt commented 1 year ago

This should be fixed in beta36!