Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Add cover art to bulk of FLAC files (Read 65758 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Add cover art to bulk of FLAC files

I just ripped my collection of cd's to FLAC using the EAC. (>1000 cd's)

I can't find a good way to add cover art to the albums. I tried mp3.tag, but it seem like a single file option.

Do any of you know the magic program to get album art, so I can see it on my spueezebox touch?

(Sorry if this topic has been mentioned elsewhere, but could'nt seem to find a resent answer)

/Morten

Add cover art to bulk of FLAC files

Reply #1
I am also trying to do the same thing. I am using metaflac.exe to do that. I am now able to write a picture in the flac file, but VLC and mediamonkey doesn't see that picture and I don't know why.

I am giving this command:

"C:\Program Files\FLAC\metaflac.exe" "--import-picture-from=D:\1\Bots.jpg" "D:\1\1.flac"

The result is that the size of the file "D:1\1.flac" increases with the size of the file "D:\1\Bots.jpg". But when I play D:\1\1.flac with mediamonkey, I still see only the picture which was already in that file and Media monkey says it is the only picture in that file.

Does anybody have a solution or hints to help solve this problem ?

Hans


Add cover art to bulk of FLAC files

Reply #2
If you already have the artwork files and they all have a consistent name such as "cover.jpg", then you can use Mp3tag.  Load up your FLAC files into Mp3tag and highlight them.  On the toolbar, click the "Actions (Quick)" button and select "Import cover from file".  It's easiest when the artwork is in the same folder as the FLAC files, but not necessary as long as the artwork files are named in a consistent way that ties each artwork file to one set of FLAC files:

If artwork is in same folder as FLAC files, format string is simply cover.jpg (or whatever name you've given the artwork files)
If the artwork files are in another folder, then you have to structure a format string to reach them: e.g. C:\MUSIC\ARTWORK\%album%.jpg
You'll probably need to experiment with this to get it to work right or you can post back more detail on where your artwork files are located and how they are named.

If you don't already have the artwork and need to download it first, then you can try Media Art Aggregator.

Add cover art to bulk of FLAC files

Reply #3
Do you mean cover art embedded in every flac file or just one separate .jpg for every album/folder of files? If the latter, Album Art Downloader XUI is a good option.

Add cover art to bulk of FLAC files

Reply #4
I just found out that if I remove all tags with --remove-all before putting the image in it with --import-picture-from I do get the result which I want. Building a little program to do that in batch is easy now.

Hans

Add cover art to bulk of FLAC files

Reply #5
Tried ALBUM ART DOWNLOADER it works really good. I just tested a couple of albums on the Squeezebox Touch and no problems.

I also test the MEDIA ART AGGREGATOR, but found the ALBUM ART DOWNLOADER to be more user friendly.

Maybe some of you know how to get win media player to see your music?
I can force it to see my albums by going through “organize” and go al the way through the directories to the album, right click and “find media info” – not really a good solution, if you want to take some music to a party etc. And furthermore it is a drag doing it album by album.
With MP3 songs, the media player just find the album art and all, so maybe this could be short cut for getting the album art?

I have the codec for playing FLAC, so that is not the problem.

Re: Add cover art to bulk of FLAC files

Reply #6
If you already have the artwork files and they all have a consistent name such as "cover.jpg", then you can use Mp3tag.  Load up your FLAC files into Mp3tag and highlight them.  On the toolbar, click the "Actions (Quick)" button and select "Import cover from file".  It's easiest when the artwork is in the same folder as the FLAC files, but not necessary as long as the artwork files are named in a consistent way that ties each artwork file to one set of FLAC files:

If artwork is in same folder as FLAC files, format string is simply cover.jpg (or whatever name you've given the artwork files)
If the artwork files are in another folder, then you have to structure a format string to reach them: e.g. C:\MUSIC\ARTWORK\%album%.jpg
You'll probably need to experiment with this to get it to work right or you can post back more detail on where your artwork files are located and how they are named.

If you don't already have the artwork and need to download it first, then you can try Media Art Aggregator.

Oh man, that was super easy! Thank you, great program. Sorry for necrobump but if anyone is Googling "how to add album art to multiple flac files at once" like I just did, hopefully they'll get to this thread.

Re: Add cover art to bulk of FLAC files

Reply #7
Picard can also download artwork for you in bulk and script handling jt

Re: Add cover art to bulk of FLAC files

Reply #8
Also, if you are a linux user, you can use ffmpeg to do that + some bash scripting.

Script is added, but I also included a one-liner.

Code: [Select]
read -p "Music directory path? " MUSIC_DIR_PATH; read -p "Cover picture path? " COVER_PATH; find "$MUSIC_DIR_PATH" -name "*.flac" | sort | while read file; do mv "$file" "${file}.old"; done; readarray -d "" files < <(find "$MUSIC_DIR_PATH" -name "*.flac.old" -print0); for file in "${files[@]}"; do ffmpeg -f flac -i "$file" -i "$COVER_PATH" -map 1 -map 0:a -c copy -metadata:s:v title="Album cover" -metadata:s:v comment="Cover (front)" -disposition:v attached_pic -f flac "${file%.old}" 2> /dev/null; echo "Added cover to ${file%.old}"; done