From d80e48f4c7ed330efa0d6d60a1cd4fb91f234cf3 Mon Sep 17 00:00:00 2001 From: Soul Trace Date: Fri, 17 Jan 2020 14:19:12 +0300 Subject: [PATCH] Let user open in the PC browser media URL to Android device [2/2] Let kdeconnect-kde send xesam:url field to renote device in "url" field. --- plugins/mpriscontrol/mpriscontrolplugin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/mpriscontrol/mpriscontrolplugin.cpp b/plugins/mpriscontrol/mpriscontrolplugin.cpp index 88bb9ecff..503471dbf 100644 --- a/plugins/mpriscontrol/mpriscontrolplugin.cpp +++ b/plugins/mpriscontrol/mpriscontrolplugin.cpp @@ -390,6 +390,7 @@ void MprisControlPlugin::mprisPlayerMetadataToNetworkPacket(NetworkPacket& np, c length = -1; } np.set(QStringLiteral("length"), length); + np.set(QStringLiteral("url"), nowPlayingMap[QStringLiteral("xesam:url")].toString()); } #include "mpriscontrolplugin.moc"