mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 17:55:50 +00:00
Bug 1615270 - [Media-Control Linux] MPRIS: Correctly emit the PropertyChange Event on the Player Interface (https://specifications.freedesktop.org/mpris-spec/latest/Player_Interface.html), r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D63811 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
9de9318c48
commit
66937693fb
@ -586,7 +586,8 @@ void MPRISServiceHandler::SetPlaybackState(dom::PlaybackState aState) {
|
||||
g_dbus_connection_emit_signal(
|
||||
mConnection, nullptr, DBUS_MPRIS_OBJECT_PATH,
|
||||
"org.freedesktop.DBus.Properties", "PropertiesChanged",
|
||||
g_variant_new("(sa{sv}as)", "org.mpris.MediaPlayer2", &builder, nullptr),
|
||||
g_variant_new("(sa{sv}as)", "org.mpris.MediaPlayer2.Player", &builder,
|
||||
nullptr),
|
||||
nullptr);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user