The script should be launched from the directory that contains the mp3 files. eye3D is very useful for this purpose as it doesn't seem to re-encode audio and using the -to-v2.4 flag handles any mp3 files, no matter the type of id3 tag. OP states that he would prefer if the cover is downloaded from the web, and I just wrote a pretty okay script for that using eye3D and sacad, both installable from pip. There are several alternative tools listed in this thread. Other options?Īlso take a look at this previously asked U&L Q&A titled: Which mp3 tagging tool for Linux?. You can either source the album art using FetchArt Plugin or embed it using the EmbedArt Plugin. This can be driven from the command-line and makes use of MusicBrainz database for sourcing the album art. beetsĪnother option would be to use beets. The above doesn't appear to be command line driven however. There is a plugin to Picard called "Cover Art Downloader", which can do this to batches of your collection. If you want to do this on a large scale I'd suggest using Picard which is the frontend tool for using the MusicBrainz database. You can make the above slightly more compact and eliminate the need for sed by using bash to do it by having it remove the matching suffix. If the files are named something like this you can make a shell script to do what you want: for i in file1.mp3 file2.mp3 file3.mp3 do Using lame you can do this using a little scripting: $ lame -ti /path/to/file.jpg audio.mp3
0 Comments
Leave a Reply. |