play: Convert com_fg() to lopsub.
[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: bg
16 D: Enter input mode.
17 U: bg
18 H: Only useful if called in command mode via a key binding. The default key
19 H: bindings map this command to the colon key, so pressing : in command mode
20 H: activates insert mode.
21 ---
22 N: jmp
23 D: Jump to position in current file.
24 U: jmp <percent>
25 H: The <percent> argument should be an integer between 0 and 100.
26 ---
27 N: ff
28 D: Jump forwards or backwards.
29 U: ff <seconds>
30 H: Negative values mean to jmp backwards the given amount of seconds.
31 ---
32 N: ls
33 D: List playlist.
34 U: ls
35 H: This prints all paths of the playlist. The currently active file is
36 H: marked with an asterisk.
37 ---
38 N: info
39 D: Print information about the current file.
40 U: info
41 H: This is the audio file selector info.
42 ---
43 N: play
44 D: Start or resume playing.
45 U: play [<num>]
46 H: Without <num>, starts playing at the current position. Otherwise, the
47 H: corresponding file is loaded and playback is started.
48 ---
49 N: pause
50 D: Stop playing.
51 U: pause
52 H: When paused, it is still possible to jump around in the file via the jmp and ff
53 H: comands.
54 ---
55 N: tasks
56 D: Print list of active tasks.
57 U: tasks
58 H: Mainly useful for debugging.
59 ---
60 N: quit
61 D: Exit para_play.
62 U: quit
63 H: Pressing CTRL+D causes EOF on stdin which also exits para_play.