X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=fade.ggo;h=388642e5c60a8f6936cd383445ea34bac67967af;hp=f467c1996ac9cfd68487a475cc67e34a8819a6b0;hb=d7efb5d95467c3ef3efbf9c0e4e6464f84368c7f;hpb=c839ef92e35d5604748aa4674b400156ff7baced diff --git a/fade.ggo b/fade.ggo index f467c199..388642e5 100644 --- a/fade.ggo +++ b/fade.ggo @@ -3,10 +3,22 @@ section "general options" option "mode" o #~~~~~~~~~~~~~~ - "{sleep|fade|snooze}" - string default="sleep" - optional +string default="sleep" +optional +details=" + para_fade knows these three different modes. + + sleep mode: Change to the initial volume and an initial afs + mode, then fade the volume down until the fade out volume is + reached. Switch to the afs sleep mode until the wake time is + reached. Then switch to the afs wake mode and and fade in to + the wake volume. + + fade: Fade the volume to the given value in the given time. + + snooze: Fade out, sleep a bit and fade in. +" option "config_file" c #~~~~~~~~~~~~~~~~~~~~~ @@ -26,27 +38,34 @@ section "sleep options (only relevant in sleep mode)" option "sleep_ivol" - #~~~~~~~~~~~~~~~~~~~~ - "set initial volume before doing anything else" - int typestr="volume" - default="60" - optional - -option "fa_stream" - -#~~~~~~~~~~~~~~~~~~~ - "fall asleep stream. Change to this stream -right after setting the volume" - - string typestr="streamname" - default="fa" - optional +"set initial volume" +int typestr="volume" +default="60" +optional +details=" + Used as the start volume, before fading out to the fade out volume. +" + +option "fa_mode" - +#~~~~~~~~~~~~~~~~~ +"fall asleep afs mode." +string typestr="afs_mode" +default="m/fade" +optional +details=" + Select this mode right after setting the volume. Example: + --fa_mode m/sleep +" option "fa_fade" - #~~~~~~~~~~~~~~~~~ - "fall asleep fading time, no fading if set -to 0" - int typestr="seconds" - default="1800" - optional + "fall asleep fading time" +int typestr="seconds" +default="1800" +optional +details=" + No fading if set to 0. +" option "fa_vol" - #~~~~~~~~~~~~~~~~ @@ -55,34 +74,39 @@ option "fa_vol" - default="20" optional -option "sleep_stream" - +option "sleep_mode" - #~~~~~~~~~~~~~~~~~~~~~~ - "change to this stream after fading, stop -playing if unset" - string typestr="streamname" - default="sleep" - optional +"sleep time afs mode" +details = " + Select the given afs mode after the fade out is complete. If + unset, the \"stop\" command is sent to para_server. +" +string typestr="afs_mode" +default="m/sleep" +optional option "wake_hour" H #~~~~~~~~~~~~~~~~~~~ - "(0-23)" + "(0-23) (default: now + 9 hours)" int typestr="hour" - default="8" optional option "wake_min" M #~~~~~~~~~~~~~~~~~~ "(0-59)" - int typestr="seconds" + int typestr="minutes" default="0" optional -option "wake_stream" - -#~~~~~~~~~~~~~~~~~~~~~ - "change to this stream on waketime" - string typestr="streamname" - default="wake" - optional +option "wake_mode" - +#~~~~~~~~~~~~~~~~~~~ +"wake time afs mode" +string typestr="afs_mode" +default="m/wake" +optional +details=" + Change to this afs mode on waketime. +" option "wake_fade" - #~~~~~~~~~~~~~~~~~~~