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 = {};
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to