summaryrefslogtreecommitdiffstats
path: root/mediaplayer-manager.h
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2017-07-14 17:35:50 -0700
committerMatt Ranostay <matt.ranostay@konsulko.com>2017-07-20 17:29:45 -0700
commit6a0857aa2b06826de0b7f4dcf583d582fd63bfea (patch)
tree7ce89cadb7d99d16883b9577221d2f2056c5ccdf /mediaplayer-manager.h
parentcccbe1188021ac4f7cbba7ee26d297448f29bbf3 (diff)
media: binding: improve media removal support
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 'mediaplayer-manager.h')
-rw-r--r--mediaplayer-manager.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/mediaplayer-manager.h b/mediaplayer-manager.h
index 94f3d8f..ae4fc8a 100644
--- a/mediaplayer-manager.h
+++ b/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