[gnome-music/wip/carlosg/tracker3: 61/68] coregrilo: Specify the private store path to the Grilo plugin
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/carlosg/tracker3: 61/68] coregrilo: Specify the private store path to the Grilo plugin
- Date: Wed, 17 Jun 2020 18:40:28 +0000 (UTC)
commit 28afbe9c3b30554beb4d9074ef27a6d5a463eb93
Author: Carlos Garnacho <carlosg gnome org>
Date: Sun May 31 17:42:43 2020 +0200
coregrilo: Specify the private store path to the Grilo plugin
This will make it possible to query for things that are in the
private store, in addition to things from the miner-fs service.
gnomemusic/coregrilo.py | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/gnomemusic/coregrilo.py b/gnomemusic/coregrilo.py
index a72aebba..07fcc2cc 100644
--- a/gnomemusic/coregrilo.py
+++ b/gnomemusic/coregrilo.py
@@ -95,6 +95,11 @@ class CoreGrilo(GObject.GObject):
config.set_api_key(self._acoustid_api_key)
self._registry.add_config(config)
+ config = Grl.Config.new("grl-tracker", "grl-tracker3-source")
+ config.set_string(
+ "store-path", self._tracker_wrapper.cache_directory())
+ self._registry.add_config(config)
+
self._registry.connect('source-added', self._on_source_added)
self._registry.connect('source-removed', self._on_source_removed)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]