Hello!
I’m getting very different output when running
tracker info
(from Tracker 2.3.6) andtracker3 info
(from Tracker 3.1.2)
against any of my Ogg Vorbis files.
I have created a test file which this site is unfortunately not allowing me to attach here. The metadata fields inside the file, as reported by vorbiscomment -l
, are:
COMMENTS=Audacity 2.2.2
DATE=2022
TRACKNUMBER=10
TITLE=Ten Seconds of Silence
ALBUM=Some Album
ARTIST=Some Artist
I have tested these versions:
- Ubuntu 20.04 (Focal) - Tracker 2.3.6,
tracker-extract
2.3.3-2 - Ubuntu 21.10 (Impish) - Tracker 3.1.2,
tracker-extract
3.1.3-1
Full output from 2.3.6:
Querying information for entity: '/home/me/tracker3/test/silence-10s.ogg'
'urn:uuid:a5032946-f668-42d8-911a-b32e62536674'
Results:
'rdf:type' = 'http://www.w3.org/2000/01/rdf-schema#Resource'
'rdf:type' = 'http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataObject'
'rdf:type' = 'http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement'
'rdf:type' = 'http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#FileDataObject'
'rdf:type' = 'http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Media'
'rdf:type' = 'http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Audio'
'rdf:type' = 'http://www.tracker-project.org/temp/nmm#MusicPiece'
'nmm:trackNumber' = '10'
'nmm:performer' = 'urn:artist:Some%20Artist'
'nmm:musicAlbumDisc' = 'urn:album-disc:Some%20Album:2022-01-01T00:00:00Z:Disc1'
'nmm:musicAlbum' = 'urn:album:Some%20Album:2022-01-01T00:00:00Z'
'tracker:modified' = '38'
'tracker:available' = 'true'
'tracker:added' = '2022-02-20T12:35:37Z'
'nfo:fileSize' = '5131'
'nfo:fileName' = 'silence-10s.ogg'
'nfo:fileLastModified' = '2022-02-20T12:33:20Z'
'nfo:fileLastAccessed' = '2022-02-20T12:35:18Z'
'nfo:duration' = '10'
'nfo:belongsToContainer' = 'urn:uuid:7f39a22e-731d-4809-872f-c78bc1f9da3f'
'nfo:averageBitrate' = '320.0'
'nco:contributor' = 'urn:artist:Some%20Artist'
'nie:url' = 'file:///home/me/tracker3/test/silence-10s.ogg'
'nie:title' = 'Ten Seconds of Silence'
'nie:mimeType' = 'audio/x-vorbis+ogg'
'nie:isStoredAs' = 'urn:uuid:a5032946-f668-42d8-911a-b32e62536674'
'nie:isPartOf' = 'urn:uuid:7f39a22e-731d-4809-872f-c78bc1f9da3f'
'nie:isLogicalPartOf' = 'urn:album:Some%20Album:2022-01-01T00:00:00Z'
'nie:isLogicalPartOf' = 'urn:album-disc:Some%20Album:2022-01-01T00:00:00Z:Disc1'
'nie:informationElementDate' = '2022-01-01T00:00:00Z'
'nie:dataSource' = 'http://www.tracker-project.org/ontologies/tracker#extractor-data-source'
'nie:dataSource' = 'urn:nepomuk:datasource:9291a450-1d49-11de-8c30-0800200c9a66'
'nie:contentCreated' = '2022-01-01T00:00:00Z'
'nie:byteSize' = '5131'
'http://purl.org/dc/elements/1.1/title' = 'Ten Seconds of Silence'
'http://purl.org/dc/elements/1.1/source' = 'http://www.tracker-project.org/ontologies/tracker#extractor-data-source'
'http://purl.org/dc/elements/1.1/source' = 'urn:nepomuk:datasource:9291a450-1d49-11de-8c30-0800200c9a66'
'http://purl.org/dc/elements/1.1/date' = '2022-01-01T00:00:00Z'
'http://purl.org/dc/elements/1.1/date' = '2022-02-20T12:33:20Z'
'http://purl.org/dc/elements/1.1/date' = '2022-02-20T12:35:18Z'
'http://purl.org/dc/elements/1.1/contributor' = 'urn:artist:Some%20Artist'
'maemo:relevance' = '1000000.0'
Full output from 3.1.2:
Querying information for entity: '/home/me/tracker3/test/silence-10s.ogg'
'file:///home/me/tracker3/test/silence-10s.ogg'
Results:
'tracker:extractorHash' = 'be97d94d017e16ac0cea5d823ac1e8a904f68f4566b1c4a629319fb5b3e104bc'
'nfo:fileLastModified' = '2022-02-20T12:33:20Z'
'nfo:fileLastModified' = '2022-02-20T12:33:20Z'
'nfo:fileName' = 'silence-10s.ogg'
'nfo:fileName' = 'silence-10s.ogg'
'nfo:fileSize' = '5131'
'nfo:belongsToContainer' = 'urn:bnode:11587791-8ec5-45d9-8d0c-6ca92261eaa9'
'nfo:fileLastAccessed' = '2022-02-20T12:40:21Z'
'nie:isPartOf' = 'urn:bnode:11587791-8ec5-45d9-8d0c-6ca92261eaa9'
'nie:interpretedAs' = 'urn:bnode:931c05db-304e-4797-aa13-b606d7ae0d69'
'nie:dataSource' = 'urn:bnode:62d37494-906d-416c-972e-b9e8f31075f8'
'nie:byteSize' = '5131'
'nie:url' = 'file:///home/me/tracker3/test/silence-10s.ogg'
'http://purl.org/dc/elements/1.1/source' = 'urn:bnode:62d37494-906d-416c-972e-b9e8f31075f8'
'http://purl.org/dc/elements/1.1/date' = '2022-02-20T12:33:20Z'
'http://purl.org/dc/elements/1.1/date' = '2022-02-20T12:33:20Z'
'http://purl.org/dc/elements/1.1/date' = '2022-02-20T12:40:21Z'
'nrl:modified' = '6'
'nrl:modified' = '6'
'nrl:added' = '2022-02-20T12:40:21Z'
'nrl:added' = '2022-02-20T12:40:21Z'
'rdf:type' = 'http://www.w3.org/2000/01/rdf-schema#Resource'
'rdf:type' = 'http://tracker.api.gnome.org/ontology/v3/nie#DataObject'
'rdf:type' = 'http://tracker.api.gnome.org/ontology/v3/nfo#FileDataObject'
'rdf:type' = 'http://www.w3.org/2000/01/rdf-schema#Resource'
'rdf:type' = 'http://tracker.api.gnome.org/ontology/v3/nie#DataObject'
'rdf:type' = 'http://tracker.api.gnome.org/ontology/v3/nfo#FileDataObject'
TL;DR - The output from 2.x contains fields such as nmm:trackNumber
, nmm:performer
and nie:title
, all of which are missing from the output of 3.x. Is that the intended behaviour?
It seems to me that because the metadata is not being parsed, media player software that relies on Tracker fails to display song titles. At least that’s the symptom seen in Sailfish OS.
The obvious difference between the two versions is that the dedicated extractors for Vorbis and Flac file formats were removed in 2.99.2 and the GStreamer extractor is supposed to work fine. I’m thinking either it doesn’t, or the default configuration is somehow lacking.
Please let me know what further input you need from me to debug the issue. Thank you!