MyPicsDB: dosen't parse XMP tags (dc:tittle) made by gThumb
#1
Hi Xycl thanks for your great plugin that i ty to use
(Mysql database is a great idea)

I am under Ubuntu 12.04 and uses gThumb 3.1.2 to tag my pictures. I use xbmc 12 and My Pictures Database 12.0.0 add on under a Raspbery PI.

When I tag the title in my pictures under gThumb, he dosen't put dc:tittle in a "<> structure". So the xmp parser of My Pictures Database dosen't capature it.
here is the xmp output (normaly he is on 1 ligne) who don't work:
Code:
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 4.4.0-Exiv2">
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rdf:Description
    rdf:about=""
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:exif="http://ns.adobe.com/exif/1.0/"
    xmlns:Iptc4xmpCore="http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/"
    xmlns:xap="http://ns.adobe.com/xap/1.0/"
    dc:title="Vacances à la Tranche"
    exif:DateTimeOriginal="2012-05-28T13:46:27+02:00"
    Iptc4xmpCore:Location="Tranche sur mer"
    xap:CreateDate="2012-05-28T13:46:27+02:00">
<Iptc4xmpCore:Keywords> <rdf:Bag> <rdf:li>Vacances</rdf:li> </rdf:Bag> </Iptc4xmpCore:Keywords>
</rdf:Description>
</rdf:RDF>
</x:xmpmeta>

The parser work correctly when the xmp structure is like that:
Code:
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 4.4.0-Exiv2">
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rdf:Description
    rdf:about="" xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:exif="http://ns.adobe.com/exif/1.0/"
    xmlns:Iptc4xmpCore="http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/"
    xmlns:xap="http://ns.adobe.com/xap/1.0/"
    exif:DateTimeOriginal="2012-05-28T09:34:21+02:00"
    Iptc4xmpCore:Location="Tranche sur mer"
    xap:CreateDate="2012-05-28T09:34:21+02:00">
    <dc:title><rdf:Alt> <rdf:li xml:lang="x-default">Vacances à la Tranche</rdf:li> </rdf:Alt> </dc:title>
    <Iptc4xmpCore:Keywords> <rdf:Bag> <rdf:li>Vacances</rdf:li> </rdf:Bag>
    </Iptc4xmpCore:Keywords>
</rdf:Description>
</rdf:RDF>
</x:xmpmeta>

I don't know the standard of XMP structure (i search it but it's not clear), and the other software to tag picture under Ubuntu are not as good as gThumb.
Can you modifiy the XMP parser to capture this XMP structure.

Thank's
Xabir a new user
Reply
#2
Hi Xabir,

modifying MyPicsDB due to a bug in gThumb is like modifying websites due to a buggy Internet Explorer.

Look at:
dc:title is not an attribute of rdfBig Grinescription but a tag within it's sub structure.

Xycl
No log no help.
Main page: https://github.com/Xycl
Repository: Xycl Repository Leia
Repository: Xycl Repository Matrix
Reply
#3
Hi Xycl,

Thank's for your complete answer. I'll try to use Shotwell (who have no location tag Sad) who seems to respect the xmp structure.
For information, I test gThumb version 3.2.2 and the problem seem the same. I'll wait for a version which fixes this bug.

Thank's for your work
Reply

Logout Mark Read Team Forum Stats Members Help
MyPicsDB: dosen't parse XMP tags (dc:tittle) made by gThumb0