Re: Can't download _any_ TV programmes even with patched script
On 28/07/11 18:46, zaphod wrote: I found I had to delete the .swfinfo file as well, which is in "C:\Documents and Settings\username" on XP I put the old one back and it broke again old one is: url: http://www.bbc.co.uk/emp/revisions/18269_21576_10player.swf ctim: Wed, 27 Jul 2011 03:53:59 GMT date: Thu, 14 Apr 2011 13:59:26 GMT size: 000f9c9b hash: 756ef5b1b33f59e88680ba06bcbc967e34468c82119df9e3789965513e7e57f5 and the new one: url: http://www.bbc.co.uk/emp/revisions/18269_21576_10player.swf ctim: Thu, 28 Jul 2011 10:47:57 GMT date: Thu, 14 Apr 2011 13:59:26 GMT size: 000f9c9b hash: 756ef5b1b33f59e88680ba06bcbc967e34468c82119df9e3789965513e7e57f5 I think I already had the amended script as I got it for the --acctomp3 switch (much appreciated) several days ago before the problem occured but I'm not entirely certain of that, it all got rather confusing - Original Message - From: "Chris Marriott" To: "Nigel Taylor" Cc: "get_iplayer" Sent: Thursday, July 28, 2011 5:55 PM Subject: Re: Can't download _any_ TV programmes even with patched script >Hi, The new URL to use is :- http://www.bbc.co.uk/emp/revisions/18269_21576_10player.swf?revision=18269_21576 Looks like you haven't installed the get_iplayer patch correctly go to here - for instructions https://github.com/dinkypumpkin/get_iplayer/wiki/instructions Regards Nigel Taylor Thank, Nigel. Well that was DAMNED strange. I'd downloaded the edited script correctly and using Windows Explorer to copy it to "C:\Program Files (x86)\get_iplayer". When I opened it in "notepad" it showed the correct, edited, version of the script. But when it ran it was still using the old version of the script! I have a vague memory that when you try to amend a file in "Program Files", Windows 7 actually makes a copy of the file to some other location, and makes it appear to be in "Program Files" - I think that's what's going on here. In the end I ran my editor as "Administrator", opened the downloaded file and saved it in the "get_iplayer" directory, and then it FINALLY "stuck" and my downloads are now working again. Very frustrating! Thanks again, all. Chris ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer The latest scrip solves all issues here in openSUSE Linux 11.4 It's in /usr/bin Which probably the case for most distributions, but check. Just rename the existing file get_iplayer to get_iplayer.bak Move the new file in place and do: sudo chmod a+x get_iplayer As a note, just be careful when you copy the script from the browser to your text editor that it doesn't throw an extra line in at the top. ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer
Re: Can't download _any_ TV programmes even with patched script
I found I had to delete the .swfinfo file as well, which is in "C:\Documents and Settings\username" on XP I put the old one back and it broke again old one is: url: http://www.bbc.co.uk/emp/revisions/18269_21576_10player.swf ctim: Wed, 27 Jul 2011 03:53:59 GMT date: Thu, 14 Apr 2011 13:59:26 GMT size: 000f9c9b hash: 756ef5b1b33f59e88680ba06bcbc967e34468c82119df9e3789965513e7e57f5 and the new one: url: http://www.bbc.co.uk/emp/revisions/18269_21576_10player.swf ctim: Thu, 28 Jul 2011 10:47:57 GMT date: Thu, 14 Apr 2011 13:59:26 GMT size: 000f9c9b hash: 756ef5b1b33f59e88680ba06bcbc967e34468c82119df9e3789965513e7e57f5 I think I already had the amended script as I got it for the --acctomp3 switch (much appreciated) several days ago before the problem occured but I'm not entirely certain of that, it all got rather confusing - Original Message - From: "Chris Marriott" To: "Nigel Taylor" Cc: "get_iplayer" Sent: Thursday, July 28, 2011 5:55 PM Subject: Re: Can't download _any_ TV programmes even with patched script >Hi, The new URL to use is :- http://www.bbc.co.uk/emp/revisions/18269_21576_10player.swf?revision=18269_21576 Looks like you haven't installed the get_iplayer patch correctly go to here - for instructions https://github.com/dinkypumpkin/get_iplayer/wiki/instructions Regards Nigel Taylor Thank, Nigel. Well that was DAMNED strange. I'd downloaded the edited script correctly and using Windows Explorer to copy it to "C:\Program Files (x86)\get_iplayer". When I opened it in "notepad" it showed the correct, edited, version of the script. But when it ran it was still using the old version of the script! I have a vague memory that when you try to amend a file in "Program Files", Windows 7 actually makes a copy of the file to some other location, and makes it appear to be in "Program Files" - I think that's what's going on here. In the end I ran my editor as "Administrator", opened the downloaded file and saved it in the "get_iplayer" directory, and then it FINALLY "stuck" and my downloads are now working again. Very frustrating! Thanks again, all. Chris ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer
Re: Can't download _any_ TV programmes even with patched script
-Original Message- From: Chris Marriott Sent: Thursday, July 28, 2011 5:55 PM To: Nigel Taylor Cc: get_iplayer Subject: Re: Can't download _any_ TV programmes even with patched script I have a vague memory that when you try to amend a file in "Program Files", Windows 7 actually makes a copy of the file to some other location, and makes it appear to be in "Program Files" - I think that's what's going on here. Yes, I've confirmed that's what was happening. I was copying the revised script to: C:\Program Files (x86)\get_iplayer and it was showing up there in Windows Explorer, opening with Notepad, etc, and seemingly all OK, but in reality the revised script was being stored in: C:\Users\Chris\AppData\Local\VirtualStore\Program Files (x86)\get_iplayer and obviously whatever mechanism Perl uses to open files, it doesn't recognise this redirection mechanism. In order to REALLY copy files to Program Files you need to do so using something with Admin privileges. Anyway, all OK now. Just thought this might be of interest to other Windows 7 users. Chris ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer
Re: Can't download _any_ TV programmes even with patched script
Hi, The new URL to use is :- http://www.bbc.co.uk/emp/revisions/18269_21576_10player.swf?revision=18269_21576 Looks like you haven't installed the get_iplayer patch correctly go to here - for instructions https://github.com/dinkypumpkin/get_iplayer/wiki/instructions Regards Nigel Taylor Thank, Nigel. Well that was DAMNED strange. I'd downloaded the edited script correctly and using Windows Explorer to copy it to "C:\Program Files (x86)\get_iplayer". When I opened it in "notepad" it showed the correct, edited, version of the script. But when it ran it was still using the old version of the script! I have a vague memory that when you try to amend a file in "Program Files", Windows 7 actually makes a copy of the file to some other location, and makes it appear to be in "Program Files" - I think that's what's going on here. In the end I ran my editor as "Administrator", opened the downloaded file and saved it in the "get_iplayer" directory, and then it FINALLY "stuck" and my downloads are now working again. Very frustrating! Thanks again, all. Chris ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer
Re: Can't download _any_ TV programmes even with patched script
On 07/28/11 16:57, Chris Marriott wrote: > I reported yesterday that installing the "swfurl" patch had fixed my download > problems, but I spoke too soon. I've downloaded the latest full script from > "github", but I'm still unable to download anything. At about the 250s mark > into any programme I get: > > ERROR: RTMP_HashSWF: couldn't contact swfurl > http://www.bbc.co.uk/emp/10player.swf?revision=18269_21576 (HTTP error 301) > > the download resumes, but quickly fails with various errors about headers. > I'm using RTMPDump 2.3 on Windows. > > The same error occurs with both "flashhigh" and "flashhigh2". > > As you see from the error message, I have the version of the script with the > patched swfurl. > > Anyone have any ideas as to a solution? > > Thanks! > > Chris > > > ___ > get_iplayer mailing list > get_iplayer@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/get_iplayer > Hi, The new URL to use is :- http://www.bbc.co.uk/emp/revisions/18269_21576_10player.swf?revision=18269_21576 Looks like you haven't installed the get_iplayer patch correctly go to here - for instructions https://github.com/dinkypumpkin/get_iplayer/wiki/instructions Regards Nigel Taylor ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer
Re: Can't download _any_ TV programmes even with patched script
On 28/07/2011 16:57, Chris Marriott wrote: I reported yesterday that installing the "swfurl" patch had fixed my download problems, but I spoke too soon. I've downloaded the latest full script from "github", but I'm still unable to download anything. At about the 250s mark into any programme I get: ERROR: RTMP_HashSWF: couldn't contact swfurl http://www.bbc.co.uk/emp/10player.swf?revision=18269_21576 (HTTP error 301) As Ed pointed out, if your copy of get_iplayer is still attempting to access: http://www.bbc.co.uk/emp/10player.swf?revision=18269_21576 then you don't have the latest version of either my fork on github or the infradead version (which both have the same patch for this issue). Download again, or see Steve Anderson's reply for the quick hack you need. It really is a one-line fix. ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer
Re: Can't download _any_ TV programmes even with patched script
that doesn't appear to be the latest version, as you can see rtmpdump is trying to download the old swf again (the url you patched previously). On 28 July 2011 16:57, Chris Marriott wrote: > I reported yesterday that installing the "swfurl" patch had fixed my > download problems, but I spoke too soon. I've downloaded the latest full > script from "github", but I'm still unable to download anything. At about > the 250s mark into any programme I get: > > ERROR: RTMP_HashSWF: couldn't contact swfurl > http://www.bbc.co.uk/emp/10player.swf?revision=18269_21576 (HTTP error 301) > > the download resumes, but quickly fails with various errors about headers. > I'm using RTMPDump 2.3 on Windows. > > The same error occurs with both "flashhigh" and "flashhigh2". > > As you see from the error message, I have the version of the script with the > patched swfurl. > > Anyone have any ideas as to a solution? > > Thanks! > > Chris > > > ___ > get_iplayer mailing list > get_iplayer@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/get_iplayer > ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer
Re: Can't download _any_ TV programmes even with patched script
On 28 July 2011 16:57, Chris Marriott wrote: > I reported yesterday that installing the "swfurl" patch had fixed my > download problems, but I spoke too soon. I've downloaded the latest full > script from "github", but I'm still unable to download anything. At about > the 250s mark into any programme I get: > > ERROR: RTMP_HashSWF: couldn't contact swfurl > http://www.bbc.co.uk/emp/10player.swf?revision=18269_21576 (HTTP error 301) 301 is a redirect header. Try visiting that URL given and it immediately redirects here: http://www.bbc.co.uk/emp/revisions/18269_21576_10player.swf?revision=18269_21576 Try replacing the swfUrl variable with that - it should work. I did something similar a while ago and it fixed my woes. Steve -- Irregular Shed - http://www.twindx.co.uk ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer
Can't download _any_ TV programmes even with patched script
I reported yesterday that installing the "swfurl" patch had fixed my download problems, but I spoke too soon. I've downloaded the latest full script from "github", but I'm still unable to download anything. At about the 250s mark into any programme I get: ERROR: RTMP_HashSWF: couldn't contact swfurl http://www.bbc.co.uk/emp/10player.swf?revision=18269_21576 (HTTP error 301) the download resumes, but quickly fails with various errors about headers. I'm using RTMPDump 2.3 on Windows. The same error occurs with both "flashhigh" and "flashhigh2". As you see from the error message, I have the version of the script with the patched swfurl. Anyone have any ideas as to a solution? Thanks! Chris ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer