I've searched here and tried several different commands but I can't get anything to work.
I want to select one or more MP3 files and use a Context Menu item to add the Folder.jpg file from the same folder as the cover art for the selected file(s).
I've tried variatons of this:
SetAttr META coverart:front:Folder.jpg
This will remove the cover art from a file if it had any. But that's all it will do.
I've tried a bunch of different variations on this but no luck.
worked great thank you .... would love to see a place on the forum where you cold upload all buttons that are related eg for working with music files ,,, working with pictures working with documents videos and so on
iam getting a lot of great music buttons together now would be great if they where all in one place
SetAttr has a FILE argument that lets you tell it which file or a wildcard if you don't want it to work on the selected files. Use that instead of changing the selection.
In general, changing the selection via commands is for changing what is selected in the lister, not for changing which files subsequent commands will work on.
SetAttr FILE *.mp3 META "coverart:+front:{sourcepath}1973 - Front.jpg"
FILE is the default argument so you can also write:
SetAttr *.mp3 META "coverart:+front:{sourcepath}1973 - Front.jpg"
It's also possible to set this command up as an entry in your right click menu only for music files. You can edit context menus in the file types dialog.