From 521d92547172a0b37c2f75c28b9ad6d715d5be15 Mon Sep 17 00:00:00 2001 From: Marinus Schraal Date: Thu, 11 Jan 2018 23:41:39 +0100 Subject: [PATCH] grilo: Block spotify plugin Spotify no longer allows unauthenticated coverart access, making the plugin useless and only print warnings. Closes #132 --- gnomemusic/grilo.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/gnomemusic/grilo.py b/gnomemusic/grilo.py index 55cd55ceb..46dcad457 100644 --- a/gnomemusic/grilo.py +++ b/gnomemusic/grilo.py @@ -35,8 +35,7 @@ import os os.environ['GRL_PLUGIN_RANKS'] = ("grl-local-metadata:5," "grl-filesystem:4," "grl-tracker-source:3," - "grl-lastfm-cover:2," - "grl-spotify-cover:1") + "grl-lastfm-cover:2") from gi.repository import Grl logger = logging.getLogger(__name__) @@ -97,7 +96,13 @@ class Grilo(GObject.GObject): Grl.ResolutionFlags.IDLE_RELAY) self.sources = {} - self.blacklist = ['grl-filesystem', 'grl-bookmarks', 'grl-metadata-store', 'grl-podcasts'] + self.blacklist = [ + 'grl-filesystem', + 'grl-bookmarks', + 'grl-metadata-store', + 'grl-podcasts', + 'grl-spotify-cover' + ] self.tracker = None self.changed_media_ids = [] self.pending_event_id = 0 -- GitLab