Live tv streams not working
Holger Rabbach
hrabbach at fablemail.com
Wed Jun 23 06:28:32 EDT 2010
seems to work quite well here, thanks :)
On 22/06/2010 17:52, David Woodhouse wrote:
> Does this work?
>
> diff --git a/get_iplayer b/get_iplayer
> index 5f0298f..4a06742 100755
> --- a/get_iplayer
> +++ b/get_iplayer
> @@ -6062,6 +6062,11 @@ sub get_stream_data {
> } 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
>
>
>
More information about the get_iplayer
mailing list