subdiff created this revision. subdiff added a reviewer: Plasma. subdiff added a subscriber: plasma-devel. subdiff set the repository for this revision to R120 Plasma Workspace. subdiff added a project: Plasma.
REVISION SUMMARY The MPRIS specification recommends to media players to distinguish instances of them by appending its process id. For example this is supported by the Dragon Player. The patch makes it possible for connected clients of MPRIS Dataengine to query this directly and by that distinguish multiple instances of a player. While clients were able to do this earlier already by checking the source name and doing the same string operations as here, it's more convenient with this patch, since they then don't have to do it on their own anymore but just need to query the data. TEST PLAN Tested it with my prototype of the redesigned taskbar. REPOSITORY R120 Plasma Workspace 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: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas