These forums are archived

See this post for further info

get_iplayer forums

Forum archived. Posting disabled.

run_pvr_scheduler redirect

user-1400

Hello

I'd like to redirect the recording from the default folder when using the "Run PVR Scheduler" option.

Currently the line reads thus:

Quote:C:\Windows\System32\cmd.exe /k run_pvr_scheduler.cmd

The output arrives in C:\Users\{user}\Desktop\iPlayer Recordings as expected.

But I'd like to do something like this, so that the output is redirected:


Quote:C:\Windows\System32\cmd.exe /k run_pvr_scheduler.cmd > e:\

Is this possible?

Thank you.

user-2

No. You're confusing two unrelated things: downloading files and capturing the standard output stream from the batch file. Google can help you understand standard output. To change the location of downloaded files, set the output option in your pvr jobs, or use a preset with the desired settingĀ in your pvr jobs. Alternatively, you can alter the run_pvr_scheduler.cmd batch file to accept extra arguments by changing the last line:
Code:
"%GIP_INST%\get_iplayer.cmd" --pvrschedule 14400
to:
Code:
"%GIP_INST%\get_iplayer.cmd" --pvrschedule 14400 %*
Then you should be able to use:
Code:
C:\Windows\System32\cmd.exe /k run_pvr_scheduler.cmd --output C:\some\path
I haven't tried it, though.

These forums are archived

See this post for further info