i know there is a way to access it graphically through the KDE control center, but not exactly where, sorry.
in a command line type 'dcop'. it will print out all processes that can be used with dcop, say 'amarok'. then type 'dcop amarok'. it will again print a list of things, such as 'player', 'playlist' (dont remember exactly). then type 'dcop amarok player' and it will then give you all the functions you can call, such as 'dcop amarok player pause()'.
also im not sure if you need the brackets or not (i think so, though).
i also found this very useful. i used this in conjunction with xbindkeys to map my (incompatible) multimedia keyboard keys to work with Amarok.
hope it helps.