Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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 files

Install 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
```