[mythtv] Ticket #7071: Deleting a program while it records leaves a preview image behind

Michael T. Dean mtdean at thirdcontact.com
Mon Oct 12 21:23:25 UTC 2009

On 10/12/2009 05:12 PM, David Engel wrote:
> On Tue, Sep 15, 2009 at 11:02:16PM -0000, MythTV wrote:
>> #7071: Deleting a program while it records leaves a preview image behind
>>  If a program is deleted from the playback box while it is still recording,
>>  a preview image is left behind.  I haven't checked to see if it happens
>>  everytime, but it happens often.
> On a related note.  Is there a reason we don't store preview images in
> the recorded table as blobs?  The same goes for channel icons.

For preview images, we now have multiple per recording.  mythfrontend 
has the "default" preview images, but MythWeb also requests others (at 
different sizes, and potentially, different offsets) for its pages.

I'd suggest that at least until we refactor the recorded stuff to use 
recordedfile, it doesn't really make sense to modify the schema to 
handle multiple previews per recording in BLOBs.  But, then again, once 
we have recordedfile, we could more easily make preview images just 
other files associated with the recordings (other records in 
recordedfile) and continue to take advantage of the whole storage group 
architecture/file finding/etc.  That would solve the issue of files not 
being specified in the DB and still allow SG/filesystem storage.


More information about the mythtv-dev mailing list