include hostname in zeroconf_name (fixes #387)

expand %h to the system hostname and default to a zeroconf string that
contains %h
This commit is contained in:
Florian Schlichting
2018-10-31 17:54:45 +01:00
parent 2148d4bb31
commit d1f85240a2
4 changed files with 15 additions and 5 deletions

View File

@@ -151,9 +151,9 @@
#zeroconf_enabled "yes"
#
# The argument to this setting will be the Zeroconf / Avahi unique name for
# this MPD server on the network.
# this MPD server on the network. %h will be replaced with the hostname.
#
#zeroconf_name "Music Player"
#zeroconf_name "Music Player @ %h"
#
###############################################################################