[gnome-music/wip/mschraal/block-spotify] grilo: Block spotify plugin
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/block-spotify] grilo: Block spotify plugin
- Date: Thu, 11 Jan 2018 22:45:38 +0000 (UTC)
commit 521d92547172a0b37c2f75c28b9ad6d715d5be15
Author: Marinus Schraal <mschraal gnome org>
Date: Thu Jan 11 23:41:39 2018 +0100
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 55cd55c..46dcad4 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]