blob: acfbaebf86ce325db49b499bb785b483754ba6e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# srtplay
Play .srt subtitle files in a terminal.
## Installation
1. Install [Perl](https://perl.org) and [scdoc](https://git.sr.ht/~sircmpwn/scdoc)
2. Install the Time::HiRes, Term::ReadKey, and XML::Parser Perl modules
3. `make`
4. `make install`
## Usage
```sh
srtplay <file>.srt
```
See the [man page](https://git.sr.ht/~stonks3141/srtplay/tree/main/item/srtplay.1.scd)
for further information.
### TUI key bindings
- `q`, `<Ctrl-C>`: exit the program
- `k`, `<space>`: pause or resume playback
- `j`: fast-backward by 10 seconds
- `l`: fast-forward by 10 seconds
## Contributing
[Send patches](https://git-send-email.io) and bug reports to
[~stonks3141/public-inbox@lists.sr.ht](mailto:~stonks3141/public-inbox@lists.sr.ht)
([archive](https://lists.sr.ht/~stonks3141/public-inbox)).
|