nicokaiser / rpi-audio-receiver

Raspberry Pi Audio Receiver with Bluetooth A2DP, AirPlay 2, and Spotify Connect
MIT License
1.37k stars 148 forks source link

Fix up for Raspotify #115

Closed JasonLG1979 closed 2 years ago

JasonLG1979 commented 2 years ago

As of Raspotify 0.31.4 a fair amount has changed.

nicokaiser commented 2 years ago

Raspotify's default device name is already "raspotify(HOSTNAME)". It has been for a long while now.

This is why I introduced the PRETTY_HOSTNAME functionality and change the configs: I really do not want the device to be visible as "raspotify(HOSTNAME)", but as something less technical like "Living Room". I'll have a look at how this is possible with the new configuration format.

JasonLG1979 commented 2 years ago

This is why I introduced the PRETTY_HOSTNAME functionality and change the configs: I really do not want the device to be visible as "raspotify(HOSTNAME)", but as something less technical like "Living Room". I'll have a look at how this is possible with the new configuration format.

Why wouldn't you just change the actual hostname? shairport-sync and I believe bluetooth can be configured to pull in the device's hostname as or at least apart of their service's name.

nicokaiser commented 2 years ago

Why wouldn't you just change the actual hostname? shairport-sync and I believe bluetooth can be configured to pull in the device's hostname as or at least apart of their service's name.

Like I said, the device name in Spotify/AirPlay should not be something technical like the hostname (at least for me). I want the AirPlay device to be visible as "Living Room", while the hostname is e.g. "rpi-living-1" (and I really do not want the hostname to be "Living%20Room").

JasonLG1979 commented 2 years ago

Both are arbitrary.