A message from Auntie

Timothy tmthywynn8 at aol.com
Fri Oct 31 09:30:53 PDT 2014


Roger Bell_West <roger at firedrake.org> wrote:
> On Fri, Oct 31, 2014 at 09:08:26AM -0000, Trevor Campbell Davis wrote:
>> It’s a pain, but I can easily manually source the PIDs of the
>> programmes that I want on a daily basis.  What I don’t want (or have
>> time) to do is to manually enter single command line instructions for
>> each programme when the previous one has finished downloading.  So a
>> script (resembling a queue) where I can enter multiple PIDs for
>> automatic sequential download would be really helpful.
>
> At the most basic level, you can just use the shell (this is for
> bash):
>
> for P in b00hslb0 b04mb11l b04mb6ck; do get_iplayer --type radio --metadata
> generic --pid $P --get; done

Windows works similar to this:
for %P in (b00hslb0 b04mb11l b04mb6ck) do get_iplayer --type radio --metadata 
generic --pid %P

I think this also works too:
get_iplayer --type radio --metadata generic --get pid:b00hslb0 pid:b04mb11l 
pid:b04mb6ck
but haven't tested it.

Timothy 




More information about the get_iplayer mailing list