update to 2.45, fixing a bug which caused iPlayer HD to fail with some CDNs.
This commit is contained in:
parent
6f9b9339f2
commit
c10eaa9a85
@ -1,8 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.27 2009/10/25 20:01:12 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.28 2009/11/06 14:35:46 sthen Exp $
|
||||
|
||||
COMMENT = download BBC iPlayer and ITV programmes
|
||||
|
||||
DISTNAME = get_iplayer-2.43
|
||||
DISTNAME = get_iplayer-2.45
|
||||
CATEGORIES = multimedia
|
||||
|
||||
HOMEPAGE = http://linuxcentre.net/get_iplayer/
|
||||
@ -21,6 +21,7 @@ MASTER_SITES = http://linuxcentre.net/get_iplayer/packages/ \
|
||||
http://linuxcentre.net/get_iplayer/packages/archive/
|
||||
|
||||
RUN_DEPENDS = ::audio/id3lib \
|
||||
::multimedia/atomicparsley \
|
||||
:flvstreamer->=1.8:net/flvstreamer \
|
||||
::www/p5-HTML-Parser \
|
||||
:p5-libwww->=5.826:www/p5-libwww
|
||||
|
@ -1,5 +1,5 @@
|
||||
MD5 (get_iplayer-2.43.tar.gz) = s3cYOsFH9Ec9gh4P0LZ4Rg==
|
||||
RMD160 (get_iplayer-2.43.tar.gz) = jqLD7IAI5evBpbK0+jxHGa60bj4=
|
||||
SHA1 (get_iplayer-2.43.tar.gz) = 8ctf+gXLH6DgxRRpgEB36f8LJek=
|
||||
SHA256 (get_iplayer-2.43.tar.gz) = FboBFE4LfuAQqH6hM3o40U3LNlBkAb3mzjAuNIX/ZZk=
|
||||
SIZE (get_iplayer-2.43.tar.gz) = 122084
|
||||
MD5 (get_iplayer-2.45.tar.gz) = iKzLQ32dTcTnWF3OueqvIw==
|
||||
RMD160 (get_iplayer-2.45.tar.gz) = i+4xVcpy4HYaqWaoOhHDGJzEw8Q=
|
||||
SHA1 (get_iplayer-2.45.tar.gz) = IM6BhrlYJdaZgifBmFZZ7uEu/Zc=
|
||||
SHA256 (get_iplayer-2.45.tar.gz) = JWPEcpslF60rcFugxD9rHxIUh1LGIAmC99w4iU0BBus=
|
||||
SIZE (get_iplayer-2.45.tar.gz) = 122417
|
||||
|
@ -1,11 +1,11 @@
|
||||
$OpenBSD: patch-get_iplayer,v 1.21 2009/10/25 20:01:12 sthen Exp $
|
||||
$OpenBSD: patch-get_iplayer,v 1.22 2009/11/06 14:35:46 sthen Exp $
|
||||
|
||||
- default to using id3tag not id3v2
|
||||
- follow hier(7) not Linux FHS for options file location
|
||||
|
||||
--- get_iplayer.orig Sat Oct 24 18:03:56 2009
|
||||
+++ get_iplayer Sun Oct 25 19:52:53 2009
|
||||
@@ -305,10 +305,7 @@ if ( defined $ENV{GETIPLAYERUSERPREFS} && $ENV{GETIPLA
|
||||
--- get_iplayer.orig Fri Nov 6 10:15:08 2009
|
||||
+++ get_iplayer Fri Nov 6 14:31:24 2009
|
||||
@@ -311,17 +311,14 @@ if ( defined $ENV{GETIPLAYERUSERPREFS} && $ENV{GETIPLA
|
||||
# Options on unix-like systems
|
||||
} elsif ( defined $ENV{HOME} ) {
|
||||
$profile_dir = $opt_pre->{profiledir} || $ENV{HOME}.'/.get_iplayer';
|
||||
@ -14,10 +14,9 @@ $OpenBSD: patch-get_iplayer,v 1.21 2009/10/25 20:01:12 sthen Exp $
|
||||
- logger "WARNING: System-wide options in /etc/get_iplayer/options are now ignored, please use /var/lib/get_iplayer/options instead\n";
|
||||
- }
|
||||
+ $optfile_system = '${SYSCONFDIR}/get_iplayer/options';
|
||||
# Otherwise look for windows style file locations
|
||||
} elsif ( defined $ENV{USERPROFILE} ) {
|
||||
$profile_dir = $opt_pre->{profiledir} || $ENV{USERPROFILE}.'/.get_iplayer';
|
||||
@@ -319,7 +316,7 @@ mkpath $profile_dir if ! -d $profile_dir;
|
||||
}
|
||||
# Make profile dir if it doesnt exist
|
||||
mkpath $profile_dir if ! -d $profile_dir;
|
||||
|
||||
|
||||
# get list of additional user plugins and load plugin
|
||||
@ -26,7 +25,7 @@ $OpenBSD: patch-get_iplayer,v 1.21 2009/10/25 20:01:12 sthen Exp $
|
||||
my $plugin_dir_user = "$profile_dir/plugins";
|
||||
for my $plugin_dir ( ( $plugin_dir_user, $plugin_dir_system ) ) {
|
||||
if ( opendir( DIR, $plugin_dir ) ) {
|
||||
@@ -440,6 +437,7 @@ if ( ! keys %plugin_files ) {
|
||||
@@ -442,6 +439,7 @@ if ( ! keys %plugin_files ) {
|
||||
$opt->{pluginsupdate} = 1;
|
||||
}
|
||||
# Update this script if required
|
||||
@ -34,16 +33,16 @@ $OpenBSD: patch-get_iplayer,v 1.21 2009/10/25 20:01:12 sthen Exp $
|
||||
update_script() if $opt->{update} || $opt->{pluginsupdate};
|
||||
|
||||
|
||||
@@ -636,7 +634,7 @@ sub find_matches {
|
||||
@@ -638,7 +636,7 @@ sub find_matches {
|
||||
delete $binopts->{vlc};
|
||||
push @{ $binopts->{vlc} }, '-vv' if $opt->{debug};
|
||||
|
||||
- $bin->{id3v2} = $opt->{id3v2} || 'id3v2';
|
||||
+ $bin->{id3v2} = $opt->{id3v2} || 'id3tag';
|
||||
$bin->{AtomicParsley} = $opt->{AtomicParsley} || 'AtomicParsley';
|
||||
$bin->{atomicparsley} = $opt->{atomicparsley} || 'AtomicParsley';
|
||||
|
||||
$bin->{tee} = 'tee';
|
||||
@@ -3631,7 +3629,7 @@ sub tag_file {
|
||||
@@ -3637,7 +3635,7 @@ sub tag_file {
|
||||
my ( $id3_name, $id3_episode, $id3_desc, $id3_channel ) = ( $prog->{name}, $prog->{episode}, $prog->{desc}, $prog->{channel} );
|
||||
s|"|\\"|g for ($id3_name, $id3_episode, $id3_desc, $id3_channel);
|
||||
# Only tag if the required tool exists
|
||||
@ -52,7 +51,7 @@ $OpenBSD: patch-get_iplayer,v 1.21 2009/10/25 20:01:12 sthen Exp $
|
||||
main::logger "INFO: id3 tagging $prog->{ext} file\n";
|
||||
my @cmd = (
|
||||
$bin->{id3v2},
|
||||
@@ -5311,7 +5309,7 @@ sub optional_list_entry_format {
|
||||
@@ -5330,7 +5328,7 @@ sub optional_list_entry_format {
|
||||
# Returns the modes to try for this prog type
|
||||
sub modelist {
|
||||
my $prog = shift;
|
||||
|
Loading…
x
Reference in New Issue
Block a user