[mythtv] [PATCH] mythgallery: retrieve and show captions
Herman Kuiper
herman at frontier.nl
Tue Jul 19 12:40:16 EDT 2005
Hi,
--On 18 July 2005 20:54 -0500 Kevin Kuphal <kuphal at dls.net> wrote:
> Glyn Davies wrote:
>> I generate my photo albums using a simple script from
>> marginalhacks.com called album
>> (http://marginalhacks.com/Hacks/album/). I'm very happy with it, and
>> it seems quite popular (search for the word "album" on google, it's
>> the first hit).
My own album started around the thumbnail script from the same maker -
rewritten in PHP nowadays :-)
>> It's been tackled in similar way to the
>> existing support for gallery.sourceforge.net.
I think it would be nice if mythgallery was enhanced with a setting (a
regular expression or something) to indicate directories/files to be
excluded, instead of hardcoding those directory names...
>> There I was, wondering how much effort it'd be to pick up albums
>> "captions.txt" file and do something useful with it, and I come across
>> this mailling list thread. (I'm patching 0.18.1, so until this thread,
>> I've been unaware of any specific captions support.) On reading
>> Herman's initial mail, it sounded like the perfect answer to my
>> problem.
I don't think this will get in, altough I wouldn't mind. If you leave out
the setting, or set it to "EXIF" or something, use the data from the
header. But I like the road of least resistance, so I'll make a tiny PHP
script to insert my captions into the images, and only have the display of
captions in my next mythgallery patch.
> Just another 2 cents. Seeing that your Album software is Perl and that
> Perl has EXIF support in a number of ways, it seems it would be a better
> use of everyone's time that you extend your prefered software to use the
> "standard" EXIF instead of a proprietary captions.txt and someone do the
> same for Myth and they will then be integrated as you desire plus it
> integrates with every other album software known to man that supports
> EXIF as well.
Given that the proposed solution is already available as a patch, but
rejected, adding retrieval of EXIF captions on top of that is just a much
use of everybody's time as I'll need to add that anyway to get it committed
in the first place... I'm guessing that adding EXIF-captions is less than a
handful of lines of code anyway.
Herman
-----------------------------------------------------------------
Herman Kuiper - m: herman at frontier.nl - w: http://www.frontier.nl
Beech Ave 162 - 1119 PS Schiphol-Rijk - t/f: 020-6589034/6142816
More information about the mythtv-dev
mailing list