Automatically deleting m4a files after conversion?
#1
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
#2
Variable bit rate:

https://github.com/get-iplayer/get_iplay...p3-vbr-all

Constant bit rate:

https://github.com/get-iplayer/get_iplay...p3-cbr-all
#3
Works a treat! Many thanks for your help.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Examples of converting radio programmes to MP3 and automatically deleting M4A file dinky 0 3,491 13-02-2017, 07:54 PM
Last Post: dinky