
I love the terminal. And to quote one guy on another forum (I don't remember where) "Chicks dig guys with terminals." B-)
Also, the terminal is significantly more RP friendly than X (differ if you must, but I really feel that it's inherent because of the amount of RAM)
I spend about 80% of my time on the RP in the terminal without ever starting X.
So, here's how to play youtube without ever having to boot X!
BTW, this requires omxplayer for the RP.
Advantages:
- Don't have to boot X
- Hardware Acceleration
- What the heck?? Who needs Flash or HTML5??
First, we need several dependencies: youtube-dl and python-setuptools. Problem: youtube-dl isn't in the ARM repos. Not sure why... it's python...
So, we have to download it here: https://github.com/rg3/youtube-dl/raw/2 ... youtube-dl
Code: Select all
wget https://github.com/rg3/youtube-dl/raw/2012.02.27/youtube-dl
Code: Select all
chmod +x youtube-dl
cp youtube-dl /usr/bin/youtube-dl

Code: Select all
sudo apt-get install python-setuptools
Code: Select all
wget http://pypi.python.org/packages/source/w/whitey/whitey-0.1.tar.gz
tar -zxvf whitey-0.1.tar.gz
Navigate to whitey's /src/yt/ directory, and edit __init__.py as follows: The line that has the mplayer command in it, change mplayer to omxplayer, and remove the argument switches.
Or, you can download my edited version here: https://dl.dropbox.com/u/33311875/__init__.py and replace the file completely.
Next, navigate up two directories so that you are in the main whitey folder, and then install:
Code: Select all
sudo python setup.py install
NOTE: If you don't have omxplayer, it's getting easier and easier to install these days. Just follow the instructions on this comment: http://www.raspberrypi.org/phpBB3/viewt ... 221#p74221