[mythtv] playbackbox periodically jumps to the bottom of the title list

Dan Wilson dwilson at dslextreme.com
Wed Nov 28 07:35:25 UTC 2007


On 11/27/2007 at 9:44 PM Dan Wilson wrote:

> When scrolling through recordings, the playbackbox sometimes jumps from
> where I am in the list down to the bottom of the list (or within 3 or 4
> entries from the bottom).  I set about debugging this behavior, and have
> traced it to invocation of the PlaybackBox::listChanged function.
> 

This problem is caused by the presence of generic episodes with invalid identifying information in the program list.  In early November, SchedulesDirect provided schedules for USA Network with a number of shows over a several day period that did not list episode-specific information.  Most of these generic episodes have been stored in the recorded table with an original air date of 09/20/1999, but several of them have a <null> original air date.  When the fillList function does it's reverse search for the current position in the list, the <null> original air date is seen by mythfrontend as 01/01/1900.  Since this is a lower value than any other, it stops the search.  (I had configured frontend to sort by original air date).

It is unclear to me what the best fix is for this.  Null values need to be handled in some way, but what is the best way to deal with this?

I am going to delete all these generic episodes from the list and see if that clears up the problem with the list repositioning.  I expect it will.


Thanks for any help,

Dan.




More information about the mythtv-dev mailing list