85b1421100c51ce3b0d4b64d4a598c5f298b6656
[paraslash.git] / play.cmd
1 BN: play
2 SF: play.c
3 SN: list of commands
4 ---
5 N: next
6 D: Load next file.
7 U: next
8 H: Closes the current file and loads the next file of the playlist.
9 ---
10 N: prev
11 D: Load previous file.
12 U: prev
13 H: Closes the current file and loads the previous file of the playlist.
14 ---
15 N: fg
16 D: Enter command mode.
17 U: fg
18 H: In this mode, file name and play time are displayed.  Hit CTRL+C to switch to
19 H: input mode.
20 ---
21 N: bg
22 D: Enter input mode.
23 U: bg
24 H: Only useful if called in command mode via a key binding. The default key
25 H: bindings map this command to the colon key, so pressing : in command mode
26 H: activates insert mode.
27 ---
28 N: jmp
29 D: Jump to position in current file.
30 U: jmp <percent>
31 H: The <percent> argument should be an integer between 0 and 100.
32 ---
33 N: ff
34 D: Jump forwards or backwards.
35 U: ff <seconds>
36 H: Negative values mean to jmp backwards the given amount of seconds.
37 ---
38 N: ls
39 D: List playlist.
40 U: ls
41 H: This prints all paths of the playlist. The currently active file is
42 H: marked with an asterisk.
43 ---
44 N: info
45 D: Print information about the current file.
46 U: info
47 H: This is the audio file selector info.
48 ---
49 N: play
50 D: Start or resume playing.
51 U: play [<num>]
52 H: Without <num>, starts playing at the current position. Otherwise, the
53 H: corresponding file is loaded and playback is started.
54 ---
55 N: pause
56 D: Stop playing.
57 U: pause
58 H: When paused, it is still possible to jump around in the file via the jmp and ff
59 H: comands.
60 ---
61 N: tasks
62 D: Print list of active tasks.
63 U: tasks
64 H: Mainly useful for debugging.
65 ---
66 N: quit
67 D: Exit para_play.
68 U: quit
69 H: Pressing CTRL+D causes EOF on stdin which also exits para_play.