]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - m4/lls/mixer.suite.m4
mixer: sleep: Add --initial-mood and --initial-delay.
[paraslash.git] / m4 / lls / mixer.suite.m4
index f71e6b9c19a6e8b4eb47d00ec67b837a3de730cc..e366a201569e538bc374f5356bf3d1c957164955 100644 (file)
@@ -147,10 +147,10 @@ caption = List of subcommands
 [subcommand sleep]
        purpose = stream, fade out, sleep, fade in
        [description]
-               Set the initial volume and fade-out mood, then fade to the fade-out
-               volume. Switch to the sleep mood and wait until wake time minus
-               fade-in time. Finally, switch to the wake mood and fade in to the
-               fade-in volume.
+               Set the initial volume and mood, start playing and sleep. Then switch
+               to the fade-out mood and fade to the fade-out volume. Next, switch to
+               the sleep mood and wait until wake time minus fade-in time. Finally,
+               switch to the wake mood and fade in to the fade-in volume.
        [/description]
        [option ivol]
                summary = set initial volume
@@ -164,6 +164,26 @@ caption = List of subcommands
                        channel part may be omitted, in which case the default channel is
                        used. This option may be given multiple times.
                [/help]
+       [option initial-mood]
+               summary = mood or playlist to start with
+               arg_info = required_arg
+               arg_type = string
+               typestr = mood_spec
+               [help]
+                       This mood or playlist is selected right after setting the initial
+                       volume and before fade-out starts. If unset, fade-out starts
+                       immediately.
+               [/help]
+       [option initial-delay]
+               summary = time before fade-out starts.
+               arg_info = required_arg
+               arg_type = uint32
+               typestr = seconds
+               default_val = 0
+               [help]
+                       If left at the default, no initial delay occurs even if an initial
+                       mood is given.
+               [/help]
        [option fo-mood]
                summary = mood or playlist for fade-out
                arg_info = required_arg