[mythtv] Recent BUG: deleting from Watch Recordings

Tako Schotanus quintesse at palacio-cristal.com
Sun Feb 6 14:58:08 UTC 2005


Chris Pinkham wrote:

>>I already sent a patch for Isaac to take a look earlier today, didn't want
>>to commit it this close to release. The patch prepends "**" to the title of
>>deleted recordings, should provide at least enough feedback for the .17
>>release. It lets the backend's delete thread update the title in the db,
>>before it starts deleting the file, that way playbackbox updates and shows
>>the "**title", untill the backend is finished deleting it. It's fairly
>>    
>>
>
>Talked this over with Isaac on IRC a little to confirm my thoughts.
>I think the 'inactive' font route mentioned on the -dev list earlier is
>probably a better way to go.  It's an easy change to make the font change
>color when an item is pending deletion.  I added a 'pendingDelete' bool
>flag to ProgramInfo.  PlaybackBox::doRemove() sets this flag and calls
>update(fullRect).  PlaybackBox::updateShowTitles then sets the font to
>"inactive" for any items with pendingDelete set to true.  This also has
>the benefit of highlighting the shows pending deletion if you use the
>new taglist feature to tag a bunch of shows and delete them.  They will
>all immediately go to "inactive"
>  
>
Just to be sure: will making the item _appear_ inactive also prevent 
users from performing any action on it? (Like popping op its meny and 
selecting play or whatever) Strange things might happen otherwise I 
imagine :-)

-Tako



More information about the mythtv-dev mailing list