[gnome-music/wip/mschraal/art-fixes-regressions: 3/5] grltrackerwrapper: Fix art callbacks
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/art-fixes-regressions: 3/5] grltrackerwrapper: Fix art callbacks
- Date: Tue, 7 Sep 2021 00:44:35 +0000 (UTC)
commit 20d5a6afd2912081867d74b088f42b25f9db134b
Author: Marinus Schraal <mschraal gnome org>
Date: Tue Sep 7 02:18:19 2021 +0200
grltrackerwrapper: Fix art callbacks
If an art uri is retrieved, the query callback will end with an empty
set (no media). Setting the thumbnail to generic here is unneeded as it
should be generic to begin with, but it also might overwrite a valid uri
that has been set in a previous query iteration.
Do not set the coreobject thumbnail to "generic".
gnomemusic/grilowrappers/grltrackerwrapper.py | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/gnomemusic/grilowrappers/grltrackerwrapper.py b/gnomemusic/grilowrappers/grltrackerwrapper.py
index 6d9203981..a86dbb890 100644
--- a/gnomemusic/grilowrappers/grltrackerwrapper.py
+++ b/gnomemusic/grilowrappers/grltrackerwrapper.py
@@ -1218,7 +1218,6 @@ class GrlTrackerWrapper(GObject.GObject):
return
if queried_media is None:
- coresong.props.thumbnail = "generic"
return
self._async_queue.queue(
@@ -1248,7 +1247,6 @@ class GrlTrackerWrapper(GObject.GObject):
return
if queried_media is None:
- corealbum.props.thumbnail = "generic"
return
self._async_queue.queue(
@@ -1280,7 +1278,6 @@ class GrlTrackerWrapper(GObject.GObject):
return
if resolved_media is None:
- coreartist.props.thumbnail = "generic"
return
self._async_queue.queue(
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]