26 lines
1001 B
Plaintext
26 lines
1001 B
Plaintext
$OpenBSD: patch-get_iplayer,v 1.4 2009/05/01 02:09:56 sthen Exp $
|
|
|
|
- use id3tag (from audio/id3lib) by default
|
|
- workaround requirement for newer p5-libwww
|
|
|
|
--- get_iplayer.orig Wed Apr 29 17:31:27 2009
|
|
+++ get_iplayer Fri May 1 03:06:21 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
|
|
@@ -1252,7 +1252,7 @@ sub create_ua {
|
|
my $agent = shift;
|
|
my $nocookiejar = shift || 0;
|
|
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());
|