- # Vimeo appends a hash to the download URL, in order to thwart people like me.
- # Unfortunately the algorithm isn't that complicated :)
- if ($dlurl =~ m|http://bitcast.vimeo.com(.+)|) {
- $dlpath = $1;
- $timestamp += 1800;
- $hash = md5_hex(sprintf('redFiretruck%s?e=%d', $dlpath, $timestamp));
- } else {
- $self->error('Unknown dlurl scheme: %s', $dlurl);
- return undef;
- }
-
- $metadata->{'DLURL'} = sprintf('%s?e=%d&h=%s', $dlurl, $timestamp, $hash);
+ # # Vimeo appends a hash to the download URL, in order to thwart people like me.
+ # # Unfortunately the algorithm isn't that complicated :)
+ # if ($dlurl =~ m|http://bitcast.vimeo.com(.+)|) {
+ # $dlpath = $1;
+ # $timestamp += 1800;
+ # $hash = md5_hex(sprintf('redFiretruck%s?e=%d', $dlpath, $timestamp));
+ # } else {
+ # $self->error('Unknown dlurl scheme: %s', $dlurl);
+ # return undef;
+ # }
+
+ # $metadata->{'DLURL'} = sprintf('%s?e=%d&h=%s', $dlurl, $timestamp, $hash);
+ $metadata->{'DLURL'} = $dlurl;