[gnome-music/wip/carlosg/tracker3: 10/17] coregrilo: Specify the private store path to the Grilo plugin
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/carlosg/tracker3: 10/17] coregrilo: Specify the private store path to the Grilo plugin
- Date: Sun, 14 Jun 2020 17:51:51 +0000 (UTC)
commit 7047a718be2376a056437c098bc57c72ccb4e492
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]