I am having a problem with SetAttr META "copyfrom:2,*"

I am trying to copy all music metadata from one file to another. I am using the command SetAttr META "copyfrom:2,*" (where * is a path to a MP3 file).

The command works partially. Some fields are copied. The ones I noticed that aren't copied: track number, title, cover art.

If I drag and drop the input file into the Set Metadata window for the output file and select "copy all", everything is copied as expected. (Edit: the cover art appears on the Set Metadata window, but is not found on the output file after the metadata is applied.)

Could you try to reproduce that misbehavior with that command?

I think it might be an error in the documentation - try using 3 instead of 2.

It worked with 3 instead of 2. Only the cover art was not copied. I guess it should have been included? Is my file to be blamed or is it Opus' fault?

Yep, the documentation is misleading.

I think the number 8 is wrong too. Does not copies the subtitle field for MP4s. The 9 does. Better check them all to make sure there are not more errors.

They're all 1 out :slight_smile:

Is this still working as expected?
I have an old button, like this:

@nodeselect
@set mp3filepath={dlgopen|Select mp3 to copy meta information from.|{sourcepath}}
SetATTR META "copyfrom:3,{$mp3filepath}}"

And it does not seem to make a difference what files I try with, I always get:
image

I guess Opus doesn't like the superfluous }. Or is not a big ABBA fan :wink:

Ok, so I tried with "T78 - Acid Lick (2018).mp3" -> T78 & ROBPM - Acid Lick (Original Mix) - YouTube
to make it vibrate some more.. o) but that did not enhance anything.
The superfluous bracket is no good of course, I overlooked that a dozen times, thank you! o)
After trying some more, it seems it was related to the auto-quotes feature, after adding @nofilenamequoting it flies!

@nodeselect
@nofilenamequoting 
@set mp3filepath={dlgopen|Select mp3 to copy tags from.|{sourcepath}}
SetATTR META="copyfrom:3,{$mp3filepath}"

Thank you! o)