Create a custom tag in Picard for added files

picard
Tags: #<Tag:0x00007f3097ccc198>

#1

Hi

I would like to create a custom tag for any audio that is added to Picard then fill that new tag from “albumartist” if it exist.

I know it is possible with scripts but I am not thta advanced so if someone can give the proper line that would be great.

thanks


#2

If I understand you correctly, you can do it by adding the following script to the scripting section of Picard (not the naming script):

$set(your_custom_tag_name,%albumartist%)

If that isn’t what you wanted, please provide more information.


#3

Hi
Yes that is what I meant, but your example does not do anything. Bear in mind that the custom tag does not exists, it needs to be added to the tracks then needs to be equal to the album artist.

I added the script to scripting section, then retsrated picard just in case. I added a song, the new tag field does not exists in the tags info.


#4

That’s odd, because it works perfectly here. It should be triggered when the information is being looked up from MusicBrainz (listing in the right-hand pane). Once the files have been clustered and matched to tracks in the right hand pane, try doing a refresh and see if that helps…


#5

Well what if there is no match from MB? I woulkd like this operation to run when the song is added, whether there is a look up or not.

It still does not work for me :frowning:


#6

See the image please.

I tried $set(foldersort,%albumartist%) version too

Selection_159


#7

Try changing %foldersort% to just foldersort (without the %). Oh, I just noticed your note that you did try that.

In that case, I have no idea what you’re trying to do. It seems like you’re trying to create a new tag without matching your file to a MusicBrainz entry. Perhaps Picard is not the right tool for what you’re trying to do.


#8

I tried that as well.


#9

Ok it seems like tagging scripts only works for MB matches :frowning: This is half use to me because most of the albums do not get match in my library, due to obscure music.

Thanks for your help.


#10

The answer is simple. Add your albums to the MusicBrainz database. :wink: That way it will work for you (and others) and you’ll be contributing valuable information to the community – especially if you’re albums are obscure. Something to consider when you have some time available. All contributions are greatly appreciated.


#11

Sue I agree, I will work on it.


#12

Thank-you. Any information you can add is greatly appreciated.