owntone / owntone-server

Linux/FreeBSD DAAP (iTunes) and MPD audio server with support for AirPlay 1 and 2 speakers (multiroom), Apple Remote (and compatibles), Chromecast, Spotify and internet radio.
https://owntone.github.io/owntone-server
GNU General Public License v2.0
2.07k stars 237 forks source link

can't connect with my yamaha rx-v475 via airplay #1718

Closed Jumbo125 closed 7 months ago

Jumbo125 commented 8 months ago

hy guys

use someone a yamaha reciever as airplay-speaker?

i can't connect to it... request failed. i don't have a pin on my yamaha. do i disable "airplay pin" in the owntone settings? i didn't found it

thank you

ejurgensen commented 8 months ago

You need to be more specific about the error message.

Jumbo125 commented 8 months ago

Anfrage gescheitert (Status: 500 Internal Server Error http://10.0.0.142:3689/api/player/play)

Anfrage gescheitert (Status: 500 Internal Server Error http://10.0.0.142:3689/api/outputs/690929883976/toggle)

ejurgensen commented 8 months ago

I mean from the log

Jumbo125 commented 8 months ago

sorry. my logs:

[2024-02-21 13:23:25] [  LOG]     scan: Bulk library scan completed in 0 sec
[2024-02-21 13:23:25] [  LOG]      lib: Library init scan completed in 0 sec (0 changes)
[2024-02-21 13:58:51] [  LOG]   player: The AirPlay 1 device 'RX-V475 A15B48' failed to activate
[2024-02-21 13:58:51] [  LOG]   player: Input start was called with an item id that has disappeared (id=3)
[2024-02-21 13:58:51] [  LOG]       db: Error fetching queue item by pos relative to item id
[2024-02-21 13:58:51] [  LOG]      web: Error starting playback.
[2024-02-21 13:58:51] [  LOG]      web: JSON api request failed with error code 500 (/api/player/play)
[2024-02-21 13:59:45] [  LOG]   player: The AirPlay 1 device 'RX-V475 A15B48' failed to activate
[2024-02-21 13:59:45] [  LOG]      web: JSON api request failed with error code 500 (/api/outputs/690929883976/toggle)
Jumbo125 commented 8 months ago

the receiver switch to airplay, when i play the song. so i think, the connection to the receiver works... but the playing not work. i don't have a pin or password for connecting the devices.

Jumbo125 commented 7 months ago

i tried it with my samsung tv too. This device need a pin pairing. But i didn't work the logs

[2024-02-22 09:42:16] [  LOG]  airplay: Starting device pairing for 'Samsung AU7170 55 TV', go to the web interface and enter PIN
[2024-02-22 09:42:23] [  LOG]   player: The AirPlay 2 device 'Samsung AU7170 55 TV' requires a valid PIN or password
[2024-02-22 09:42:23] [  LOG]      web: JSON api request failed with error code 500 (/api/outputs/31364438703391/toggle)
[2024-02-22 09:42:35] [  LOG]  airplay: Pair setup stage complete, saving authorization key
[2024-02-22 09:43:08] [  LOG]  airplay: No response to SETUP (stream) from 'Samsung AU7170 55 TV'
[2024-02-22 09:43:08] [  LOG]  airplay: Clearing 'Samsung AU7170 55 TV' pairing keys, you need to pair again
[2024-02-22 09:43:08] [  LOG]   player: The AirPlay 2 device 'Samsung AU7170 55 TV' failed to activate

i always get failed to activate is it possible, that i need to open some ports? i use ufw firewall an my raspberry and set allow 3689 and 3688 (tcp)

ejurgensen commented 7 months ago

Yes, try disabling the firewall. Airplay by default uses random ports. Once you have tested without firewall you can look in the config to set specific ports.

Jumbo125 commented 7 months ago

you are great!!!! now it works!!!!!!

so great project. i love it it would be really cool, when i can make this too.... but i only can write in php, htlm, js(jquery), css. this would be not enough :-(

now i need to find the port config and set my usb-stick in a udev rule, and set the correct directory path