[gnome-music/wip/mschraal/core: 2/3] trackersource: Improve artists query
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/core: 2/3] trackersource: Improve artists query
- Date: Sat, 22 Jun 2019 11:55:14 +0000 (UTC)
commit 0a1c0fa56d78b8dc6ea9c9b8eaf92b1e8595653a
Author: Marinus Schraal <mschraal gnome org>
Date: Sat Jun 22 10:52:39 2019 +0200
trackersource: Improve artists query
gnomemusic/grilowrappers/grltrackersource.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/gnomemusic/grilowrappers/grltrackersource.py b/gnomemusic/grilowrappers/grltrackersource.py
index 2039f464..78a8985c 100644
--- a/gnomemusic/grilowrappers/grltrackersource.py
+++ b/gnomemusic/grilowrappers/grltrackersource.py
@@ -263,7 +263,10 @@ class GrlTrackerSource(GObject.GObject):
nmm:artistName(?artist_class) AS ?artist
{
?artist_class a nmm:Artist .
- }
+ ?song a nmm:MusicPiece;
+ nmm:musicAlbum ?album;
+ nmm:performer ?artist_class .
+ } GROUP BY ?artist_class
""".replace('\n', ' ').strip()
options = self._fast_options.copy()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]