I noticed, when I rename an artist's node, in the tree, it updates the names of all the tracks for that artist, even if the track has multiple artists. I decided I want a script that gets the name of the selected Artist Node, fixes the name, then writes it back to the node, kicking off that automatic updating of the tracks.
I get the name using a script that starts:
Code: Select all
actions.ArtistNodeFNF = {
title: _('Artist Node FNF'),
hotkeyAble: true,
execute: function () {
var OldArtistTitle, NewArtistTitle;
var node = currentTabControl.mediatree.controlClass.dataSource.focusedNode;
OldArtistTitle= node.title;
Code: Select all
node.title = NewArtistTitle;
node.commit();