playtube Simple script that uses youtube-dl and its siblings to download and play youtube, metacafe, pornotube videos in kmplayer. Kmplayer control works over dcop. Can be used manually or by dragging and dropping a valid URL on kmplayer's 'play' button (or any other) at the bottom of its video area or on the black bands above and below the video area (if any). For the latter to work, you need to apply the provided patch to kmplayer, which will start this script in a seperate process if the URL hostname matches, say, 'www.youtube.com'. It may take several seconds before the download starts. The kmplayer port applies this patch and installs the tubestuff if you enable TUBESTUFF. The youtube-dl, metacafe-dl, and pornotube-dl scripts by Ricardo Garcia Gonzalez are included, as well as a few additional scripts to support some other sites. In most cases, if the download fails, it's because the actual video data simply isn't available (anymore) or maybe the URL is not supported. Video files are saved in ~/.tubes, so if you view that (or another) URL again that refers to the same video file it plays the local file. You may want to clean it up periodically. Some test URLs (20080323): http://www.metacafe.com/watch/1155515/shocking_music/ http://www.liveleak.com/view?i=726_1206198788 http://www.dailymotion.com/cluster/fun/featured/video/x4mxtf_the-painting_fun http://ourmedia.org/node/683 http://www.revver.com/video/329173/beer-beer-beer/ http://www.youtube.com/watch?v=oSbLpQEZP1Y http://video.google.nl/url?docid=-5094414695465542624 http://blip.tv/file/668524 http://www.altertube.tv/view_video.php?viewkey=c245530c7a6ebef3753e (warning: 155 MB, mature audience, scary, John Carpenter) Changelog: 20080324: If download speed is thought to be greater than the playback speed, start playback while downloading, if not keep showing "downloading" 20080314: Add new support for liveleak 20080314: Update youtube-dl to version 20080308 20080218: Add google video support, fix various others, remove broken liveleak 20080206: Update youtube-dl to version 20080124 20071210: Remove AOL uncutvideo, does not work anymore 20071205: Create "downloading.avi" as MPEG4 so that xine can play it too 20071129: Added dailymotion.com support 20071128: Added ourmedia.org (flv) and uncutvideo.aol.com support 20071128: Added revver.com (mov download only) 20071108: Also support youtube urls starting with http://youtube.com 20071102: When using fetch, use -nR switches 20071030: Added blip.tv support (flv) 20071029: Support pornotube urls with channel id 20071028: Added altertube.tv and liveleak.com support