[mythtv-commits] Ticket #11011: getAspect() SQL query is slow

MythTV noreply at mythtv.org
Mon Mar 25 20:54:00 UTC 2013


#11011: getAspect() SQL query is slow
----------------------------------+-----------------------------
 Reporter:  nordmark@…            |          Owner:  kormoc
     Type:  Bug Report - General  |         Status:  closed
 Priority:  minor                 |      Milestone:  unknown
Component:  Plugin - MythWeb      |        Version:  Master Head
 Severity:  medium                |     Resolution:  Won't Fix
 Keywords:                        |  Ticket locked:  0
----------------------------------+-----------------------------
Changes (by kormoc):

 * status:  new => closed
 * resolution:   => Won't Fix


Comment:

 The problem is the last mark may not be the actual show's aspect ratio.
 Digital channels can be HD for the show and SD for the ads or even the
 opposite.

 So given the a show like the following:

  * Intro - 30 seconds HD
  * Ads - 3 minutes SD
  * Show 10 minutes HD
  * Ads - 5 minutes SD
  * Show - 8 minutes HD
  * Ads - 6 minutes SD

 VS

  * Intro - 30 seconds SD
  * Ads - 3 minutes HD
  * Show 10 minutes SD
  * Ads - 5 minutes HD
  * Show - 8 minutes SD
  * Ads - 6 minutes HD

 it gets really complex to know which one is the show. So what we do is we
 add up all the durations for the segments and use the aspect ratio of the
 longest duration, which is why it's so complex.

 I'm sorry, but it's just not easy to know without the work

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/11011#comment:1>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list