The problem:
During initial setup of Volumio, it’s possible to create an AirPlay name (the text that appears in the list of AirPlay clients in a music player such as iTunes or an iOS device) in Volumio that has uppercase characters and/or spaces. However, such a name is not valid as a “hostname”, and Volumio changes any uppercase letters to lowercase and spaces into hyphens when creating the hostname. After setup is run, the hostname and AirPlay name will be different. For example:
AirPlay name = “Master Bedroom”
Hostname = master-bedroom
However, if Volumio is rebooted, the AirPlay name will be overwritten with the hostname.
I don’t want this to happen. I want to keep the AirPlay name with capitals and spaces, and I don’t want to have to re-run the setup process on every reboot in order for this to happen.
There seem to be a few threads about this (see list below) where people complain about the problem but as of yet there doesn’t seem to be a solution. The final thread in the list contains a possible solution, or idea for a solution, but is based on an old version of Volumio, and assumes a level of familiarity with Linux, Volumio, and shairport that I and doubtless most others facing this issue, simply don’t have.
My question:
Can anyone suggest a config file, such as a script that Volumio will run at startup, where an Airplay name can be set at startup, overriding whatever script/process is currently causing Volumio to overwrite the AirPlay name with the hostname?
Any help gratefully received.
- https://volumio.org/forum/change-airplay-name-t172.html
- https://volumio.org/forum/airplay-player-name-keeps-changing-after-restart-save-t7751.html
- https://volumio.org/forum/airplay-password-setting-webui-uppcase-letters-name-t4115.html
- https://volumio.org/forum/airplay-name-won-change-from-volumio-t1339.html
I have decided to bump this thread as I think it’s the most likely thread to be found by someone googling for an answer, possibly via the first thread in the list above.