[gnome-music/wip/mschraal/asyncqueue-fixes: 25/29] grltrackerwrapper: Make art queries low prio




commit dd8466f2bd6fe754bbe65b014552757e5c976c26
Author: Marinus Schraal <mschraal gnome org>
Date:   Tue Sep 7 12:57:32 2021 +0200

    grltrackerwrapper: Make art queries low prio

 gnomemusic/grilowrappers/grltrackerwrapper.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gnomemusic/grilowrappers/grltrackerwrapper.py b/gnomemusic/grilowrappers/grltrackerwrapper.py
index e648af3a9..1b65fab97 100644
--- a/gnomemusic/grilowrappers/grltrackerwrapper.py
+++ b/gnomemusic/grilowrappers/grltrackerwrapper.py
@@ -1240,7 +1240,7 @@ class GrlTrackerWrapper(GObject.GObject):
         query: str = self._get_album_for_media_id_query(song_id)
 
         self.props.source.query(
-            query, self._METADATA_THUMBNAIL_KEYS, self._full_options_prio,
+            query, self._METADATA_THUMBNAIL_KEYS, self._full_options_lprio,
             art_retrieved_cb)
 
     def get_album_art(self, corealbum: CoreAlbum) -> None:
@@ -1269,7 +1269,7 @@ class GrlTrackerWrapper(GObject.GObject):
         query: str = self._get_album_for_media_id_query(album_id, False)
 
         self.props.source.query(
-            query, self._METADATA_THUMBNAIL_KEYS, self._full_options_prio,
+            query, self._METADATA_THUMBNAIL_KEYS, self._full_options_lprio,
             art_retrieved_cb)
 
     def get_artist_art(self, coreartist: CoreArtist) -> None:
@@ -1297,7 +1297,7 @@ class GrlTrackerWrapper(GObject.GObject):
                 StoreArt(), coreartist, resolved_media.get_thumbnail())
 
         self.props.source.resolve(
-            media, [Grl.METADATA_KEY_THUMBNAIL], self._full_options_prio,
+            media, [Grl.METADATA_KEY_THUMBNAIL], self._full_options_lprio,
             art_resolved_cb)
 
     def stage_playlist_deletion(self, playlist: Optional[Playlist]) -> None:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]