Re: Can't download _any_ TV programmes even with patched script

2011-07-28 Thread zaphod

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

2011-07-28 Thread Chris Marriott
-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

2011-07-28 Thread Chris Marriott

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

2011-07-28 Thread Nigel Taylor
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

2011-07-28 Thread dinkypumpkin

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

2011-07-28 Thread Ed
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

2011-07-28 Thread Steve Anderson
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

2011-07-28 Thread Chris Marriott
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


Re: [PATCH] updated URL for BBC flash player, added --swfurl

2011-07-28 Thread dinkypumpkin

On 28/07/2011 03:07, Chun Hei Lau wrote:

Hi,
How to apply your patch onto the windows installer version of get_iplayer?
I've tried hundreds of times but still failed.
I can't download any programs on bbc iplayer now (failed after 2 or 3
minutes) so your advice is very important for me.
I look forward to hearing your reply.

Yours,
Marco


First, if your query is about something that appeared on the mailing 
list, please post to the list.  That's your best chance of finding 
someone who can help.  This reply is also going to the list.


Second, if you're having a problem, provide specifics.  I would question 
your sanity if you've really tried to apply the same patch hundreds of 
times, so less hyperbole and more information, please.  Patches may 
become obsolete or may be based on a version of get_iplayer different 
from yours - there are many variables.  If you're unsure about patching 
in general, Google is your friend.


Patches are not the best way to communicate changes to a list of 
(mostly) non-developers, but they may be useful to those who know what 
to do with them.  Fortunately, there is no need to apply patches to 
solve your problem.  With the recent changes at the BBC end, the best 
way to be sure you have a working get_iplayer is to retrieve an 
up-to-date version from one of the available git repositories.  See:


https://github.com/dinkypumpkin/get_iplayer/wiki/instructions

The infradead.org repository has the fix you (and everyone else) needs. 
 My fork has all the infradead.org patches plus all other patches that 
have appeared on the list.


___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer