Can watch iPLayer but not use get_iplayer?

dinkypumpkin dinkypumpkin at gmail.com
Fri Apr 15 11:12:37 EDT 2011


On 15/04/2011 15:22, dinkypumpkin wrote:
> It looks like the BBC has relocated the flash player file referenced in
> the URL above, but rtmpdump doesn't interpret the 301 response code to
> go the new location. I was hitting this last night, but it didn't kill
> downloads on radio programmes, just tv. That's not really a scientific
> conclusion, though. I managed to get past it by replacing this:
>
> http://www.bbc.co.uk/emp/10player.swf?revision=18269_21576
>
> with this:
>
> http://www.bbc.co.uk/emp/revisions/18269_21576_10player.swf?revision=18269_21576
>
>
> in the get_iplayer script. Not sure if that's a real solution at this
> point. I think this may have happened before in days of yore - someone
> here may remember.

For anyone who wants to try this, the patch below shows the context 
where the change needs to be made.  So far I've only found it necessary 
for flashhd mode downloads, and I'm not sure why that is.  For other 
programmes, the error message above appears, but the download completes.

---
diff --git a/get_iplayer b/get_iplayer
index 433267d..b173205 100755
--- a/get_iplayer
+++ b/get_iplayer
@@ -5852,7 +5852,7 @@ sub get_stream_data_cdn {
  		# Common attributes
  		# swfurl = Default iPlayer swf version
  		my $conn = {
-			swfurl		=> "http://www.bbc.co.uk/emp/10player.swf?revision=18269_21576",
+			swfurl		=> 
"http://www.bbc.co.uk/emp/revisions/18269_21576_10player.swf?revision=18269_21576",
  			ext		=> $ext,
  			streamer	=> $streamer,
  			bitrate		=> $mattribs->{bitrate},
-- 



More information about the get_iplayer mailing list