Do you recall NowPlaying? The dataengine/widget pair for Plasma that tells you what your media player is currently playing, and allows you to control it?
Well, now it supports MPRIS2. What does this mean for you?
Well, probably not much right now. Juk doesn’t support MPRIS2 (although I intend to change that for 4.9/5.0), Amarok worked before (although it should use marginally less power with MPRIS2 rather than the old MPRIS interface), VLC doesn’t support MPRIS2 (yet; version 1.2 will). A handful of other players support MPRIS2, though, including the Raven Music Server.
The main thing, though, is that support for MPRIS2 is increasing in media players, partly because of Ubuntu’s adoption of it as the mechanism for its sound menu to talk to media players. Spotify now supports MPRIS2, for example. And now the Now Playing widget can support them.
MPRIS2 has many advantages over the original MPRIS specification, not least of which is not having to query the media player every second for up-to-date position information. As a result, the nowplaying dataengine will prefer the MPRIS2 interface to the MPRIS interface for a media player that offers both.
The only quirk to be aware of is that Amarok’s MPRIS2 support isn’t quite right in the 2.4.x series, and this will affect a couple of features of the Now Playing widget (seeking and enabling/disabling of the next/previous buttons); this shouldn’t be an issue though, as these problems are fixed for Amarok 2.5, which will be released before KDE Plasma Workspace 4.8.
Tags: Amarok, KDE, KDE4, mpris, now playing

11th November 2011 at 1:43 am |
Nice work, but 1 detail, Won’t kde 4.9+1 be called 4.10? because it might be a log time for kde 5 (the one with qt 5)
11th November 2011 at 12:04 pm |
I don’t know how many 4.x releases there will be. If there is a 4.9, it will go in that. If not, it will go in 5.0.
11th November 2011 at 10:38 am |
Should be cool to enable embedded covers in this plasmoid…
11th November 2011 at 12:05 pm |
Embedded cover support is purely down to the media player. If the media player can read embedded covers and copy them out somewhere on the filesystem (and tells us about it), they will be shown.
11th November 2011 at 9:13 pm |
Yay! Now I’ll need to add MPRIS2 support to Bangarang. Oh, how I wish I had all the time in the world!!!
29th November 2011 at 8:34 am |
Konversation’s master branch landed a rewrite of its media player integration code today which moves it toward exclusively supporting MPRIS2, so that Juk fix is becoming more important
-