get_iplayer and Windows batch files
shevek at shevek.co.uk
Sun Jan 15 18:32:36 EST 2012
On 15 January 2012 23:30, Shevek <shevek at shevek.co.uk> wrote:
> On 15 January 2012 17:55, Clive <clivebuc at gmail.com> wrote:
>> I use get_iplayer at the prompt in both Windows and Linux. In Windows, I
>> have tried using batch files in the past - when I wamt a number of d/l and
>> want to automate them. I have found that it does not work. The batch file
>> runs get_iplayer and the first item is duly d/l but then I am returned to
>> the command prompt and the second and subsequent batch lines never run. Is
>> there a way to use get_iplayer from batch files (or from the Linux
>> equivalent) for multiple items?
> I have a batch script set up to run daily using Windows task manager.
> The trick is that by default .pl files are not associated to anything
> under windows (they are, I assume, under Linux) so you have to
> actually call perl.exe and pass get_iplayer.pl as an argument and then
> the arguments for get_iplayer.
> This is my script which downloads multiple programmes of both TV and
> Radio. When I want to add anything I simply add it to the list at line
> 4 for TV and line 6 for Radio:
In case any mail clients munged that text, it can be found here:
More information about the get_iplayer