Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/djblue/ssh-mpv
List/play videos over ssh using mpv.
https://github.com/djblue/ssh-mpv
mpv shell ssh vipe
Last synced: 2 months ago
JSON representation
List/play videos over ssh using mpv.
- Host: GitHub
- URL: https://github.com/djblue/ssh-mpv
- Owner: djblue
- License: mit
- Created: 2015-04-12T07:19:43.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-06-15T00:39:35.000Z (7 months ago)
- Last Synced: 2024-10-13T10:28:05.749Z (3 months ago)
- Topics: mpv, shell, ssh, vipe
- Language: Shell
- Size: 5.86 KB
- Stars: 34
- Watchers: 9
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
ssh-mpv
===========List and play videos over ssh using [mpv](https://mpv.io/).
Dependencies
----------------Dependencies needed for the script to work properly.
- [vipe](http://joeyh.name/code/moreutils/): pipe stdin to vim to stdout
(from moreutils)
- [mpv](http://mpv.io/): mplayer fork with enhancements
- [SSH](https://de.wikipedia.org/wiki/Secure_Shell): Secure Shell to get access on your remote video filesInstall it on linux:
```bash
sudo apt update
sudo apt install openssh mpv moreutils
```Variables
-------------Edit the following variables in the script before use.
- user: ssh server user
- server: ssh server name
- port : port to use for ssh (22 by default)
- dir: directory to search on the ssh server
- edit: editor to use for vipe*And you have the option to use a [Jump Host](https://www.tecmint.com/access-linux-server-using-a-jump-host/) to access the server indirectly if he is e.g. behind a NAT/Firewall)*
## Usage
```bash
ssh-mpv [opt]
```### Options
```bash
- l: list remote videos to stdout
- v: view remote listing in $edit
- p: play listing from stdin
```