[mythtv-commits] Ticket #3842: Add Schedules Direct support

MythTV mythtv at cvs.mythtv.org
Sat Aug 25 05:12:33 UTC 2007


#3842: Add Schedules Direct support
-------------------------+--------------------------------------------------
 Reporter:  danielk      |        Owner:  danielk
     Type:  enhancement  |       Status:  new    
 Priority:  major        |    Milestone:  0.21   
Component:  mythtv       |      Version:  head   
 Severity:  high         |   Resolution:         
  Mlocked:  0            |  
-------------------------+--------------------------------------------------

Comment(by anonymous):

 This updates programid in all the tables to be the new 14 character
 format, but it doesn't update seriesid to the new 10 character format.
 Shouldn't it?

 Something like:
 {{{
 UPDATE recorded SET seriesid=CONCAT(SUBSTRING(seriesid, 1, 2), '00',
   SUBSTRING(seriesid, 3)) WHERE length(seriesid) = 8;
 UPDATE oldrecorded SET seriesid=CONCAT(SUBSTRING(seriesid, 1, 2), '00',
   SUBSTRING(seriesid, 3)) WHERE length(seriesid) = 8;
 UPDATE program SET seriesid=CONCAT(SUBSTRING(seriesid, 1, 2), '00',
   SUBSTRING(seriesid, 3)) WHERE length(seriesid) = 8;
 }}}

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/3842#comment:35>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list