update to get_iplayer 2.83
This commit is contained in:
parent
295e270a3e
commit
06994f7f79
@ -1,10 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.67 2013/06/06 21:11:09 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.68 2013/06/22 22:53:14 sthen Exp $
|
||||
|
||||
COMMENT= download/stream programmes from BBC iPlayer
|
||||
|
||||
DISTNAME= get_iplayer-2.82pl3
|
||||
REVISION= 0
|
||||
WRKDIST= ${WRKDIR}/get_iplayer
|
||||
DISTNAME= get_iplayer-2.83
|
||||
CATEGORIES= multimedia
|
||||
|
||||
# http://git.infradead.org/get_iplayer.git
|
||||
@ -15,8 +13,7 @@ PERMIT_PACKAGE_CDROM= Yes
|
||||
|
||||
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
|
||||
|
||||
MASTER_SITES= http://spacehopper.org/mirrors/
|
||||
#MASTER_SITES= ftp://ftp.infradead.org/pub/get_iplayer/
|
||||
MASTER_SITES= ftp://ftp.infradead.org/pub/get_iplayer/
|
||||
|
||||
RUN_DEPENDS= audio/id3lib \
|
||||
audio/p5-MP3-Tag \
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (get_iplayer-2.82pl3.tar.gz) = NzTD4W/80ybpbw1gCUp9pg9sAy7SY1ZOqXd4Yi4nd4I=
|
||||
SIZE (get_iplayer-2.82pl3.tar.gz) = 250896
|
||||
SHA256 (get_iplayer-2.83.tar.gz) = 6jmqbgyobp8v1i9ZSmckNZ2TkN7fM5LNs+WPnEGUP5k=
|
||||
SIZE (get_iplayer-2.83.tar.gz) = 254040
|
||||
|
@ -1,7 +1,7 @@
|
||||
$OpenBSD: patch-get_iplayer,v 1.55 2013/06/06 21:11:10 sthen Exp $
|
||||
--- get_iplayer.orig Wed Apr 24 10:14:08 2013
|
||||
+++ get_iplayer Thu Jun 6 22:10:08 2013
|
||||
@@ -316,6 +316,7 @@ $opt->{verbose} = 1 if $opt_pre->{verbose};
|
||||
$OpenBSD: patch-get_iplayer,v 1.56 2013/06/22 22:53:14 sthen Exp $
|
||||
--- get_iplayer.orig Sat Jun 22 19:35:27 2013
|
||||
+++ get_iplayer Sat Jun 22 23:47:39 2013
|
||||
@@ -318,6 +318,7 @@ $opt->{verbose} = 1 if $opt_pre->{verbose};
|
||||
$opt->{quiet} = 1 if $opt_pre->{quiet};
|
||||
$opt->{pvr} = 1 if $opt_pre->{pvr};
|
||||
$opt->{stdout} = 1 if $opt_pre->{stdout} || $opt_pre->{stream};
|
||||
@ -9,16 +9,16 @@ $OpenBSD: patch-get_iplayer,v 1.55 2013/06/06 21:11:10 sthen Exp $
|
||||
|
||||
# show version and exit
|
||||
if ( $opt_pre->{showver} ) {
|
||||
@@ -352,7 +353,7 @@ mkpath $profile_dir if ! -d $profile_dir;
|
||||
|
||||
|
||||
# get list of additional user plugins and load plugin
|
||||
-my $plugin_dir_system = '/usr/share/get_iplayer/plugins';
|
||||
+my $plugin_dir_system = '${TRUEPREFIX}/share/get_iplayer/plugins';
|
||||
@@ -358,7 +359,7 @@ my $plugin_dir_system;
|
||||
if ( defined $ENV{ALLUSERSPROFILE} ) {
|
||||
$plugin_dir_system = $ENV{ALLUSERSPROFILE}.'/get_iplayer/plugins';
|
||||
} else {
|
||||
- $plugin_dir_system = '/usr/share/get_iplayer/plugins';
|
||||
+ $plugin_dir_system = '${TRUEPREFIX}/share/get_iplayer/plugins';
|
||||
}
|
||||
my $plugin_dir_user = "$profile_dir/plugins";
|
||||
for my $plugin_dir ( ( $plugin_dir_user, $plugin_dir_system ) ) {
|
||||
if ( opendir( DIR, $plugin_dir ) ) {
|
||||
@@ -761,7 +762,7 @@ sub init_search {
|
||||
@@ -771,7 +772,7 @@ sub init_search {
|
||||
delete $binopts->{vlc};
|
||||
push @{ $binopts->{vlc} }, '-vv' if $opt->{debug};
|
||||
|
||||
@ -27,7 +27,7 @@ $OpenBSD: patch-get_iplayer,v 1.55 2013/06/06 21:11:10 sthen Exp $
|
||||
$bin->{atomicparsley} = $opt->{atomicparsley} || 'AtomicParsley';
|
||||
|
||||
$bin->{tee} = 'tee';
|
||||
@@ -1417,14 +1418,16 @@ sub user_agent {
|
||||
@@ -1426,14 +1427,16 @@ sub user_agent {
|
||||
update => [ "get_iplayer updater (v${version} - $^O - $^V)" ],
|
||||
get_iplayer => [ "get_iplayer/$version $^O/$^V" ],
|
||||
desktop => [
|
||||
@ -52,16 +52,7 @@ $OpenBSD: patch-get_iplayer,v 1.55 2013/06/06 21:11:10 sthen Exp $
|
||||
],
|
||||
safari => [
|
||||
'Mozilla/5.0 (iPhone; U; CPU iPhone OS 2_0 like Mac OS X; en-us) AppleWebKit/525.18.1 (KHTML, like Gecko) Version/3.1.1 Mobile/5A345 Safari/525.20',
|
||||
@@ -5922,7 +5925,7 @@ sub get_stream_data_cdn {
|
||||
# Common attributes
|
||||
# swfurl = Default iPlayer swf version
|
||||
my $conn = {
|
||||
- swfurl => "http://www.bbc.co.uk/emp/revisions/18269_21576_10player.swf?revision=18269_21576",
|
||||
+ swfurl => "http://www.bbc.co.uk/emp/releases/iplayer/revisions/617463_618125_4/617463_618125_4_emp.swf",
|
||||
ext => $ext,
|
||||
streamer => $streamer,
|
||||
bitrate => $mattribs->{bitrate},
|
||||
@@ -9715,7 +9718,7 @@ sub tag_file_id3 {
|
||||
@@ -9747,7 +9750,7 @@ sub tag_file_id3 {
|
||||
# add basic ID3 tag with id3v2
|
||||
sub tag_file_id3_basic {
|
||||
my ($self, $meta, $tags) = @_;
|
||||
|
Loading…
x
Reference in New Issue
Block a user