New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JSON API does not share EXIF data for pictures in slideshow (GetInfoLabels) #23360
Comments
Hello, +1 for solving this issue! I can add that EXIF tag "UserComment" is not being reported correctly anymore, although it worked perfectly ok in Matrix or Leia when used in Slideshow labels for example. $INFO[Slideshow.EXIFComment] : gives now an empty string despite it is not empty at all Seems that mean more deeply broken stuff in EXIF tags management with Nexus ... Note : This can be easily repoduced with the JSON API call as described in this issue, field name being Slideshow.EXIFComment. |
@enen92, I was looking at the code changes which added the out-of-boundary fixes from aosp. While doing this I stumbled across the use of Code snippets from ExifParse.cpp:
The Google code just uses |
Update: I could setup a Kodi build for Linux and look into the code changes related to the security / out-of-boundary checks which were made in 7e5f9fb and 00fec1d. None of them is causing the failing exif. Also changing |
Thanks! Just compiled it and confirmed the EXIF data is readable again via JSON API. |
@enen92 Thx a lot for proposing a fix on V19/V20 before the main rewriting, much appreciated ! |
Bug report
Describe the bug
Here is a clear and concise description of what the problem is:
The JSON API of Kodi 21.0 ALPHA does not provide the expected response for picture EXIF data when requesting it via the following command:
With 19.5 it works with the same image files.
Also, as per iOS Remote App use it does not work with Kodi 20.1, but with Kodi 17.6 (see https://forum.kodi.tv/showthread.php?tid=359717&pid=3155095#pid3155095).
Expected Behavior
Here is a clear and concise description of what was expected to happen:
The response provides results for all requested items, if present.
Actual Behavior
The response has empty strings as results for most of the fields. Only for camera make, camera model, filename, resolution and time there is a proper response.
Possible Fix
I cannot tell.
To Reproduce
Steps to reproduce the behavior:
Debuglog
The debuglog can be found here:
Screenshots
Here are some links or screenshots to help explain the problem:
Additional context or screenshots (if appropriate)
Here is some additional context or explanation that might help:
Your Environment
Used Operating system:
Android
iOS
tvOS
Linux
macOS
Windows
Windows UWP
Operating system version/name: Linux Mint 21.1
Kodi version: 21.0 ALPHA
note: Once the issue is made we require you to update it with new information or Kodi versions should that be required.
Team Kodi will consider your problem report however, we will not make any promises the problem will be solved.
The text was updated successfully, but these errors were encountered: