|Puny Weakling Laptop|
I’ve wanted to be able to display YouTube stuff on my TV for a long time. If somebody mentions a link on IRC, it would be nice to display that on the big screen instead of my minuscule sofa laptop. (Which isn’t powerful enough to show most YouTube videos, anyway. Poor Sony Vaio P.)
I’d hate to have to run a web browser on the TV machine, though, so I didn’t think this would be practical.
I wanted a standalone Flash player of some kind that would work under Linux, and that I could control without having to click around on the screen. Like an animal!
But then, after an exhaustive Google search, I found youtube-dl. It’s a great Python script that ferrets out the Flash file from a YouTube (and similar) page, and then saves the video file to disk.
It starts downloading the file, and then starts mplayer on the file as soon as the file is a few KiB long, so I can start watching pretty much immediately.
It’s a quantum leap. I mean, the smallest leap possible.