On 02/19/2008 05:30 PM, MythTV wrote:
> #3641: Add MythWeb preview images to myth.find_orphans.pl -script
>> Comment:
>> This patch needs to be updated for trunk where the format has changed.
And should be using a regex as the actual sizes of previews are whatever
is requested by MythWeb or any other client using the XML interface to
retrieve previews.
All of the rename/delete functionality in MythTV is using ".*" between
the basename and "\.png" parts. Only mythrename.pl is requiring one of
the two formats that have been used for previews. (Remember that we
still need to support the old-format name since previews may have been
generated by the code that used the old name format. If so, they are
served rather than generating new ones with the new name format or
renaming to the new name format.)
Also, I'd love to see consensus on whether we should keep fixing
myth.find_orphans.pl or if we can just delete it and replace it with
Mark's patch in #4599. The myth.find_orphans.pl script was written
before, and, therefore, doesn't use the Perl bindings. Because of this,
it doesn't get its DB connection info "properly" (it uses defaults or
command-line args). Before a new release is a good time to replace a
script... ;)
Mike