GNOME Bugzilla – Bug 766115
musics is shown multiple times in music listing
Last modified: 2016-09-13 16:37:50 UTC
Created attachment 327449 [details] music repetition in the ui of music listing Some musics are shown multiple times in music listing. I don't have multiple copies of these same musics in my filesystem, it appears to be just an ui bug Not all musics are shown this way, and the number of repetetions is not always the same for all musics. A screenshot is attached with some examples.
Can you attach the output of the following commandline statement: tracker sparql -q "SELECT tracker:id(?song) ?url { ?song a nmm:MusicPiece; a nfo:FileDataObject . ?song a nmm:MusicPiece; nmm:musicAlbumDisc ?disc; nmm:musicAlbum ?album; nmm:performer ?performer; nie:url ?url. ?album nmm:albumArtist ?albumArtist; nie:title ?title . FILTER (STRSTARTS(nie:title(?album), 'Pulp'))}"
Created attachment 327547 [details] tracker sparql Hi Marinus, Thanks for your help. Attached is the file tracker-sparql-output.txt with the result of this command. FYI, I already tried to clean all the indexes through tracker-preferences, but it keeps regenerating them the same way. Best regards.
Created attachment 327548 [details] tracker sparql after indexes regenerated Sorry I sent the wrong file that I created just after the clean up of the indexes. Then I waited again for the reindex regeneration and create a new file attached as tracker-sparql-output-indexes-regenerated.txt Best,
Created attachment 327558 [details] [review] query: show songs only once The all songs query could return the same song multiple times, alter the query to return a song only once.
Your output (thanks!) shows the same song(id) returned multiple times by tracker, the patch above should fix that. Please test.
Hi Marinus, It works, thanks!
I think this got lost in the query rework during the 3.19/20 cycle. Thanks for the report. This problem has been fixed in the unstable development version. The fix will be available in the next major software release. You may need to upgrade your Linux distribution to obtain that newer version.
*** Bug 771372 has been marked as a duplicate of this bug. ***