summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorGiovanni Campagna <gcampagna@src.gnome.org>2013-10-20 23:40:55 +0200
committerGiovanni Campagna <gcampagna@src.gnome.org>2014-02-13 15:15:06 +0100
commit93cc06931ddd8a7891da0ee89adba9ae70eda0e5 (patch)
treea7b5848584a9e4a83dd36c358ac14cb5a3a9d1fb /data
parenta2a90d7fb4cc832aa51ba9d03a1d162d2b25ed55 (diff)
downloadrygel-93cc06931ddd8a7891da0ee89adba9ae70eda0e5.tar.gz
Add support for pretty hostnames
Read and parse /etc/machine-info to obtain a pretty human readable hostname (eg. "Bob's Laptop" instead of "bob-laptop"). If the file is not found, or it can't be parsed, we fall back on the normal hostname. In GNOME, the pretty hostname can be configured in the control center details and sharing panels. In other systems, it can be changed using "hostnamectl --pretty". https://bugzilla.gnome.org/show_bug.cgi?id=724138
Diffstat (limited to 'data')
-rw-r--r--data/rygel.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rygel.conf b/data/rygel.conf
index 1347dc0c..84dbeb80 100644
--- a/data/rygel.conf
+++ b/data/rygel.conf
@@ -115,7 +115,7 @@ virtual-folders=true
[Playbin]
enabled=true
-title=Audio/Video playback on @HOSTNAME@
+title=Audio/Video playback on @PRETTY_HOSTNAME@
[ZDFMediathek]
enabled=false