Kopete NowPlaying MPD

Once, long ago, Kopete had support for MPD , but as it’seen, not anymore ( until when it is not known ) quite frustrating but …
Kopete
is connected to dbus, so the problem is reduced to sending the information to the right address in dbus, unfortunately, as it is in the discussion , MPD has no (and will not have any) support for dbus.
In conclusion, in order to share with your friends what you are listening too, dbus support for MPD is required, also a communication interface with Kopete’s dbus.
After a long session in the Google search (my friend), I found some articles (see Resources) and I wrote MPD-DBus-Kopete

Requirements

  • Ruby 1.8 (> = 1.8.7)
  • Ruby D-Bus (most active fork on GitHub)
  • libmpd for Ruby (I use this , it’s actualized and with callbacks)

Note:
- I added librmpd2 as submodul

git submodule add git: // github.com/jeffayle/librmpd2.git lib/librmpd2

if you choose an other installation path remember to change the required path lib/mpd_dbus.rb
- the ruby-dbus libraries regardless of their version give me some warnings.Finally I installed openSuSE’s rpm version (unpack the rpm and copy all you need in your ruby directory)

Useful Resources:

1. Tutorial D-Bus

2. Tutorial Ruby D-Bus

3. Of course the GitHub


Hello world!

Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!




Back to Top
Google AdPlanner