[Differential] [Request, 20 lines] D3667: [MPRIS Dataengine] Let clients distinguish media players by process id more easily

subdiff (Roman Gilg) noreply at phabricator.kde.org
Tue Dec 13 16:36:37 UTC 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20161213/69caa6ce/attachment.html>


More information about the Plasma-devel mailing list