Commit 8e8ccd56 authored by Marinus Schraal's avatar Marinus Schraal Committed by Marinus Schraal

grilo: Block spotify plugin

Spotify no longer allows unauthenticated coverart access, making the
plugin useless and only print warnings.

Closes #132


(cherry picked from commit 521d9254)
parent babaa967
Pipeline #2010 failed with stages
in 9 minutes and 50 seconds
......@@ -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__)
......@@ -96,7 +95,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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment