[PATCH] Output AAC as M4A for iTunes with metadata tags (Shevek)

Shevek shevek at shevek.co.uk
Thu Mar 31 15:37:11 EDT 2011


On 31 March 2011 20:33, Roger Burton West <roger at firedrake.org> wrote:
> On Thu, Mar 31, 2011 at 08:22:26PM +0100, Shevek wrote:
>>What am I doing wrong?
>
> You can't use shell functions (such as pipe) with the list-form
> invocation of system().

I thought it would be something like that. Thanks for the confirmation.

>
> Easiest option (though it's vulnerable to shellmetas showing up in
> filenames) is probably to do it all in one string: set $cmd instead of
> @cmd and system($cmd).

I'll look into this

>
> Slightly harder but more secure option would be to do it in two stages
> using a tmpfile - or to build your own pipework to join the two
> processes.
>

heh, I was trying to do it this way to avoid doing it in 2 stages :)



More information about the get_iplayer mailing list