Update to get_iplayer 1.99; adds support for live streams and embedded
media on many BBC web pages. Live streams tested by Pedro la Peu, thanks! (he was seeing problems with mplayer stuttering about 50% of the time, but perfect on reconnecting). Try "get_iplayer --pid tv:<url or channel> --stdout --nowrite" piped into "mplayer -cache 512 -" or "ffplay -".
This commit is contained in:
parent
b631f0db36
commit
ce8750bef0
@ -1,8 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.10 2009/05/25 17:54:01 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.11 2009/06/14 11:47:45 sthen Exp $
|
||||
|
||||
COMMENT = download BBC iPlayer and ITV programmes
|
||||
|
||||
DISTNAME = get_iplayer-1.90
|
||||
DISTNAME = get_iplayer-1.99
|
||||
|
||||
CATEGORIES = multimedia
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
MD5 (get_iplayer-1.90.tar.gz) = fxNZCULuriHH+ek61DJiNg==
|
||||
RMD160 (get_iplayer-1.90.tar.gz) = fbdiaE7otTM1c64rArhVGwUtk1E=
|
||||
SHA1 (get_iplayer-1.90.tar.gz) = jDqcgcOGPdnFt+LYVcgVBAxL0dY=
|
||||
SHA256 (get_iplayer-1.90.tar.gz) = hLDmQbzUogcAGUX1Sutn27DSPDMrkAoT745Kb9dBAtY=
|
||||
SIZE (get_iplayer-1.90.tar.gz) = 98951
|
||||
MD5 (get_iplayer-1.99.tar.gz) = U3nVGVgW5cGr9ohIciiDcA==
|
||||
RMD160 (get_iplayer-1.99.tar.gz) = INad77OB6cA/ZXz/Ph/MMRrw3a0=
|
||||
SHA1 (get_iplayer-1.99.tar.gz) = 8EKYarCSqonPmNN0Spc0WcCO9cg=
|
||||
SHA256 (get_iplayer-1.99.tar.gz) = V5pFLIftmjmNCmb3HV/QcKIOi50WNt1lq9MyugXSF+k=
|
||||
SIZE (get_iplayer-1.99.tar.gz) = 105207
|
||||
|
@ -1,7 +1,7 @@
|
||||
$OpenBSD: patch-get_iplayer,v 1.7 2009/05/25 17:54:01 sthen Exp $
|
||||
--- get_iplayer.orig Mon May 25 17:04:40 2009
|
||||
+++ get_iplayer Mon May 25 18:50:21 2009
|
||||
@@ -174,7 +174,7 @@ mkpath $profile_dir if ! -d $profile_dir;
|
||||
$OpenBSD: patch-get_iplayer,v 1.8 2009/06/14 11:47:45 sthen Exp $
|
||||
--- get_iplayer.orig Sat Jun 13 00:46:46 2009
|
||||
+++ get_iplayer Sat Jun 13 11:59:13 2009
|
||||
@@ -173,7 +173,7 @@ mkpath $profile_dir if ! -d $profile_dir;
|
||||
|
||||
|
||||
# get list of additional user plugins and load plugin
|
||||
@ -10,7 +10,7 @@ $OpenBSD: patch-get_iplayer,v 1.7 2009/05/25 17:54:01 sthen Exp $
|
||||
my $plugin_dir_user = "$profile_dir/plugins";
|
||||
for my $plugin_dir ( ( $plugin_dir_user, $plugin_dir_system ) ) {
|
||||
if ( opendir( DIR, $plugin_dir ) ) {
|
||||
@@ -360,6 +360,7 @@ if ( ! keys %plugin_files ) {
|
||||
@@ -359,6 +359,7 @@ if ( ! keys %plugin_files ) {
|
||||
$opt->{pluginsupdate} = 1;
|
||||
}
|
||||
# Update this script if required
|
||||
@ -18,7 +18,7 @@ $OpenBSD: patch-get_iplayer,v 1.7 2009/05/25 17:54:01 sthen Exp $
|
||||
update_script() if $opt->{update} || $opt->{pluginsupdate};
|
||||
|
||||
|
||||
@@ -515,9 +516,9 @@ sub find_matches {
|
||||
@@ -524,9 +525,9 @@ sub find_matches {
|
||||
$binopts->{lame} .= ' --quiet ' if $opt->{quiet};
|
||||
$bin->{vlc} = $opt->{vlc} || 'cvlc';
|
||||
$binopts->{vlc} = '-vv' if $opt->{verbose} || $opt->{debug};
|
||||
@ -30,8 +30,8 @@ $OpenBSD: patch-get_iplayer,v 1.7 2009/05/25 17:54:01 sthen Exp $
|
||||
# Set quiet, test and get options if we're asked for streaminfo
|
||||
if ( $opt->{streaminfo} ) {
|
||||
$opt->{test} = 1;
|
||||
@@ -1312,7 +1313,7 @@ sub create_ua {
|
||||
my $agent = $user_agent{ $_[0] } || random_ua();
|
||||
@@ -1352,7 +1353,7 @@ sub create_ua {
|
||||
my $agent = $user_agent{ "$_[0]" } || random_ua();
|
||||
my $nocookiejar = $_[1] || 0;
|
||||
my $ua = LWP::UserAgent->new;
|
||||
- $ua->timeout([$lwp_request_timeout]);
|
||||
|
Loading…
Reference in New Issue
Block a user