SVN: toys/rsget.pl/RSGet/FileList.pm
sparky
sparky at pld-linux.org
Sun Jun 27 18:26:51 CEST 2010
Author: sparky
Date: Sun Jun 27 18:26:50 2010
New Revision: 11606
Modified:
toys/rsget.pl/RSGet/FileList.pm
Log:
- allow rtmp and rtsp uris
Modified: toys/rsget.pl/RSGet/FileList.pm
==============================================================================
--- toys/rsget.pl/RSGet/FileList.pm (original)
+++ toys/rsget.pl/RSGet/FileList.pm Sun Jun 27 18:26:50 2010
@@ -240,7 +240,7 @@
if ( /^([a-z0-9_]+)=(.*)$/ ) {
$options->{$1} = uri_unescape( $2 );
next;
- } elsif ( m{^((?:http|https|ftp)://)?(.*?\..*?/.*)$} ) {
+ } elsif ( m{^((?:http|https|ftp|rtmp|rtmpt?(?:|e|s)|rtspu?)://)?(.*?\..*?/.*)$} ) {
my $proto = $1 || "http://";
my $uri = $proto . $2;
$options = {};
More information about the pld-cvs-commit
mailing list