From: Mike Brady Date: Sun, 19 Aug 2018 10:54:03 +0000 (+0100) Subject: Add an example of getting and setting the drift tolerance. X-Git-Tag: 3.3RC0~249^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c99591253a1362ecd1c06f4d5b596df4b3337e1b;p=thirdparty%2Fshairport-sync.git Add an example of getting and setting the drift tolerance. --- diff --git a/documents/sample dbus commands b/documents/sample dbus commands index 0a7c398d..23804159 100644 --- a/documents/sample dbus commands +++ b/documents/sample dbus commands @@ -20,4 +20,9 @@ dbus-send --system --print-reply --type=method_call --dest=org.gnome.ShairportSy #Remote Control commands include: Play, Pause, PlayPause, Resume, Stop, Next, Previous, VolumeUp, VolumeDown, ToggleMute, FastForward, Rewind, ShuffleSongs # Set Volume using Advanced Remote Control -dbus-send --system --print-reply --type=method_call --dest=org.gnome.ShairportSync '/org/gnome/ShairportSync' org.gnome.ShairportSync.AdvancedRemoteControl.SetVolume int32:50 \ No newline at end of file +dbus-send --system --print-reply --type=method_call --dest=org.gnome.ShairportSync '/org/gnome/ShairportSync' org.gnome.ShairportSync.AdvancedRemoteControl.SetVolume int32:50 + +# Get Drift Tolerance +dbus-send --print-reply --system --dest=org.gnome.ShairportSync /org/gnome/ShairportSync org.freedesktop.DBus.Properties.Get string:org.gnome.ShairportSync string:DriftTolerance +# Set Drift Tolerance to 1 millisecond +dbus-send --print-reply --system --dest=org.gnome.ShairportSync /org/gnome/ShairportSync org.freedesktop.DBus.Properties.Set string:org.gnome.ShairportSync string:DriftTolerance variant:double:0.001