Monthly Archives: February 2010
Due to my slightly outdated computer flash is a huge problem. So, for viewing youtube videos, youtube-dl.py is a great solution. However, I wanted something more comfortable.
ytplay wraps around youtube-dl.py, it searches for a video, orders youtube-dl to get it, and starts playing it in vlc.
Usage is simple:
> ytplay foobar
will search youtube for videos about foobar and play the first one found.
The code is still quite dirty, especially the subprocess part. However, it should work, have fun!