[gnome-music/wip/carlosg/tracker3] coregrilo: Use updated grilo tracker3 plugin ID
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/carlosg/tracker3] coregrilo: Use updated grilo tracker3 plugin ID
- Date: Sun, 28 Jun 2020 17:08:31 +0000 (UTC)
commit 8cdd0293b52cd11eeaac2a1f0b763a7cb692da97
Author: Carlos Garnacho <carlosg gnome org>
Date: Sun Jun 28 18:21:24 2020 +0200
coregrilo: Use updated grilo tracker3 plugin ID
gnomemusic/coregrilo.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gnomemusic/coregrilo.py b/gnomemusic/coregrilo.py
index 07fcc2cc..df442c67 100644
--- a/gnomemusic/coregrilo.py
+++ b/gnomemusic/coregrilo.py
@@ -95,7 +95,7 @@ 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 = Grl.Config.new("grl-tracker3", "grl-tracker3-source")
config.set_string(
"store-path", self._tracker_wrapper.cache_directory())
self._registry.add_config(config)
@@ -132,10 +132,10 @@ class CoreGrilo(GObject.GObject):
new_state = self._tracker_wrapper.props.tracker_available
# FIXME:No removal support yet.
if new_state == TrackerState.AVAILABLE:
- tracker_plugin = self._registry.lookup_plugin("grl-tracker")
+ tracker_plugin = self._registry.lookup_plugin("grl-tracker3")
if tracker_plugin:
- self._registry.unload_plugin("grl-tracker")
- self._registry.activate_plugin_by_id("grl-tracker")
+ self._registry.unload_plugin("grl-tracker3")
+ self._registry.activate_plugin_by_id("grl-tracker3")
def _on_source_added(self, registry, source):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]