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
#~~~~~~~~~~~~~~~~~~~~~
option "sleep_ivol" -
#~~~~~~~~~~~~~~~~~~~~
- "set initial volume before doing anything else"
- int typestr="volume"
- default="60"
- 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. Select this mode
-right after setting the volume. Example:
+#~~~~~~~~~~~~~~~~~
+"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
"
- string typestr="afs_mode"
- default="m/fade"
- optional
-
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" -
#~~~~~~~~~~~~~~~~
option "sleep_mode" -
#~~~~~~~~~~~~~~~~~~~~~~
- "change to this afs mode after fading, stop
-playing if unset."
- string typestr="afs_mode"
- default="m/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
#~~~~~~~~~~~~~~~~~~~
optional
option "wake_mode" -
-#~~~~~~~~~~~~~~~~~~~~~
- "change to this afs mode on waketime"
- string typestr="afs_mode"
- default="m/wake"
- optional
+#~~~~~~~~~~~~~~~~~~~
+"wake time afs mode"
+string typestr="afs_mode"
+default="m/wake"
+optional
+details="
+ Change to this afs mode on waketime.
+"
option "wake_fade" -
#~~~~~~~~~~~~~~~~~~~