Release Youtube videos on the pandora with mplayer (code inside)


RichiH

Still Fresh
Joined
Oct 3, 2008
Messages
9
With so much interest in/talk about Flash support on the pandora, I thought I might chip in with this little snippet:

Code:
youplayer() {which youtube-dl && mplayer $(youtube-dl -g $1)}

For those who don't know what I mean:
It is pretty easy to extract the URL of the FLV from a youtube (or other) video. Then, you simply pass that URL to mplayer et voila, your video is playing. No need for any annoying site around the actual content you are interested in (especially useful for a device with a small screen. Like a Pandora..).

By posting this, I hope I made sure this does not get lost :)


Richard

Edit: Changed topic
 
New versions of VLC should also allow you to watch youtube with only the url.
 
Back
Top