On Saturday 22 May 2010 10:58:29 Panagiotis Papadopoulos wrote: > Hello, > > Currently it looks like Kopete needs to "hardcode" support for every single > media player that it wants to have supported by the nowlistening plugin. > This leads to a lot of code duplication. Luckily there is a smart way to > solve this problem: the MPRIS Standard. > > In KMess we also have a Nowlistening feature. The devs implemented querying > of the so called MPRIS players, a standard (MPRIS) that most of todays > players use (e.g. Amarok 2, Audacious, VLC, XMMS2, Qmmp and so on…) If you > implement this too, you would support a lot of Players "out of the box" > with much less lines of code. > > You can get inspiration here > http://kmess.svn.sourceforge.net/viewvc/kmess/branches/kmess/kmess-2.0.x/sr > c/utils/nowlisteningclient.cpp?revision=5968&view=markup > > and here's the specification: > http://xmms2.org/wiki/MPRIS > > I also told this to the Choqok developers and the KMess code is now also > used in Choqoks Now Listening feature. > > (If I had the ability to code, I would've implemented it myself, but since > I can't I'm asking you :-)) > > Thanks a lot for your work and any answes :-) > > (PS: Please CC me when answering, since I'm not subscribed to this list)
Hey there, It is nice to know that, but give that Kopete is seriously undermanned these days, I guess it will take a while to port the code (if someone ever volunteers to do that)... _______________________________________________ kopete-devel mailing list [email protected] https://mail.kde.org/mailman/listinfo/kopete-devel
