Bug 165953 - "nowplaying" applet: support for mpd (music player daemon)
Summary: "nowplaying" applet: support for mpd (music player daemon)
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasma4
Classification: Unmaintained
Component: widget-nowplaying (show other bugs)
Version: unspecified
Platform: Mandriva RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: Alex Merry
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-07 18:23 UTC by Jerome Quelin
Modified: 2012-05-17 10:23 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jerome Quelin 2008-07-07 18:23:33 UTC
Version:            (using KDE 4.0.83)
Installed from:    Mandriva RPMs

nowplaying applet display song currently playing on the computer. it supports various backend, such as amarok, juk, xmms.

i propose to add mpd (music player daemon, http://musicpd.org) as a source in nowplaying dataengine.
mpd being client-server based, it's easy to do so.

either connect to port 6600 and issue the command:

    currentsong

which will return all the wanted information on the song currently being played.


or even simpler, run the mpc command-line utility which is almost always installed when mpd is used:

    mpc --format "%album%\n%track%\n%artist%\n%title%"

and get the current song information on the 4 first lines.
Comment 1 Alex Merry 2009-05-31 13:15:51 UTC
Yes, I would like to do this.  It won't be until 4.4, though (4.3 is in feature freeze).
Comment 2 Jerome Quelin 2009-11-15 13:28:32 UTC
any news for this? i'm running kde 4.3.73 and applet "now playing" does not seem to connect to mpd.
Comment 3 Alex Merry 2012-05-17 10:23:31 UTC
I've made the decision that the only sensible approach for nowplaying is to only support MPRIS2-capable media players.  If you want MPD to work with it, you need some sort of "bridge".  See https://github.com/eonpatapon/mpDris2, for example.