Bug 316567

Summary: Do not index all audio files as nmm:MusicPiece
Product: nepomuk Reporter: Jörg Ehrichs <Joerg.Ehrichs>
Component: fileindexerAssignee: Nepomuk Bugs Coordination <nepomuk-bugs>
Status: RESOLVED FIXED    
Severity: task CC: nepomuk-bugs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 4.11

Description Jörg Ehrichs 2013-03-11 23:00:33 UTC
Currently when audio files are indexed they are added as nmm:MusicPiece.

This creates "music/tracks" for files like kde-runtime/knotify/sounds/KDE-Im-Contact-Out.ogg

Instead these should be handled as nfo:Audio only.
nmm:MusicPiece should be reserved for "real" music, rather thatn sound clips.

The files could be identified if ID3 tags are available or not.

* Files to touch:
services/fileindexer/indexer/taglibextractor.cpp