Opened 10 years ago

Closed 10 years ago

#8663 closed patch (fixed)

Trim caption data

Reported by: Dave Badia <dbadia@…> Owned by: beirdo
Priority: minor Milestone: unknown
Component: Plugin - MythGallery Version: Unspecified
Severity: medium Keywords:
Cc: Ticket locked: no


Patch to trim the caption data so that whitespace does not result in a false positive.

When "Overlay Caption" is enabled in MythGallery, a check is done via exif to look for caption data. In some cases (all of my photos taken with one of my more modern cameras), exif will return string of spaces for this data, which in turn causes the logic to think it found a caption when in reality it did not. The result is that the file name is not shown but it should be. This patch corrects this behavior.

Attachments (1)

gal-trim.diff (1.6 KB) - added by Dave Badia <dbadia@…> 10 years ago.

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by Dave Badia <dbadia@…>

Attachment: gal-trim.diff added

comment:1 Changed 10 years ago by robertm

Resolution: fixed
Status: newclosed

(In [25361]) Fix #8663, Trim caption exif data to remove whitespace and prevent false display of nonexistent captions. Thanks to Dave Badia for the patch.

Note: See TracTickets for help on using tickets.