SVN: toys/rsget.pl/Direct/RTSP
sparky
sparky at pld-linux.org
Sun Jun 27 18:26:29 CEST 2010
Author: sparky
Date: Sun Jun 27 18:26:29 2010
New Revision: 11605
Added:
toys/rsget.pl/Direct/RTSP (contents, props changed)
Log:
- NEW, rtsp:// handler, not tested
Added: toys/rsget.pl/Direct/RTSP
==============================================================================
--- (empty file)
+++ toys/rsget.pl/Direct/RTSP Sun Jun 27 18:26:29 2010
@@ -0,0 +1,24 @@
+# $Id$
+# Direct::RTSP - File getter plugin for rsget.pl
+#
+# 2010 (c) Przemysław Iskra <sparky at pld-linux.org>
+# This program is free software,
+# you may distribute it under GPL v2 or newer.
+
+name: RTSP
+short: Direct::RTSP
+web: "http://rsget.pl/getters/Direct/RTSP/"
+uri: qr{rtsp://.*[^/]}
+uri: qr{rtspu://.*[^/]}
+slots: max
+status: OK 2010-06-27
+
+start:
+ GET( $-{_uri}, headonly => 1 );
+
+ my ( $name ) = $-{_uri} =~ m{.*/(.*)$};
+ INFO( name => $1, size => -1 );
+
+ DOWNLOAD( $-{_uri} );
+
+# vim: filetype=perl:ts=4:sw=4
More information about the pld-cvs-commit
mailing list