media-keys: Use heuristic to switch MPRIS clients
requested to merge rhendric/gnome-settings-daemon:rhendric/current-mpris-client-heuristic into master
Instead of holding on to an MPRIS client for its entire lifetime, switch to another client when it starts playing or when it first appears on the bus, but only if the current client is not itself playing.
Fixes #503 (closed), I hope? I'm only a very occasional C programmer so please be on the lookout for really silly mistakes.
Edited by Ryan Hendrickson