Anybody know a good way to rename a file from id3 tag automatically after downloading?

For instance, does anyone know how to ask Amarok to run a script on a file when it has just been downloaded? eyed3 has the options to rename from id3 tag, but how would one trigger it from Amarok?