On 1 April 2011 08:26, Shevek <she...@shevek.co.uk> wrote: > On 1 April 2011 08:20, Shevek <she...@shevek.co.uk> wrote: >> On 31 March 2011 21:40, Shevek <she...@shevek.co.uk> wrote: >>> A new patch - >> >> Hold fire - this breaks video downloads. >> >> It looks like video downloads also have the ext set to AAC for some >> reason so changing it to M4A has broken it :( >> > > I've done some debugging. > > Not sure what is happening > > Video EXT is set to mp4 > > but this line is changing it to m4a: > > $prog->{ext} = 'm4a' if $prog->{ext} = 'aac'; > > why? >
I have tried this: main::logger("BEFORE: File ext = $prog->{ext}\n"); if ( $prog->{ext} == 'aac' ) { $prog->{ext} = 'm4a' }; main::logger("AFTER: File ext = $prog->{ext}\n"); and the ouput is this: BEFORE: File ext = mp4 AFTER: File ext = m4a ?????? _______________________________________________ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer