SVN: toys/rsget.pl/Direct/RTMP
sparky
sparky at pld-linux.org
Sun Jun 27 18:25:27 CEST 2010
Author: sparky
Date: Sun Jun 27 18:25:27 2010
New Revision: 11604
Added:
toys/rsget.pl/Direct/RTMP (contents, props changed)
Log:
- NEW, rtmp:// handler, problematic but works
Added: toys/rsget.pl/Direct/RTMP
==============================================================================
--- (empty file)
+++ toys/rsget.pl/Direct/RTMP Sun Jun 27 18:25:27 2010
@@ -0,0 +1,31 @@
+# $Id$
+# Direct::RTMP - 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: RTMP
+short: Direct::RTMP
+web: "http://rsget.pl/getters/Direct/RTMP/"
+uri: qr{rtmp://.*[^/]}
+uri: qr{rtmpt://.*[^/]}
+uri: qr{rtmpe://.*[^/]}
+uri: qr{rtmpte://.*[^/]}
+uri: qr{rtmps://.*[^/]}
+uri: qr{rtmpts://.*[^/]}
+slots: max
+status: OK 2010-06-27
+
+start:
+ GET( $-{_uri}, headonly => 1 );
+
+ # avoid URI::rtmp requirement
+ delete $-{_referer};
+
+ 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