[mythtv] [mythtv-commits] Ticket #3641: Add MythWeb preview images to myth.find_orphans.pl -script

Otto Kolsi otto at kolsi.fi
Wed Jun 20 05:49:08 UTC 2007

Michael T. Dean wrote:
>> #3641: Add MythWeb preview images to myth.find_orphans.pl -script
>>  I'm not sure if there are other sizes also, but these are the only ones
>>  present in my system.
> These really need to be regex's, like you said in your e-mail.  On my
> systems, I have 100x0x155 and 320x0x155 and 100x0x185 and 320x0x155. 
> And, since the script is Perl, regex's should be pretty easy (for
> someone who uses the script) to implement.

I'll update some details to the ticket, regexp is definitely needed.

> And, BTW, does this script even find orphans on your system?  If so, we
> should fix the problem, not the symptom.  There are no orphan videos or
> previews on my system.

Without modifications to the script:
"172 orphaned thumbnails with no corresponding recording"

With those modifications that add sizes that I have:
"7 orphaned thumbnails with no corresponding recording"

Four of those are those cases where recording is now .nuv and images are 
still .mpg.xxx.png. This should be fixed (doesn't have fix or ticket yet).

Which leaves three other orphaned thumbnails (one from the live-tv). 
These are probably crashes or my mishandling or something. It'll be 
possible to monitor these cases once those >160 images that shouldn't be 
there, are eliminated from the script output.

What I don't get is that you mentioned that you have above like 'sized' 
preview images.. and still no orphans. When I execute the script 
without any params, it reports all of those 'sized' thumbnails as 
orphans.. Or did you check by hand that those are all valid and did not 
use the script?

More information about the mythtv-dev mailing list