[Qalee] DBus over Network and remote amarok controler
Hi !
As you may know I’m working on a dbus over network mechanism.
It consist on two simple daemons written in Qt4 as usual. The « server » side listen the network for dbus request and make that request on local bus than send reply ( if requested ) to the client side. Client side listen on the local dbus and send the request to the server. Simple !
Methode calls are working, methode call with return arguments are working with some hacks ( not fully transparent for now ).
The client side only listen on the local bus for a single methode ( see wikipage ) but remote methode will be available in the future from an xml file ( you declare on the xml file which remote methodes you want to be able to call and the client side make them available on the local bus, but that’s not done yet
There is no security mechanism yet, in the future there will be authentication and encryption and the possibility to reduce available methods for the remote host ( maybe you don’t want to export all the methods available on dbus to the network …).
You will not be on the remote bus, that’s just a helper to call remote methods simply and securely, you just have to start two programs and you can go ..
Signals notification from server side to client is missing, be patient.
In parallel, I’m developing a test program : an Amarok remote controler !!
That’s the reason for this early blog post, sharing with you this cool stuff
You can play/stop/pause/next/previous the music but you also have metadatas shown on your neo ( or remote computer ) and the picture associated with the song which is downloaded from the server side running amarok ! ( With an amarok helper server ( a simple web server exporting ~/.kde/share/apps/amarok/albumcovers/large . Just run « python -m SimpleHTTPServer » in this folder ( That’s a little hacky for now, I have to make something better … )
In the future, I’ll integrate it with GorshPlayer and make it better ; remote playlist, dowload of current played song to local folder, …
And lots of applications based on those servers will come …
Christophe

PS : I hope to get Qalee stable enough to release version 1.0 for the fosdem



