]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Add explanation of substitutions for service name
authorMike Brady <mikebrady@eircom.net>
Sat, 21 May 2016 12:06:15 +0000 (13:06 +0100)
committerMike Brady <mikebrady@eircom.net>
Sat, 21 May 2016 12:06:15 +0000 (13:06 +0100)
scripts/shairport-sync.conf

index 2f185669f8be21e47dc3755314f0c08cceb6835e..4dd575050b322642744daedf099f31b538e3bbf1 100644 (file)
@@ -4,7 +4,13 @@
 // General Settings
 general =
 {
-//     name = "Shairport Sync Player"; // This is the name the service will advertise to iTunes. The default is "Shairport Sync on <hostname>"
+//     name = "Shairport Sync on %H"; // This is the name the service will advertise to iTunes.
+//     The default is "<Hostname>" -- the first letter is capitalised (ASCII only.)
+//     You can use %h for the hostname,
+//     %H for the Hostname (i.e. with first letter capitalised (ASCII only)),
+//     %v for the version number, e.g. 2.8.4 and
+//     %V for the full version string, e.g. 2.8.4-OpenSSL-Avahi-ALSA-soxr-metadata
+//     Overall length can not exceed 50 characters. Example: "Shairport Sync %v on %H".
 //     password = "secret"; // leave this commented out if you don't want to require a password
 //     interpolation = "basic"; // aka "stuffing". Default is "basic", alternative is "soxr". Use "soxr" only if you have a reasonably fast processor.
 //     output_backend = "alsa"; // Run "shairport-sync -h" to get a list of all output_backends, e.g. "alsa", "pipe", "stdout". The default is the first one.