Open acidicX opened 3 years ago
For the personal photos, there is no parsing of EXIF or XMP data. Only the information provided in the "images.json" file is loaded and displayed (if present in the root of the selected folder). screensaverutils.py:L49 You will have to create your own parser for the EXIF or XMP data and put this information in the two available lines of "images.json" Example images.json:
[
{
"image":"IMG_0001.jpg",
"line1":"Line 1 for 0001",
"line2":"Line 2 for 0001"
},
{
"image":"IMG_0002.jpg",
"line1":"Line 1 for 0002",
"line2":"Line 2 for 0002"
}
]
I hope this helps.
There is currently a bug that keeps displaying "line2" from the previous picture, if the current picture does not have a "line2" set, it will be fixed if/when pull request 28 is merged.
@fuse314 thanks for the explanation! I've written a few lines in TypeScript to parse my Exif data and write that into the JSON. Works like a charm!
I'd open a PR to clarify this in the README if you want :)
Hi,
first of all, thanks for creating the addon! I've read the source but haven't found any info on how you parse the exif-data (note: I'm not that good in python), although it is mentioned in the README.
Which library is used and which properties does the addon parse and how should it be displayed? It would be nice if you could include that in the README, bceause there are a lot of similar-sounding fields in exif and XMP data.
Thanks!