Only make one request for list of MPRIS players during plugin creation

Authored by philipc on Mar 24 2018, 5:36 PM.

Description

Only make one request for list of MPRIS players during plugin creation

Summary:
MPrisPlugin previously made two calls to requestPlayerList() in its
onCreate() method. This change deletes the first of those, so that
only one network packet is sent and received.

Test Plan:
Pair a new device, confirm that only one request for media players is
received by remote client.

Reviewers: KDE Connect, mtijink

Reviewed By: KDE Connect, mtijink

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

Details

Committed
mtijinkMar 24 2018, 5:38 PM
Reviewer
KDE Connect
Differential Revision
D11648: Only make one request for list of MPRIS players during plugin creation
Parents
R225:7877d2803cd3: Fix blurry rasterized icons
Branches
Unknown
Tags
Unknown