Closed JasonLG1979 closed 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.
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.
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").
Both are arbitrary.
As of Raspotify 0.31.4 a fair amount has changed.
PRETTY_HOSTNAME is unnecessary. Raspotify's default device name is already "raspotify(HOSTNAME)". It has been for a long while now.
The Raspotify config file has moved and changed formats. https://github.com/dtcooper/raspotify/wiki/Migration-from-older-versions-to-0.31.4-and-beyond
Raspotify no longer creates a "raspotify" user, it instead relies on systemd's DynamicUser functionality.
Not setting the initial volume allows Raspotify to remember the volume between starts.
Don't edit the Raspotify config. It has sane defaults that the user can change if they so desire. This also has the benefit of not having to worry about keeping up with librespot options and flags.