get_iplayer forums

Automatically deleting m4a files after conversion? - Printable Version

+- get_iplayer forums (https://forums.squarepenguin.co.uk)
+-- Forum: Off-Topic (https://forums.squarepenguin.co.uk/forum-23.html)
+--- Forum: Converting Radio Programmes to MP3 (https://forums.squarepenguin.co.uk/forum-24.html)
+---- Thread: Automatically deleting m4a files after conversion? (https://forums.squarepenguin.co.uk/thread-1171.html)



Automatically deleting m4a files after conversion? - amrobilal - 13-02-2017

get_iplayer 2.99.0. Windows 10. get_iplayer output directory is on my local hard drive.

How can I tell get_iplayer to automatically delete the original m4a radio file after conversion to mp3 is complete please? I've searched the guides for an answer but to no avail. Here's below an example of the command line I'm using:

get_iplayer --get 16793 --command-radio="ffmpeg -i \""<filename>"\" -c:v copy -c:a libmp3lame -b:a 320k -id3v2_version 3 -write_id3v1 1 -y \""<dir>/<fileprefix>.mp3"\""

I've read the answer at

https://squarepenguin.co.uk/forums/thread-1155.html

but I'm afraid I couldn't make heads or tails of it. Could you tell me how exactly I need to change the above command line to delete m4a files after convertion? Thanks.

Amro


RE: Automatically deleting m4a files after conversion? - dinky - 13-02-2017

Variable bit rate:

https://github.com/get-iplayer/get_iplayer/wiki/aactomp3#aactomp3-vbr-all

Constant bit rate:

https://github.com/get-iplayer/get_iplayer/wiki/aactomp3#aactomp3-cbr-all


RE: Automatically deleting m4a files after conversion? - amrobilal - 13-02-2017

Works a treat! Many thanks for your help.