Android F-Stop -XMP-fstop:favorite

Started by Marsu42, April 04, 2024, 06:51:30 PM

Previous topic - Next topic

Marsu42

In case you want to add another proprietary app xmp metadata field to the zoo:

The (rather popupular and good) Android app "F-Stop" uses the standard rating 1-5, plus a "heart" icon that maps to a custom xmp tag.

The xmp metadata sadly isn't specified anywhere (https://www.fstopapp.com/metadata/), the web page inside the xmp (http://www.fstopapp.com/xmp/) leads nowhere. I'm attaching an xmp sidcar file that is written with F-Stop's rating/favorite system.

No worries, I've covered it with a custom exiftool cfg, so I'm just mentioning it here.

%Image::ExifTool::UserDefined = (
    'Image::ExifTool::XMP::Main' => {
        fstop => {
            SubDirectory => {
                TagTable => 'Image::ExifTool::UserDefined::fstop',
            },
        },
    },
);

%Image::ExifTool::UserDefined::fstop = (
    GROUPS => { 0 => 'XMP', 1 => 'XMP-fstop', 2 => 'F-Stop' },
    NAMESPACE => { 'fstop' => 'http://www.fstopapp.com/xmp/' },
    WRITABLE => 'string', # (default to string-type tags)
    favorite => { Writable => 'favorite' },
);

Marsu42

Quote from: Marsu42 on April 04, 2024, 06:51:30 PMI'm attaching an xmp sidcar file that is written with F-Stop's rating/favorite system.

Um, attaching the xmp file didn't work, here's the content:

<?xpacket begin="�" id="W5M0MpCehiHzreSzNTczkc9d"?>
<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:xmp="http://ns.adobe.com/xap/1.0/"
    xmlns:fstop="http://www.fstopapp.com/xmp/"
   xmp:Rating="1"
   fstop:favorite="1"/>
 </rdf:RDF>
</x:xmpmeta>
<?xpacket end="w"?>

Phil Harvey

Thanks for the suggestion.  I'll keep this in mind.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).