ERROR: Couldn't attach to DCOP server!

Greg Woods greg at gregandeva.net
Wed Oct 28 21:39:41 UTC 2009


On Sat, 2009-05-09 at 01:05 +0100, Leonardo Franchi wrote:
> Amarok 2.x no longer uses DCOP. Along with the rest of KDE, Amarok has 
> switched to the DBus interprocess communicaton protocol. Amarok implements the 
> MPRIS spec for media players, it can be seen  here:
> 
> http://wiki.xmms2.xmms.se/wiki/MPRIS

Sorry for the very late reply, I am finally getting around to looking
into this, almost six months later. I read this page, but it really
doesn't tell me what I need to know. What I want to do is replace my
DCOP remote control script with something that works for Amarok 2.2 .
What I had was this:

#!/bin/bash
dcop --user greg amarok player $*

This meant I could just do

$ ssh musicmachine scriptname pause

from any other machine in the house, and it would pause the music. This
is the kind of thing I want to do. While the methods and XML syntax are
described on the above web page, nowhere does it tell me how to actually
use it to control Amarok. Anywhere I can find info on that?

Thanks,
--Greg


> 
> cheers,
> leo
> 
> -----
> lfranchi at kde.org		Tufts  University 2010
> leonardo.franchi at tufts.edu                 The KDE Project
> _______________________________________________
> Amarok mailing list
> Amarok at kde.org
> https://mail.kde.org/mailman/listinfo/amarok




More information about the Amarok mailing list