blob: e95656b290c1554863dad0a38adc06f9aad1b277 (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Slingr
[](https://travis-ci.org/yuvadm/slingr)
[](https://crates.io/crates/slingr)
A simple CLI for streaming media files over a local network to UPnP media renderers.
Designed to work with cheap HDMI/DLNA/UPnP/Miracast Dongles.
The `r` stands for Rust.
## Features
- [ ] Stream a video file to a UPnP Media Renderer
- [ ] Play and pause video during playback
- [ ] Skip forward and backward during playback
- [ ] Add subtitles to the video
- [ ] Integrate with ffmpeg to do on the fly transcoding
## Usage
Make sure you have a UPnP streamer online on your local network, then run:
```bash
$ slingr ~/path/to/media.file
```
To target a specific device:
```bash
$ slingr --device 192.168.33.44 ~/path/to/media.file
```
To add subtitles to the playback:
```bash
$ slingr --subtitles ~/path/to/subtitles.file ~/path/to/media.file
```
### Controls
During playback use the following controls:
- <kbd>Space</kbd> - Play / Pause
- <kbd>q</kbd> - Quit
## License
[GPLv3](LICENSE)
|