GNOME Bugzilla – Bug 645052
Improve extraction of title from filenames with multiple dots
Last modified: 2011-03-21 16:58:40 UTC
Hi, I'm having really poor nie:title for some video files : tracker-info file:///home/user/Videos/Series/The.Coin.Truc.2010.S01E02.HDTV.XviD-LOL.avi Querying information for entity:'file:///home/user/Videos/Series/The.Coin.Truc.2010.S01E02.HDTV.XviD-LOL.avi' 'urn:uuid:a1583540-efaf-fd3f-66fc-7d2cc2b84cdf' Results: 'http://purl.org/dc/elements/1.1/date' = '2010-06-08T09:15:24Z' 'http://purl.org/dc/elements/1.1/date' = '2011-03-17T17:44:59Z' 'http://purl.org/dc/elements/1.1/source' = 'urn:nepomuk:datasource:9291a450-1d49-11de-8c30-0800200c9a66' 'http://purl.org/dc/elements/1.1/title' = 'The' 'tracker:added' = '2011-03-17T17:47:56Z' 'tracker:modified' = '2183' '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#Visual' 'rdf:type' = 'http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Audio' 'rdf:type' = 'http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Video' 'rdf:type' = 'http://www.tracker-project.org/temp/nmm#Video' 'nie:byteSize' = '366673550' 'nie:dataSource' = 'urn:nepomuk:datasource:9291a450-1d49-11de-8c30-0800200c9a66' 'nie:isPartOf' = 'urn:uuid:4ff8aea0-6dd3-fdd6-7700-6285f77c3ef2' 'nie:url' = 'file:///home/user/Videos/Series/The.Coin.Truc.2010.S01E02.HDTV.XviD-LOL.avi' 'nfo:belongsToContainer' = 'urn:uuid:4ff8aea0-6dd3-fdd6-7700-6285f77c3ef2' 'tracker:available' = 'true' 'nie:contentCreated' = '2010-06-08T09:15:24Z' 'nie:informationElementDate' = '2010-06-08T09:15:24Z' 'nie:isStoredAs' = 'urn:uuid:a1583540-efaf-fd3f-66fc-7d2cc2b84cdf' 'nie:mimeType' = 'video/x-msvideo' 'nie:title' = 'The' 'nfo:fileLastAccessed' = '2011-03-17T17:44:59Z' 'nfo:fileLastModified' = '2010-06-08T09:15:24Z' 'nfo:fileName' = 'The.Coin.Truc.2010.S01E02.HDTV.XviD-LOL.avi' 'nfo:fileSize' = '366673550' 'nfo:codec' = 'MPEG-1 layer 3' 'nfo:duration' = '2508' Could you reconsider the inclusion of this patch : http://build.meego.com/package/view_file?file=0002-Tracker-extract-Parse-the-video-filename-to-obtain-e.patch&package=tracker&project=devel%3Acontentfw&srcmd5=c91b724488ee9ae476a9ce65755d8152 Even if it's just a guess, it seems better than what we have at the moment.
Lionel, this was discussed on the MeeGoDev list recently and has been reported a while back by Intel actually already ;) Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of bug 607548 ***
I'm reopening, the problem is probably located around here : src/libtracker-data/tracker-db-interface-sqlite.c:210: /* "/home/user/path/title_of_the_movie.movie" -> "title of the movie"
Created attachment 183959 [details] [review] rework
Created attachment 183965 [details] [review] rework v2
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.