Alexander Avery
2 years ago
1 changed files with 10 additions and 1 deletions
@ -1,3 +1,12 @@ |
|||
# popcorn |
|||
|
|||
Simple program for finding and reading remote videos with libssh |
|||
Simple program for finding and reading remote videos with libssh |
|||
|
|||
Inspired by the shell script: |
|||
```bash |
|||
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" |
|||
``` |
|||
|
Loading…
Reference in new issue