Welcome Guest

Pages: 1 2 3
Embed image file in directory into FLAC files in same directory?
miguelitoPostApril 2, 2021, 09:08
Newbie
Posts: 17
Registered:
October 26, 2014, 13:55
Hot topicEmbed image file in directory into FLAC files in same directory?

I have many albums, each in its own folder, and each folder has an image file in it.

What I need is an action that will go through each subfolder from a root folder, find the jpg image in that folder, and embed that image in the FLAC files of that folder.

The images have all different names - not cover.jpg - that's how these purchases are downloaded by default.

If there are more than one image (not my case but generally speaking), I am cool with embedding all of the found jpgs in the FLAC files, but picking the first jpg found is cool with me.

Does such an action already exist? I looked but couldn't find anything like this.

2MR2PostApril 2, 2021, 10:24
Avatar photo
Administrator
Posts: 2152
Registered:
August 23, 2012, 19:27
Hot topicEmbed image file in directory into FLAC files in same directory?

Hi I've posted a tiny two line action which does what you want. It imports all artwork into all selected files or may be run through the Batch Processor. The action is named Import All Artwork in Folder and is on the resources page.

To run through the Batch Processor.

- Actions>Batch Processor Wizard
- from the drop down control choose Import All Artwork in Folder
- hit Next
- drag over your root folder
- hit Next
- Auto Save Files MUST be checked.
- Verbose Log is optional although I always recommend it.
- hit Start

The action stores the images to all supported audio file types. If you want to restrict it to only import to FLAC files let me know and I'll update the action.

miguelitoPostApril 2, 2021, 11:37
Newbie
Posts: 17
Registered:
October 26, 2014, 13:55
Hot topicEmbed image file in directory into FLAC files in same directory?

Awesome, thank you.

miguelitoPostApril 2, 2021, 11:58
Newbie
Posts: 17
Registered:
October 26, 2014, 13:55
Hot topicEmbed image file in directory into FLAC files in same directory?

Tried this but got an expected error. Let me explain...

I have AIFF files purchased and downloaded from Qobuz. I keep a secondary FLAC version of this library transcoded to FLAC by JRiver MC 27. MC 27 is corrupting the artwork when it transcodes these files (XLD does not have this problem).

So what I want to do is replace the (corrupted) artwork in the files with the image in the directory. The problem is Yate produces an error because it bumps into the corrupted artwork. If possible, I would like Yate to skip over this error and replace the image file. If you added a checkbox that said "replace artwork already embedded" and it would skip the error, that would be great.

Thx.

Log:

Yate Version 6.4.1 (10306)

Batch processing started Friday, April 2, 2021 at 11:53:25 AM Eastern Daylight Time

Root action: Import All Artwork in Folder
Root folder: /Volumes/MusicaFLAC/Yate test/Qobuz

--------------------
Folder: /Volumes/MusicaFLAC/Yate test/Qobuz/Sia/Courage

Error rendering file: /Volumes/MusicaFLAC/Yate test/Qobuz/Sia/Courage/01-01-Sia-Courage_to_Change-SMR.flac
Reason: Cannot process image. Go to the artwork tab to see what image is bad

--------------------

Folders scanned: 3
Folders with audio: 1
Files processed: 1

Run completed at Friday, April 2, 2021 at 11:53:25 AM Eastern Daylight Time
Run duration: 00:00:00

miguelitoPostApril 2, 2021, 12:03
Newbie
Posts: 17
Registered:
October 26, 2014, 13:55
Hot topicEmbed image file in directory into FLAC files in same directory?

Sample file:

https://drive.google.com/drive/folders/1obqq7Z0OufrumiZBEohn-NJ343ljAsvW?usp=sharing

(please let me know as soon as you grab these files so I can unshare)

2MR2PostApril 2, 2021, 12:09
Avatar photo
Administrator
Posts: 2152
Registered:
August 23, 2012, 19:27
Hot topicEmbed image file in directory into FLAC files in same directory?

No problem. Do you want to remove all embedded artwork or only corrupt artwork?

2MR2PostApril 2, 2021, 12:10
Avatar photo
Administrator
Posts: 2152
Registered:
August 23, 2012, 19:27
Hot topicEmbed image file in directory into FLAC files in same directory?

I have the files. You can release the share.

miguelitoPostApril 2, 2021, 12:10
Newbie
Posts: 17
Registered:
October 26, 2014, 13:55
Hot topicEmbed image file in directory into FLAC files in same directory?

Thx

2MR2PostApril 2, 2021, 12:13
Avatar photo
Administrator
Posts: 2152
Registered:
August 23, 2012, 19:27
Hot topicEmbed image file in directory into FLAC files in same directory?

Before importing, do you want to remove all embedded artwork or only corrupt artwork?

miguelitoPostApril 2, 2021, 12:13
Newbie
Posts: 17
Registered:
October 26, 2014, 13:55
Hot topicEmbed image file in directory into FLAC files in same directory?

To make it simple, just remove the corrupt artwork.

But it would be great if it could be an option of just removing the corrupt and adding files, or replacing all artwork (corrupt or not) with the image file(s) in the directory.

Pages: 1 2 3
Mingle Forum by Cartpauj | Version: 1.1.0beta | Page loaded in: 0.034 seconds.