summaryrefslogtreecommitdiffstats
path: root/binding/mediaplayer-manager.h
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2017-07-14 17:35:50 -0700
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-07-24 21:51:40 +0000
commit71b6e40301a2e23edfeaea5c33187db14c4d8917 (patch)
tree77275d972df9fcb151ed7f00334a8bb738c1d0f8 /binding/mediaplayer-manager.h
parent213feb8d7c8c1d4ef75fc72df38e598c1ff44458 (diff)
media: binding: improve media removal supportdab_4.0.0dab/4.0.04.0.0
Use glib's inotify support instead of UDisks to get the actual path of an unmounted drive. This in turn allows removal of items on the playlist respective to only that device. Bug-AGL: SPEC-610 SPEC-757 Change-Id: Iaabb004934367bf1e60dab3f9f3365c2eb0b517d Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'binding/mediaplayer-manager.h')
-rw-r--r--binding/mediaplayer-manager.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/binding/mediaplayer-manager.h b/binding/mediaplayer-manager.h
index 94f3d8f..ae4fc8a 100644
--- a/binding/mediaplayer-manager.h
+++ b/binding/mediaplayer-manager.h
@@ -22,7 +22,6 @@
#include <glib-object.h>
#include "lightmediascanner_interface.h"
-#include "udisks_interface.h"
/* Debug Trace Level */
#define DT_LEVEL_ERROR (1 << 1)
@@ -65,11 +64,9 @@ void DebugTraceSendMsg(int level, gchar* message);
//remote service
#define LIGHTMEDIASCANNER_SERVICE "org.lightmediascanner"
-#define UDISKS_SERVICE "org.freedesktop.UDisks"
//object path
#define LIGHTMEDIASCANNER_PATH "/org/lightmediascanner/Scanner1"
-#define UDISKS_PATH "/org/freedesktop/UDisks"
//interface
#define LIGHTMEDIASCANNER_INTERFACE "org.lightmediascanner.Scanner1"
@@ -85,7 +82,6 @@ typedef struct {
GList *list;
GMutex m;
Scanner1 *lms_proxy;
- OrgFreedesktopUDisks *udisks_proxy;
} stMediaPlayerManage;
typedef struct tagBinding_RegisterCallback