[mythtv-commits] Ticket #5486: mythvideo cast order is backwards

MythTV mythtv at cvs.mythtv.org
Sat Jun 28 04:11:07 UTC 2008


#5486: mythvideo cast order is backwards
---------------------------------+------------------------------------------
 Reporter:  wstewart at hgrace.com  |       Owner:  awithers
     Type:  patch                |      Status:  new     
 Priority:  minor                |   Milestone:  unknown 
Component:  mythvideo            |     Version:  unknown 
 Severity:  medium               |     Mlocked:  0       
---------------------------------+------------------------------------------
 The cast order displayed by mythvideo is in reverse order instead of first
 billed order.

 The attached patch corrects this for all new cast data fetched by the
 videomanager via imdb.pl.  This was fixed is the last patch to #3585,
 unfortunately it did not make it into SVN, my apologies for not catching
 this earlier.  For any movies that you have already fetched cast data for,
 unfortunately you would have to reset the metadata and re-fetch it from
 imdb.  Or alternatively delete the cast data in the database and use the
 get_cast.py script attached to #3585 to re-fetch all the cast data.

 Note that the cast order will be shown in reverse order after videomanager
 is used to fetch the data. You need to restart the frontend to fix this as
 some data is static in dbaccess.cpp. The problem is in the add function of
 MultiValueImp?, need to use push_front instead of push_back, but that
 function doesn't exist. Since this is minor, and is fixed by restarting
 the frontend I don't see a reason to fix it.

 Note that this patch relies on the fact that the cast data is inserted
 into the database in first bill order, and that the database will return
 it this way.

 Refs #3585

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/5486>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list