I found some answers.... I'd be happy to have more from you.

So basically, there is a standard to communicate with/from other applications through DBus:
    http://standards.freedesktop.org/mpris-spec/latest/

Now, mpris1 is deprecated, should everything move to mpris2?
Is everything still relevant?

Cheers
Olivier

Le 07/11/2015 23:00, Olivier Churlaud a écrit :
Hi,

Since there are some problem to quit the app, I dug a little in the DBus of Amarok.

I have several questions:

1) Why are we using org.mpris.MediaPlayer2.amarok ? Should we go to org.kde.amarok? (To me it would make sense)
    2) What is the purpose of each of those:
                    new Mpris1::RootHandler();
                    new Mpris1::PlayerHandler();
                    new Mpris1::TrackListHandler();
//QDBusConnection::sessionBus().registerService("org.mpris.amarok");
                    new CollectionDBusHandler( this );
                    new Amarok::Mpris2( this );

and is the order important?

Thx
 Olivier


_______________________________________________
Amarok-devel mailing list
Amarok-devel@kde.org
https://mail.kde.org/mailman/listinfo/amarok-devel

Reply via email to