[gnome-music/wip/mschraal/grltrackerwrapper-notify-fixes: 11/11] grltrackerwrapper: Remove quotes for IN filter




commit df47935d82541c47c53be2f1c3bd65a5aa5999d6
Author: Marinus Schraal <mschraal gnome org>
Date:   Thu Oct 22 00:31:35 2020 +0200

    grltrackerwrapper: Remove quotes for IN filter
    
    With the move to Tracker3 the parser no longer handles quoted arguments
    to the IN operater.

 gnomemusic/grilowrappers/grltrackerwrapper.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnomemusic/grilowrappers/grltrackerwrapper.py b/gnomemusic/grilowrappers/grltrackerwrapper.py
index 92d65cb8..f7a52019 100644
--- a/gnomemusic/grilowrappers/grltrackerwrapper.py
+++ b/gnomemusic/grilowrappers/grltrackerwrapper.py
@@ -381,7 +381,7 @@ class GrlTrackerWrapper(GObject.GObject):
                     break
 
     def _song_media_query(self, ids: List[str]) -> str:
-        media_ids: str = str(ids)[1:-1]
+        media_ids: str = str(media_ids)[1:-1].replace("'", "")
 
         query = """
         SELECT


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