Simplify MPRIS callback code

Authored by mtijink on Dec 7 2017, 4:52 PM.

Description

Simplify MPRIS callback code

Summary:
Makes sure the MPRIS data is always up-to-date, so requesting updates
separately is never necessary. Also provides a way to remove callbacks.

Test Plan: All information still appears in the MPRIS activity and the controls still work.

Reviewers: KDE Connect, albertvaka

Reviewed By: KDE Connect, albertvaka

Differential Revision: https://phabricator.kde.org/D9084

Details

Committed
albertvakaDec 7 2017, 4:54 PM
Reviewer
KDE Connect
Differential Revision
D9084: Simplify MPRIS callback code
Parents
R225:044261ceb1fd: Use material icons in MPRIS activity
Branches
Unknown
Tags
Unknown