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




commit a71ba973a6dd0f8d940054307e899de59da05d97
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 7bfd155f1..4eae6de1c 100644
--- a/gnomemusic/grilowrappers/grltrackerwrapper.py
+++ b/gnomemusic/grilowrappers/grltrackerwrapper.py
@@ -382,7 +382,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]