40913f3abc
from David Cathcart.
26 lines
991 B
Plaintext
26 lines
991 B
Plaintext
$OpenBSD: patch-get_iplayer,v 1.3 2009/04/29 00:59:07 sthen Exp $
|
|
|
|
- use id3tag (from audio/id3lib) by default
|
|
- workaround requirement for newer p5-libwww
|
|
|
|
--- get_iplayer.orig Mon Apr 27 23:32:58 2009
|
|
+++ get_iplayer Tue Apr 28 12:15:59 2009
|
|
@@ -500,7 +500,7 @@ sub find_matches {
|
|
$lame_opts .= ' --quiet ' if $opt->{quiet};
|
|
$vlc = $opt->{vlc} || 'cvlc';
|
|
$vlc_opts = '-vv' if $opt->{verbose} || $opt->{debug};
|
|
- $id3v2 = $opt->{id3v2} || 'id3v2';
|
|
+ $id3v2 = $opt->{id3v2} || 'id3tag';
|
|
$tee = 'tee';
|
|
$rtmpdump = $opt->{rtmpdump} || 'rtmpdump';
|
|
$bandwidth = $opt->{bandwidth} || 512000; # Download bandwidth bps used for rtsp streams
|
|
@@ -1251,7 +1251,7 @@ sub download_block {
|
|
sub create_ua {
|
|
my $agent = shift;
|
|
my $ua = LWP::UserAgent->new;
|
|
- $ua->timeout([$lwp_request_timeout]);
|
|
+ #$ua->timeout([$lwp_request_timeout]);
|
|
$ua->proxy( ['http'] => $opt->{proxy} ) if $opt->{proxy};
|
|
$ua->agent( $user_agent{$agent} );
|
|
$ua->conn_cache(LWP::ConnCache->new());
|