I am not sure that if you name the file like that, Amarok is still able to find the .mood file. Should test your suggestion on a small directory. Technically you are right songname.mp3 and songname.ogg could exist in one directory so they would share a .mood file in the original script. So it would make sense to put .mood after the 'extension' which means nothing in Linux.