Simple program for finding and reading remote videos with libssh
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Alexander Avery b52dfabc07 move read failure check outside loop 12 months ago
.gitignore connect to machine and execute command 2 years ago
LICENSE Initial commit 2 years ago
Makefile make popcorn 2 years ago
README.md added original shell script to readme 2 years ago
popcorn.c move read failure check outside loop 12 months ago

README.md

popcorn

Simple program for finding and reading remote videos with libssh

Inspired by the shell script:

HOST=192.168.1.2
USER=pi
PATH=$((ssh $USER@$HOST find /var/www/public/media -type f -name "*mp4" | rev | cut -d'/' -f1 | rev | sort) | dmenu -l 30 | xargs -I% ssh $USER@$HOST find /var/www/public/media -name '"%"')

/usr/bin/vlc "sftp://$USER@$HOST$PATH"