You are not logged in.
This is a simple utility that I put together for CodeDay.
Right now it allows you to:
1) Search YouTube using a Node.js library called yt-search
2) Download your selected video using youtube-dl
3) Play your video using mplayer and the aalib or libcaca libraries
It also has rudimentary dependency checking for most popular binary distributions, including Arch Linux.
You can find the scripts on GitHub
git clone https://github.com/Shadow53/asciitube.git
AUR package available here
I'm new to bash scripting so this is my first real project. Feedback on syntax errors and such are greatly appreciated. Fixes are even better.
UPDATES
2015-02-28: Flags added to script, AUR package created
Last edited by Shadow53 (2015-03-01 08:03:06)
Offline
I'm not sure it needs to be in /opt, but have a look at https://aur.archlinux.org/packages/un/u … 1/PKGBUILD
Offline
The purpose of putting it in /opt is to put it in a central place for any user to have access to. Because it has multiple involved scripts, it shouldn't be put in /usr/bin.
Thanks for the pointer to the install command, too. I tested it on my machine and it works fine, so I'll have an AUR package up shortly.
Offline