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/src/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) _______________________________________________ kopete-devel mailing list [email protected] https://mail.kde.org/mailman/listinfo/kopete-devel
