[gnome-music/freeze-break: 64/107] grilo: Check for grilo filesystem plugin
- From: Arnel A. Borja <arnelborja src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/freeze-break: 64/107] grilo: Check for grilo filesystem plugin
- Date: Wed, 11 Sep 2013 13:19:45 +0000 (UTC)
commit 9eebfb8be6bddfafea326c495a34c458800f30fd
Author: Arnel A. Borja <arnelborja src gnome org>
Date: Wed Sep 4 23:09:03 2013 +0800
grilo: Check for grilo filesystem plugin
gnomemusic/grilo.py | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gnomemusic/grilo.py b/gnomemusic/grilo.py
index 16abdf0..2785b51 100644
--- a/gnomemusic/grilo.py
+++ b/gnomemusic/grilo.py
@@ -66,6 +66,7 @@ class Grilo(GObject.GObject):
self.sources = {}
self.tracker = None
+ self.filesystem = None
self.registry.connect('source_added', self._on_source_added)
self.registry.connect('source_removed', self._on_source_removed)
@@ -83,6 +84,9 @@ class Grilo(GObject.GObject):
if self.tracker is not None:
self.emit('ready')
+ elif id == 'grl-filesystem':
+ self.sources[id] = mediaSource
+ self.filesystem = mediaSource
def _on_source_removed(self, pluginRegistry, mediaSource):
print('source removed')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]