PyTube

Here is a little program I made for watching YouTube videos in a less cluttered environment.
PyTube allows you to search for YouTube videos, download them to a temporary location and then play them.

There are two versions of it, one downloads the video to /tmp/vid.flv and lets mplayer begin to play this at 20%, the other version downloads the entire video to /media/mmc1, then launches mplayer - the second version is for the Nokia 770, which seems to have trouble with playing the video at 20% while it is still downloading.

The program is, on the nokia 770, still pretty buggy - but it works, most of the time.

PC Version
http://tonybox.net/PyTube.tar.bz2

Nokia 770 Version
http://tonybox.net/PyTube-770.tar.gz

A video of searching for a video, and then playing it on a PC:
http://tonybox.net/pytube.ogg

A video of searching for a video, and then playing it on a Nokia 770:
http://tonybox.net/pytube-770.ogg

—————————————————
Just extract and run “python PyTube.py”
Requires Python, PyGtk, and mplayer - Includes beautifulsoup HTML Parser and Urlgrabber

Expect some deb packages for the Nokia 770 in a bit, once I clean it up for the 770 a little more.

Enjoy :)

Leave a Reply

Get OGG Eliminate DRM!