subdiff updated this revision to Diff 9024. subdiff added a comment.
Using David's superior method. With this method it's also possible to have in the VLC case, where they don't append the pid, atleast the one controllable media player instance identified. REPOSITORY R120 Plasma Workspace CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D3667?vs=8974&id=9024 REVISION DETAIL https://phabricator.kde.org/D3667 AFFECTED FILES dataengines/mpris2/playercontainer.cpp EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: subdiff, #plasma Cc: davidedmundson, broulik, plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas