Skip to content

Instantly share code, notes, and snippets.

@difranco
Last active October 13, 2015 01:18
Show Gist options
  • Save difranco/4116460 to your computer and use it in GitHub Desktop.
Save difranco/4116460 to your computer and use it in GitHub Desktop.
make it executable, put it in your path, and try it out
#!/bin/bash
if [ `whoami` != "root" ]
then
echo "My full name is Sudo Genki."
exit 1
fi
if [ `which vlc-wrapper` = "vlc-wrapper not found" ]
then
echo "Sudo Genki requires vlc."
exit 77
fi
VIDEOS="\
https://www.youtube.com/watch?v=LRjCfdJbb6g \
https://www.youtube.com/watch?v=xwg2Hpf4ta8 \
https://www.youtube.com/watch?v=r-qhj3sJ5qs \
https://www.youtube.com/watch?v=xGsFZHX1jho "
vlc-wrapper $VIDEOS --fullscreen --intf dummy --vout caca --sout="#transcode{samplerate=8192,channels=1}:display{}"
@difranco
Copy link
Author

I'm using 2.0.4 and it works quite well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment