Sometimes dbus methods hasn't all the capabilities that qtscript amarok API has.
udpQtscript receiver is an Amarok script that can bridge some programming languages with Amarok qtscript API.
Is a receiver of udp datagrams to evaluate qtscript commands coming from outside, by default listens on port 45450 and replies the output to 45451.
Included a little python script to broadcast datagrams to udp receiver plugin, and to receive the reply from amarok (look at ~/.kde/share/apps/amarok/scripts/udpreceiver/ for broadcastsenderqt.py).
Product's homepage
Requirements:
· amaroK