Nepomuk failed to resolve artist information for some of my MP3 files. Instead of the artist it stored some nepomuk resource URL.
Attached is the nepomukshow output of said file.
Created attachment 80628 [details]
nepomukshow of that file
It's fine. The artist is stored in another nepomuk resource.
You can do nepomukshow nepomuk:/res/bd9c321b-7dfd-4a7c-92e1-e239796d78ee in your case to see the details.
Ok, so it's a Dolphin issues then? Dolphin doesn't resolve this and instead just prints out the Ressource URL.
Oh. Dolphin should resolve it because it uses Nepomuk code to do that.
Could you print the output for - nepomukshow nepomuk:/res/bd9c321b-7dfd-4a7c-92e1-e239796d78ee
Created attachment 80635 [details]
Here the artist name is properly shown but in Dolphin I only get the ressource URL. Tested with both Additional meta information in icon view and an additional column in tree view.
The info panel on the right shows them correctly and so does the properties dialog. It's just the view that does it wrong.
Could you please attach a screenshot?
Created attachment 80636 [details]
This is quite strange. From where did you get nepomukshow?
From your repository: scratch/vhanda/nepomukshow
Could you please enable the dolphin information panel and check if the same thing happens over there?
As I mentioned in Comment #6 the information panel does it right, just the information in the view is not properly resolved.
Created attachment 80700 [details]
Confirming also here, with master. Attached screenshot of view, tooltip and info panel. As noted, problem is only in view.
Created attachment 80701 [details]
Nepomukshow of file, and both performer properties
If it ain't obvious already, removing the "," from performer, and after reindexing, property is "correctly" shown in view. And vice versa, when adding, it again prints resource URL
(In reply to comment #15)
> If it ain't obvious already, removing the "," from performer, and after
> reindexing, property is "correctly" shown in view. And vice versa, when
> adding, it again prints resource URL
It wasn't obvious. Thanks!
Created attachment 80702 [details]
Fixes the issue
I've tested the patch. This fixes the issue.
@Frank: Is it okay to commit? Or should I file a review request?
I love it when bugs get assigned to Dolphin and a fix is available already :-)
Patch looks good from my point of view, please commit. Thanks everyone for analyzing and fixing this issue!
Git commit 4b0498a454a76bb29953af9ef7510fe5a9363764 by Vishesh Handa.
Committed on 22/06/2013 at 01:11.
Pushed by vhanda into branch 'master'.
Dolphin Nepomuk Roles: Handle values which are resource lists
It is common for music files to have more than one artist
M +7 -0 dolphin/src/kitemviews/private/knepomukrolesprovider.cpp