At the moment, I can only start most KDE3 applications by clearing the environment of KDE4 things (basically by su’ing to myself) and running them from there. Which means session management doesn’t work. I got fed up with doing this with Amarok, so I’ve started using Juk as a stand-in until Amarok 2 is usable.
Now, I miss kirocker, which provided my KDE3 desktop with information about what music was playing in Amarok. But, Plasma to the rescue! In a reasonably short amount of time, I had a nowplaying data engine that queried Juk for what was currently being played. It should be easily extensible to work with other players, but Juk is what I’m using at the moment.
I also hacked together a rough-and-ready applet that displays some of the information:
The engine should probably get some ability to execute commands like “play”, “pause”, “stop”, “next” and “previous”. Publishing the volume might be a good idea, too.
The applet needs a lot of work. In theory, the engine can pass album artwork, although Juk doesn’t publish it. And there’s a lot more information available than what it printed there. And long titles result in very small text. If you fancy hacking around with the applet and making it pretty, be my guest: it’s all in playground.