Welcome Guest

Pages: 1 2
Copy Metadata in Batch
CarlinSmithPostFebruary 27, 2025, 07:50
Beginner
Posts: 41
Registered:
January 1, 2020, 15:15
Normal topicCopy Metadata in Batch

I have around 300 SACDs that I ripped the normal RedBook layer with dBpoweramp but I also rip the SACD (DSD) layer using a compatible blu-ray player with other open source tools. I keep them both in my library with an appended (SACD) on the album name to separate and identify them.

Due to software differences in the rip chain the metadata can be very different and through the years I have manually made the changes align the metadata. Normally the DSD version is the what needs the most manipulation. Manual means imperfect even though great care was taken.

Embarrassingly, I just recently learned of Yate's ability to take two albums and harmonize the metadata through the copy metadata function with both albums loaded. I spot checked a few manually and some were perfect and others had a few differences which was not surprising to me.

A long preamble to my question - can this be done via a batch process? I keep these rips neatly organized into top level folders. There is a folder called "Hybrid CD" and one called "Hybrid SACD". The contents below are identical in each except one has FLAC files and the other has DSF files.

Ideally I want a batch process where metadata of albums found in the Hybrid CD folder are duplicated to the identical album in the Hybrid SACD folder. The batch process must honor the "Configure Meta Data" fields I have selected as some underly metadata is unique and should remain so.

Thank you

2MR2PostFebruary 27, 2025, 08:33
Avatar photo
Administrator
Posts: 2362
Registered:
August 23, 2012, 19:27
Normal topicCopy Metadata in Batch

If the folder structure and filenames are identical as you have indicated, this is actually easy. Using the UI specified fields to copy is also quite easy.

The workflow would be as follows: You'd start the Batch Processor with the Hybrid CD root folder as the source. You'd then get prompted for the Hybrid SACD root folder. That's it.

I'll try and get this out sometime today.

CarlinSmithPostFebruary 27, 2025, 08:42
Beginner
Posts: 41
Registered:
January 1, 2020, 15:15
Normal topicCopy Metadata in Batch

Thank you as always.

For my own peace of mind will test with a complete copy and if all changes being made are logged I can do some QA.

2MR2PostFebruary 27, 2025, 08:48
Avatar photo
Administrator
Posts: 2362
Registered:
August 23, 2012, 19:27
Normal topicCopy Metadata in Batch

The Batch Processor will log all files which are written but I can add a list of changes made in each file that's written. The log will more than likely be very large. Luckily it's flushed to disk every 10k or so as it is accumulated.

2MR2PostFebruary 27, 2025, 12:12
Avatar photo
Administrator
Posts: 2362
Registered:
August 23, 2012, 19:27
Normal topicCopy Metadata in Batch

Download the action at: https://2manyrobots.com/actions/Copy-Metadata-From-One-Path-to-Another.zip

The action is named Copy Metadata From One Path to Another

- Start the Batch Processor
- select the action
- hit Next
- select the root folder of the source tree. ie. the tree which contains the metadata to be copied.
- hit Next
- it doesn't matter what Auto Save and Verbose are set to. The action forces Auto Save off (no source files are changed) and Verbose is forced on.
- Hit Start
- You'll be prompted for the destination root. ie. the folder containing the files tio be modified.

The metadata specified in Actions>Copy Metadata>Configure Copy Metadata determines what gets copied.

The end of the produced log file gives an error count. All errors start with *** so you can search for them.

You can test it on a single folder before running everything through.

Have fun.

CarlinSmithPostFebruary 27, 2025, 13:29
Beginner
Posts: 41
Registered:
January 1, 2020, 15:15
Normal topicCopy Metadata in Batch

I think running this a few times it is looking for the exact same file in the 2nd path. While the file name is the same the extension is different - .dsf versus .flac

2MR2PostFebruary 27, 2025, 13:31
Avatar photo
Administrator
Posts: 2362
Registered:
August 23, 2012, 19:27
Normal topicCopy Metadata in Batch

Sorry ... I forgot to preserve the extension. That's what happens with quick and dirty testing. Give me 5 minutes

2MR2PostFebruary 27, 2025, 14:11
Avatar photo
Administrator
Posts: 2362
Registered:
August 23, 2012, 19:27
Normal topicCopy Metadata in Batch

Download the action at: https://2manyrobots.com/actions/Copy-Metadata-From-One-Path-to-Another-v1_1.zip

The action is now v1.1 and the name is: Copy Metadata From One Path to Another-v1_1

While I can clear the cache on the website, browsers such as Chrome will return the older version from its internal cache ... so I renamed the file. Feel free to rename the action in the Action Manager.

The new one expects a single audio file at the destination. It doesn't care about 'flac' ... any supported audio extension will do. In the unlikely event that more than one file has the same name at the destination, it is flagged as an error.

Hopefully I got it right this time.

CarlinSmithPostFebruary 27, 2025, 14:24
Beginner
Posts: 41
Registered:
January 1, 2020, 15:15
Normal topicCopy Metadata in Batch

hmm getting same error that .flac file doesn't exist. I could upload two files if that would help to debug?

2MR2PostFebruary 27, 2025, 14:37
Avatar photo
Administrator
Posts: 2362
Registered:
August 23, 2012, 19:27
Normal topicCopy Metadata in Batch

Please ensure that you're running v1.1 of the action.

I don't need the files. Please do the following:

- do a Yate>Resource Actions Installer
- in the search box enter dump metadata and search
- check the checkbox in the Install column with the Dump Metadata action selected
- click on Install Checked Actions

Load two files into Yate. The source and destination for any of the files which is giving the error.

Select the two files and run the Dump Metadata action. Text Only is sufficient. Please email me the produced zip file to support@2manyrobots.com.

I have an action which recreates the files with metadata (no audio). I don't really care about the metadata but the recreation action also duplicates the file paths. This will allow me to test with more or less the same paths as you have.

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