[mythtv-commits] Ticket #3426: mythrename.pl can't rename

MythTV mythtv at cvs.mythtv.org
Mon May 7 18:52:58 UTC 2007

#3426: mythrename.pl can't rename
 Reporter:  anonymous  |        Owner:  ijr    
     Type:  defect     |       Status:  new    
 Priority:  minor      |    Milestone:  unknown
Component:  contrib    |      Version:  unknown
 Severity:  low        |   Resolution:         

Comment(by anonymous):

 No typos, 2min 46sec apart.  I don't see anything that looks one year
 apart.  The error coming from mythrename.pl is:

 Couldn't update basename in database for 1031_20070505003400.mpg:  (UPDATE
 recorded SET basename=? WHERE chanid=? AND starttime=FROM_UNIXTIME(?))

 So it is using the starttime field.  If I modify the script to spit out
 the value it tries to pass into starttime, I get 1178350606 as the value,
 of which 'SELECT FROM_UNIXTIME(1178350606)' gives me '2007-05-05 00:36:46'

 Now that you mention progstart, I checked that out, and this is what I get
 out of the database:

 chanid starttime progstart

 1031 2007-05-05 00:34:00 2007-05-05 00:36:46

 So if I modify mythrename.pl to use progstart instead of starttime, all my
 files are renamed!

Ticket URL: <http://svn.mythtv.org/trac/ticket/3426#comment:2>
MythTV <http://svn.mythtv.org/trac>

More information about the mythtv-commits mailing list