In my mt-daapd
config file is the line
name = %h
which, if I understand correctly, when my hostname is aCoolHostname
this will evaluate to
name = acoolhostname
in lowercase.
How do I use the %h
but keep the lovely case formatting?
In my mt-daapd
config file is the line
name = %h
which, if I understand correctly, when my hostname is aCoolHostname
this will evaluate to
name = acoolhostname
in lowercase.
How do I use the %h
but keep the lovely case formatting?
Consult the documentation for mt-daapd
-- being unable to find any after a quick Google search, my best-guess inclination is that %h
expands to the local system's hostname, and hostnames are case-insensitive (RFC 952, RFC 1123).
The internet has no respect for your "lovely" capitalization, so the software sees no reason to preserve it. If my guess is correct the only way to preserve it would be to manually specify the hostname (with the capitalization you want) instead of using the expansion macro %h
, and this does not guarantee that the software wouldn't just throw away the capitalization again, as it's meaningless in the context of hostnames.
Bottom line: you probably want to get used to seeing your hostname in lower case :-)