Commit fb87cd28 authored by Carlos Garnacho's avatar Carlos Garnacho

tracker-extract: Only set nfo:Audio on rules handling FLAC files

This is the most generic class that still triggers GraphUpdated, we need
to delegate on the extractor module to figure out whether the file is a
music piece on its own or a container of music pieces.

In the latter case the role belongs on the contained elements, not on the
file resource itself, so avoid setting it here for all.
parent 8feaa263
Pipeline #72125 passed with stage
in 1 minute and 12 seconds
[ExtractorRule]
ModulePath=libextract-flac.so
MimeTypes=audio/x-flac
FallbackRdfTypes=nmm:MusicPiece;nfo:Audio;
FallbackRdfTypes=nfo:Audio;
[ExtractorRule]
ModulePath=libextract-gstreamer.so
MimeTypes=audio/*;
FallbackRdfTypes=nmm:MusicPiece;nfo:Audio;
FallbackRdfTypes=nfo:Audio;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment