diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2019-07-22 16:27:21 -0700 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2019-07-25 13:09:27 +0000 |
commit | ca519329c0cc04607286cebcdb0b7b304473ff96 (patch) | |
tree | 647203d342110497aa1204ebf05f00a79d8c683d /binding | |
parent | b2174f462d8da243b8ae7ea0955f614907a3bda7 (diff) |
binding: mediaplayer: switch to G_BUS_TYPE_SYSTEM dbus sessionhalibut_8.0.5halibut_8.0.4halibut_8.0.3halibut_8.0.2halibut_8.0.1halibut_8.0.0halibut/8.0.5halibut/8.0.4halibut/8.0.3halibut/8.0.2halibut/8.0.1halibut/8.0.08.0.58.0.48.0.38.0.28.0.18.0.0
lightmediascanner now listens on the G_BUS_TYPE_SYSTEM dbus session
and no longer the user's session.
Bug-AGL: SPEC-2655
Change-Id: I054de128556b7d2cfcdd42d8ddc345befa3a2021
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
(cherry picked from commit ee883c3f23b4a4b49730396e7522646b9c224ab4)
Diffstat (limited to 'binding')
-rw-r--r-- | binding/media-manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binding/media-manager.c b/binding/media-manager.c index f15d79e..549153b 100644 --- a/binding/media-manager.c +++ b/binding/media-manager.c @@ -220,7 +220,7 @@ static int MediaPlayerDBusInit(void) GError *error = NULL; MediaPlayerManage.lms_proxy = scanner1_proxy_new_for_bus_sync( - G_BUS_TYPE_SESSION, G_DBUS_PROXY_FLAGS_NONE, LIGHTMEDIASCANNER_SERVICE, + G_BUS_TYPE_SYSTEM, G_DBUS_PROXY_FLAGS_NONE, LIGHTMEDIASCANNER_SERVICE, LIGHTMEDIASCANNER_PATH, NULL, &error); if (MediaPlayerManage.lms_proxy == NULL) { |