Modifying tags with flexible attributes


#1

Hi!
I’m trying to populate a (custom) tag field with the value of a flexible attribute. I’m using beets on Win10.
In this specific case, I populated my library with playcounts from last.fm which are stored within the attribute “play_count”. But whenever I try to pass the “play_count” value to another field by e.g.:

beet modify artist=$play_count

it passes the string “$play_count” to the field, instead of its value. How can I pass the actual value of the flexible attribute to a different field?


#2

Hello! It’snot yet possible to do that, sadly. Please see:


#3

Ah thank you, that’s unfortunate to hear.
Is there any workaround to add the playcounts to the files?


#4

You can always try writing your own plugin!


#5

Too bad, that goes beyond my abilities :confused:

Thank you anyway!


#6

i have written a plugin to do this exact thing for my iTunes catalog. iTunes does not show the label tag and i like to see that. so i copy the data from the label tag to the composer tag on import. i wrote a plugin to do this. it could be easily modified to do what you want. i would be glad to share it.