Discussion:
Recordings folder changed
Graham Temple Personal
2017-10-30 14:22:06 UTC
Permalink
I have just installed 3.06 (thanks again to dinky and all those who keep
this brilliant tool working). In the process it has reset the output folder
to the default "iPlayer Recordings" located on my desktop. I don't recall
this happening before on updates, but never mind. I have followed up the
various help sections to reset the path and I know the path I need is:
C:\Users\graham.temple\Desktop\New folder and if I paste this into the
"Override Recordings Folder" on the PVR it works just fine, but I have a
problem if I try and change the preferences on get_iplayer itself as before
I can type anything in the get_iplayer command box the text U:\> is always
showing first. So if I add get_iplayer --prefs-add --output
"C:/Users/graham.temple/Desktop/New folder/" which I believe is the correct
command I then get the following error message if I try and record anything:

ERROR: Could not create dir 'U:\C:\Users\graham.temple\Desktop\New folder':
mkdir U:\C:\: Invalid argument; The filename, directory name, or volume
label syntax is incorrect at C:\Program Files
(x86)\get_iplayer\get_iplayer.pl line 3075.

The trouble is I cannot delete the U:\> to replace it with C:\> followed by
get_iplayer --prefs-add --output "/Users/graham.temple/Desktop/New folder/"
which would I believe provide the correct result.

I do have a U drive and if I just add get_iplayer --prefs-add --output
"/Users/graham.temple/Desktop/New folder/" in front of the U:\> I get a new
folder tree created on the U drive which I don't want at all.

Now I know I have a solution by using the PVR and the Override Recordings
Folder box, but I would really have liked to get it right by adding the
correct prefs-add. No doubt some of you will notice that my desired output
folder is in the same location as the default one, just differently named
(the very original "New Folder") but a) with the messing about the default
no longer works and b) I do have a reason however small for the folder of my
choice.

Any ideas you wonderful people?

Regards

Graham
Chris Marriott
2017-10-30 14:29:02 UTC
Permalink
This post might be inappropriate. Click to display it.
Graham Temple Personal
2017-10-30 17:58:31 UTC
Permalink
This post might be inappropriate. Click to display it.
Jeremy Nicoll - ml gip
2017-10-31 11:07:33 UTC
Permalink
Post by Graham Temple Personal
Thanks Chris, but that only brings back the same results.
In that options file there is the single text line - output
/Users/graham.temple/Desktop/New folder/ but that saves the recordings to
the U drive. If I amend it to read - output
/C:/Users/graham.temple/Desktop/New folder/ then I again get the error
message ...
Apart from the forward slashes / back slash issue, note that if the
place
to save something is

/Users/graham.temple/Desktop/New folder/

or indeed anything starting with a slash (or backslash) it means that
path
on the current disk drive... because there's no A:\ or B:\ or C:\ ... at
the
start.

Something else you'd done might have changed the "current drive" to U:\,
and
many commands would ok with that because they'd work out for themselves
which
drive to use (and choose C:\ perhaps because that's (probably) where you
have
Windows installed). But when some process comes along that uses the
definition
you provide and that definition is vague (no specific drive mentioned)
what
happens depends on consequences of previous commands.

When you tried to change it to

/C:/Users/graham.temple/Desktop/New folder/

that meant - because it started with a slash - a folder called

"/C:/Users/graham.temple/Desktop/New folder/"

which is an illegal folder name because after that first slash there's
colons
present, which are expected to be at the front after a disk letter. It
would
probably have worked fine if you'd actually used

C:/Users/graham.temple/Desktop/New folder/

ie no initial slash.

This is not a g_ip problem, as such.
--
Jeremy Nicoll - my opinions are my own
Graham Temple Personal
2017-10-30 18:22:33 UTC
Permalink
The /'s instead of the \'s you mean?

I did that because of something I read in the help documentation, but it
obviously wasn't the correct thing to do because I have followed your advice
reversed the slashes and it now works beautifully!

Another one solved - sorry to be so thick. I presume the direction of the
slashes is dependent on the type of operating system is it?

Many thanks Timothy.

GT

-----Original Message-----
From: Timothy [mailto:***@gmail.com]
Sent: 30 October 2017 18:15
To: Graham Temple Personal
Subject: Re: Recordings folder changed

On Monday, October 30, 2017 10:22 AM, "Graham Temple Personal"
<***@gmail.com> wrote:
[SNIP]
Post by Graham Temple Personal
So if I add get_iplayer --prefs-add --output
"C:/Users/graham.temple/Desktop/New folder/" which I believe is the
correct command I then get the following error message if I try and
Is there a reason why you're not using this line in your options file:
output C:\Users\graham.temple\Desktop\New folder After all, it does look
like you're on Windows, and should be using Windows path conventions.
Post by Graham Temple Personal
get_iplayer --prefs-add --output "C:\Users\graham.temple\Desktop\New
folder"
should work also.

Timothy
Nick Payne
2017-10-30 19:22:33 UTC
Permalink
Out of curiosity I changed the drive letter for my external backup drive
to U: and then ran the get_iplayer command to change the output folder
in the options file (GiP 3.06 on Windows 10)

D:\Users\Nick>get_iplayer --prefs-add
--output="C:\Users\graham.temple\Desktop\New folder"
INFO: Changed option 'output' from 'D:\Users\Nick\Videos\iplayer' to
'C:\Users\graham.temple\Desktop\New folder'
INFO: Options file C:\Users\Nick\.get_iplayer\options updated

and when I checked the options file the output line had been changed
correctly

output C:\Users\graham.temple\Desktop\New folder

and I was able to also change it back to my normal default without
problem. Windows uses backslashes rather than forward slashes for
delineating paths. What happens if you issue the command using backslashes?

Nick
Loading...