Bug 317460

Summary: Nepomuk does not index metadata for mp3 and ogg files
Product: [Unmaintained] Active Reporter: Thomas Pfeiffer <thomas.pfeiffer>
Component: GeneralAssignee: active
Status: RESOLVED FIXED    
Severity: major CC: notmart
Priority: NOR    
Version: Integration   
Target Milestone: PA 4   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Thomas Pfeiffer 2013-03-27 19:05:12 UTC
Tags like artist, album etc. from music files are not indexed by Nepomuk in the standard PA images. Therefore, neither filtering in Files nor in Plasma Mediacenter works

Reproducible: Always

Steps to Reproduce:
1. Copy some ogg or mp3 files on your device
2. Get them indexed by Nepomuk
3. open Files, PMC or Bangarang and try to apply a metadata filter
Actual Results:  
No artists or albums are shown

Expected Results:  
List of artists/albums is shown
Comment 1 Aaron J. Seigo 2013-03-28 13:21:45 UTC
Task: package taglib.
Comment 2 Marco Martin 2013-04-12 09:40:23 UTC
this should be fixed as well, i get albums and artists both in active filebrowser and plasma-mediacenter

a thing that has to be taken into account, is that metadata won't happen instantly, files without metadata will appear and then metadata will be popuplated slowly only when idle. This is by design in nepomuk since brings a big increase in performance
Comment 3 Thomas Pfeiffer 2013-04-12 09:50:38 UTC
The lazy indexing makes sense, but it might confuse users, especially since on a tablet you might not have a lot of idle time (as they are supposed to go to sleep pretty quickly when idle). Does Nepomuk know that there are still metadata waiting to be indexed when there is enough free CPU to do it? If so, maybe in PA5 we can integrate a hint somewhere in Files like "Metadata of new files will be extracted when the device is idle" when there is still files waiting?
For PA4, a hint in the FAQs will have to do.
Comment 4 Thomas Pfeiffer 2013-04-12 19:33:31 UTC
Hm, now artist and album of some music files are indexed correctly, but others aren't (even though the same files are indexed correctly on my Desktop). The file names are indexed, though. Pretty weird...
Comment 5 Thomas Pfeiffer 2013-04-17 20:22:13 UTC
Hmm now more metadata are indexed, but some are weird ("et al." is a separate artist entry, for example) and still not all are indexed. It seems like this is due to the music indexer being crappy, though, so I'm marking the bug as fixed.