These forums are archived

See this post for further info

get_iplayer forums

Forum archived. Posting disabled.

Some radio programmes won't record

Pages: 1 2 3 4

user-662

Hi,
I regularly record The Radcliffe and Maconie Show on BBC 6 Music and everything has gone fine up until recently. However, once last week and twice this week it has failed to record. I have tried it again and get the following message;

INFO: 2 Matching Programmes
INFO: Checking existence of default version
INFO: No specified modes (flashaachigh,flashaacstd,flashaudio,flashaaclow) avail
able for this programme with version 'default' (try using --modes=wma)
ERROR: Failed to record 'Radcliffe and Maconie - Russell Howard (b04tr6f4)'
INFO: Checking existence of default version
INFO: No specified modes (flashaachigh,flashaacstd,flashaudio,flashaaclow) avail
able for this programme with version 'default' (try using --modes=wma)
ERROR: Failed to record 'Radcliffe and Maconie - Neneh Cherry (b04ttmx2)'

I have tried recording using the --pid method but I get the same thing.

I use Windows 8.1

Any ideas?

user-515

I've been getting the same problem - it seems no programme from Radio 2 or 6 Music will download, although the pid is recognised. However, Radio 4, 5 Live and local stations are so far unaffected. Any ideas, DP or anyone else?

user-2

user-662

Quote:<div class="d4p-bbp-quote-title">Quote:</div>UPDATE

It works! Hooray! Great day in the morning!

Uninstalled the previous version and all its components. Reinstalled, dropped in the two patched files from DP at the link above and now Mickey Bradley is back. Christmas has come early. Thanks, guys!

Scott

Hi,
I have uninstalled the version I was using (2.9) and downloaded and installed the windows installer from here
https://github.com/get-iplayer/get_iplay...on#githead but I still seem to have the same problem. Scott (above) mentions 'dropped in the two patched files' but I'm not sure what those are and how to do it.
Thanks for your help so far.

user-515

DP, I think there may be two separate issues here. I was aware of the problem with the Celtic BBC local stations, which has been the case for a while. This current problem is more recent, and seems to affect national Radios 2 and 6Music only. It occurs whether one uses the PVR method or the PID method - the message is as Nimbus reports above.
If I uninstalled my existing Version 2.9 and reinstalled, would that be likely to sort it? I've been on the GitHead page as you suggest, but can't work out how to use it. If I need to do so, could you perhaps give me some pointers? Many thanks.

user-2

@nimbus: You're meant to follow the appropriate link UNDER the Git HEAD heading on that page for instructions on how to update your get_iplayer.pl script. The installer won't help.

@WPW: It's the same problem. Follow the instructions to update your get_iplayer.pl script. As I said above, the installer will not help.

user-662

Hi,
Right I'm with you now, thanks. I've followed the instructions on that page and replaced the get_iplayer.pl file in my C:\Program Files (x86) with one that I created from the Git HEAD page. I get this message when I run get_iplayer;
Code:
String found where operator expected at get_iplayer.pl line 2, near "PUBLIC """
        (Do you need to predeclare PUBLIC?)
String found where operator expected at get_iplayer.pl line 2, near """ """
        (Missing operator before  ""?)
syntax error at get_iplayer.pl line 2, near "PUBLIC """
BEGIN not safe after errors--compilation aborted at get_iplayer.pl line 58.

C:\Program Files (x86)\get_iplayer>



The instructions, here, confused me though as I could not find a get_iplayer.pl.bak file

2.Back up and replace existing CLI (requires admin privileges)
Code:
copy "C:\Program Files\get_iplayer\get_iplayer.pl" get_iplayer.pl.bak
copy get_iplayer.pl "C:\Program Files\get_iplayer\get_iplayer.pl"




Thank you

user-515

I'm halfway there, but as a 66-year-old non-programmer need some further guidance! I've managed to save the two GitHead text files, but am not sure how to back up and replace the existing CLI and WPM. Should I type the two lines of instruction in the command line? If so, do I include the word "copy" or is that just for my reference? Is there a space between the two lines (between 'bak' and 'copy')? And do I have admin privileges?

Or is it just a matter of replacing the old get_iplayer.pl and get_iplayer.cgi files with the new ones by simple cut and paste, as I believe Nimbus has done?

Any help from anybody appreciated. Many thanks.

user-30

Some answers...

@nimbus Firstly, select/highlight any code snippets you post here in the new reply box (using the mouse) and then hit the 'code' button. This will tell the site to treat your text as code, format it nicely and stop it getting mangled by escaping or altering some characters.

Secondly...You wouldn't be able to find that file because it is a file you create, which leads me on to...

@WPW Yes. You put those commands in their entirety into the command line. You do one after the other. The basic syntax of the first command means:

Code:
COPY the file "InputFileName.cgi" to the file OutputNewFilename.cgi.bak

What you have done is copy the
Code:
get_iplayer.cgi
file to a new one named
Code:
get_iplayer.cgi.bak


Code:
.bak
is just a convention for saying this is a backup file, the extension doesn't really mean anything specific. This syntax gets shortened in 'command line speak' to:

Code:
copy "C:\Program Files\get_iplayer\get_iplayer.cgi" get_iplayer.cgi.bak

Then you overwrite the original
Code:
get_iplayer.cgi
file by copying the new one over the original:

Code:
copy get_iplayer.cgi "C:\Program Files\get_iplayer\get_iplayer.cgi"

KEY POINT - you use these commands when the 'working directory' is the one where you downloaded the relevant files. The 'working directory' means the one you are currently in. Think of having an explorer window open and the folder 'My Documents' open and displaying in the window. The 'My Documents' folder would be called the 'working directory'.

A cmd prompt window can also move around to different directories using the
Code:
cd
(change directory) command. Alternatively you can usually right mouse click on a graphical explorer window and choose the option 'open cmd prompt here'. So, in the guide, when it says to download to the 'working directory' that means you want to make sure that the directory 'open' in the cmd prompt window is the same one where the files are located.

If you're not familiar moving around on the command line, use the graphical explorer window to get to the right directory and then use the right click and 'open cmd prompt here' trick.

Notice in the above example how for the original
Code:
get_iplayer.cgi
file we specify the exact path to it? That's because it's not in the working directory, it's in its original folder, so to copy from or over it we need to specify its exact path. When you don't specify a path to a file, the cmd prompt assums that you are talking about a file in the current working directory or that you want the output (e.g. the .bak file) to be saved to the working directory.

Hope that clears things up.

user-515

Thanks DP for swift and detailed response. Quite a lot to absorb, but I'll have a go and report back success or failure (I'll bet you're looking forward to that...)

user-515

Sorry I meant SP!

user-515

Right, almost there, you'll be glad to hear. I've copied the first file in each case, for CLI and WPM - the back-ups. But when I try to copy the second file (.pl and .cgi) the message for both is "the file cannot be copied onto itself". Obviously a basic error, but beyond me to correct at this point. Help!

user-30

I can guess at the problem you're facing but if you are running into a problem when running a command, you must post it and details of what exactly you did before the error occured if you are to stand any chance of getting help. This is because we aren't able to stand over your shoulder and see what you are doing, so we must attempt to recreate the problem on our end.

Many thanks!

user-611

Having read the instructions on this and the github page; I too am having difficulty getting this to work correctly.

I downloaded the new .pl file in a plain text file to the same Get_iPlayer location of
Code:
C:\Program Files (x86)\get_iplayer

I've copied the original get_iplayer.pl file to a new .bak file.

As stated above,
Code:
copy get_iplayer.pl "C:\Program Files (x86)\get_iplayer\get_iplayer.pl"
gives a message saying it can't be copied onto itself, so I tried changing the command to
Code:
copy get_iplayer.txt

This looks like the file does get copied, but during the process it asks me "Overwrite Yes/No/All?" I answer Yes, and then when I try to download radio show I get errors, which you can see the PL.txt file I've uploaded.

user-515

Fair enough - I had actually already read the blog post in question, and was doing my best to be as concise and informative as possible, having first made sure that this particular problem was not dealt with elsewhere. Thanks also for pointing me towards Simon's T's essay.

My command was `copy get_iplayer.pl "C:Program Files (x86)\get_iplayer\get_iplayer.pl". The message was 'the file cannot be copied onto itself'. My new .pl file downloaded from GitHead is in My Documents; the old one is in C:\Program Files (x86). Both of those folders are open and minimised.

Ditto all of the above with get_iplayer.cgi.

Hope that's OK - not sure what else I can tell you!

user-2

I have added some instructions to

https://squarepenguin.co.uk/wiki/install...itheadwin/

that will hopefully make it more obvious where people are going wrong.

user-585

Rather than using the command line, you can try manually copying the file from My Documents into it's place in
Code:
C:Program Files (x86)\get_iplayer\get_iplayer
You also need to make sure it is a .pl file and NOT a .txt file. And the same for the .cgi.

user-30

@user-2 I just tested this on Windows 8.1 and ran into an issue of admin priviledges needed to copy the file. Not sure if that's something to do with my setup or if that's an 8.1 thing?

user-611

Quote:<div class="d4p-bbp-quote-title">Quote:</div>Rather than using the command line, you can try manually copying the file from My Documents into it’s place in
Code:
C:Program Files (x86)\get_iplayer\get_iplayer
You also need to make sure it is a .pl file and NOT a .txt file. And the same for the .cgi.

This sounded like the simplest answer, and I tried it before anything else which resulted in a weird message when I started GI.

Code:
Bareword found where operator expected at get_iplayer.pl line 10, near "<p>The"
        (Missing operator before The?)
Bareword found where operator expected at get_iplayer.pl line 11, near "<p>You"
        (Missing operator before You?)
Bareword found where operator expected at get_iplayer.pl line 12, near "<address
>Generated"
        (Missing operator before Generated?)
syntax error at get_iplayer.pl line 4, near "<"
Unknown regexp modifier "/r" at get_iplayer.pl line 10, at end of line
Unknown regexp modifier "/w" at get_iplayer.pl line 10, at end of line
Execution of get_iplayer.pl aborted due to compilation errors.

C:\Program Files (x86)\get_iplayer>

user-662

Hi,
Thanks for all your help so far. I noticed that instructions had changed. I feel like I'm getting there.

I tried the simple copy and paste method that tvfan suggested, as it seemed the simplest method that I could think of. However, that didn't work for me (although I was asked for confirmation as per admin privilages).

I then created some new .pl and .cgi files in a new folder at C:\Test to try again. I opened a command prompt in Windows 8.1 and pasted the following;

Code:
cd "C:\Test"
copy "C:\Program Files (x86)\get_iplayer\get_iplayer.pl" get_iplayer.pl.bak
copy get_iplayer.pl "C:\Program Files (x86)\get_iplayer\get_iplayer.pl"



The outcome was;

Code:
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.

C:\Users\Steven>cd "C:\Test"

C:\Test>copy "C:\Program Files (x86)\get_iplayer\get_iplayer.pl" get_iplayer.pl.
bak
        1 file(s) copied.

C:\Test>copy get_iplayer.pl "C:\Program Files (x86)\get_iplayer\get_iplayer.pl"



I now have a .bak file in my test folder but interestingly this 'new' get_iplayer.pl file in my main get_iplayer folder is timed at 14/12/14 14:02 (the clean install that I did earlier this afternoon) I actually ran the command prompt at approx. 14/12/14 16:30. So I'm not sure it was a complete success. I did the same with the .cgi file and that had the same outcome.

I then tried to download one of the radio shows that I was having problems with but still no success.

Thank you for all your help, it is greatly appreciated.
Pages: 1 2 3 4

These forums are archived

See this post for further info