Usage instructions

To use the bindings, import the module in your script and instantiate an amaroKProxy instance, then call your instance’s startMonitoring() method, which will start reading from standard input, monitoring for amaroK’s events. You can then sleep(1) until your instance’s .isAlive() method returns False (which means amaroK is now gone.

amaroKProxy is an Observable class, and so are its members:

  • player
  • contextBrowser

This means that you can implement Observer objects or Threads in your amaroK script, and have them be notified of amaroK events, instead of having to read standard input and act accordingly (plus error-prone exceptional condition handling).

Further help

The module is not heavily documented. Rely on kdcop and browsing the sources for your research.