I would like to use the commandline audio ripper abcde to:
- Rip audio cds to mp3
- Download and then embed the appropriate album art
Can someone show me an example of how to accomplish this under both Trusty Tahr LTS and Xenial Xerus LTS?
Full disclosure: I was formerly one of the maintainers of abcde.
For both Trusty and Xenial it is a good idea to use one of the multimedia PPAs of mc3man to get the most modern abcde available:
1. Installation for Trusty:
Add the following PPA and some required packages:
2. Installation for Xenial:
Add the following PPA and some required packages:
3. Running abcde for Trusty or Xenial:
You can use a customised
~/.abcde.conf
file to get quality mp3 files as well as album art but if you just want to use the commandline simply use the following, under either Trusty or Xenial:This will find the album art and download it next to your mp3 files which will be encoded to Variable Bitrate with bitrate averaging between 170-210 kbps. What more could you want?
4. Embed the album art?
Well, you could want to actually embed the cover image into your mp3 files. To do this simply change to the directory that holds your mp3s and the cover image and run the following:
And now you are done :)
References: