Skip to content

djblue/ssh-mpv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

ssh-mpv

List and play videos over ssh using mpv.

Dependencies

Dependencies needed for the script to work properly.

  • vipe: pipe stdin to vim to stdout (from moreutils)
  • mpv: mplayer fork with enhancements
  • SSH: Secure Shell to get access on your remote video files

Install it on linux:

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 to access the server indirectly if he is e.g. behind a NAT/Firewall)

Usage

    ssh-mpv [opt] <search...>

Options

- l: list remote videos to stdout
- v: view remote listing in $edit
- p: play listing from stdin

About

List/play videos over ssh using mpv.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages