]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - m4/lls/play.suite.m4
paraslash 0.7.3
[paraslash.git] / m4 / lls / play.suite.m4
index 0fbba0c0b3c8494fd5eed77d2ae5826cbee0a283..f2220f147224b3e82ffca770e2c5417a7293a79f 100644 (file)
@@ -7,12 +7,13 @@ version-string = GIT_VERSION()
        purpose = command line audio player
        non-opts-name = <audio_file>...
        [description]
-               para_play operates either in command mode or in insert mode. In
-               insert mode it presents a prompt and allows to enter commands like
-               stop, play, pause etc. In command mode the current audio file and the
-               playback position are shown and the program reads single key strokes
-               from stdin. Keys may be mapped to commands so that the configured
-               command is executed when a mapped key is pressed.
+               para_play operates either in command mode or in insert mode. In insert
+               mode it presents a prompt and allows the user to enter commands like
+               play, pause, quit, etc. In command mode the current audio file and the
+               playback position are shown instead of the prompt/command line, and
+               the program reads single key strokes from stdin. Keys may be mapped
+               to commands so that the configured command is executed whenever a
+               mapped key is pressed.
        [/description]
        m4_include(common-option-section.m4)
        m4_include(help.m4)
@@ -25,6 +26,16 @@ version-string = GIT_VERSION()
        [option randomize]
                short_opt = z
                summary = randomize playlist at startup
+       [option end-of-playlist]
+               summary = what to do after the last file has been played
+               arg_info = required_arg
+               arg_type = string
+               typestr = behaviour
+               values = {
+                       EOP_LOOP = "loop",
+                       EOP_STOP = "stop",
+                       EOP_QUIT = "quit"
+                }
        [option key-map]
                short_opt = k
                summary = map a key to a command