diff options
author | Pierre Cazenave <pwcazenave at gmail {dot} com> | 2010-08-14 17:17:31 -0400 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2010-08-14 17:17:31 -0400 |
commit | 93706b0534bcc801ce841014ed900cf7567da67f (patch) | |
tree | ce54555a7f72066b4e9b4a0660b57df0fe3664de /multimedia/get_iplayer/livetv-587146 | |
parent | b285681faa68625ef446a0aac579749076017a09 (diff) | |
download | slackbuilds-93706b0534bcc801ce841014ed900cf7567da67f.tar.gz |
multimedia/get_iplayer: Updated for version 2.78.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'multimedia/get_iplayer/livetv-587146')
-rw-r--r-- | multimedia/get_iplayer/livetv-587146 | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/multimedia/get_iplayer/livetv-587146 b/multimedia/get_iplayer/livetv-587146 new file mode 100644 index 0000000000..c9130d8b2c --- /dev/null +++ b/multimedia/get_iplayer/livetv-587146 @@ -0,0 +1,19 @@ +Description: slightly hacky way to get live tv working again + until the next proper release +Origin: http://git.infradead.org/get_iplayer.git/commit/029ea904233902002f8f9dd15cea6a9f52c4ba4f +Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=587146 + +--- get-iplayer-2.78.orig/get_iplayer ++++ get-iplayer-2.78/get_iplayer +@@ -6026,6 +6026,11 @@ + } elsif ( $verpid =~ /http:/ ) { + $xml = main::request_url_retry( $ua, $verpid, 3, undef, undef, 1 ); + main::logger "\n$xml\n" if $opt->{debug}; ++ if ( $xml =~ m{<mediator identifier=\"(.+?)\"} ) { ++ $verpid = $media_stream_data_prefix.$1; ++ main::logger "new verpid $verpid" if $opt->{debug}; ++ $xml = main::request_url_retry( $ua, $verpid, 3, undef, undef, 1 ); ++ } + @medias = parse_metadata( $xml ); + + # Could also use Javascript based one: 'http://www.bbc.co.uk/iplayer/mediaselector/4/js/stream/$verpid?cb=NNNNN |