Opened 13 years ago

Closed 13 years ago

#2784 closed defect (fixed)

typo in myth.rebuilddatabase.pl

Reported by: red321 Owned by: cpinkham
Priority: minor Milestone: unknown
Component: mythtv Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

381c381 < $starttime, $endtime, $storagegroup); ---

$starttime, $endtime, storagegroup);

390c390 < $starttime, $endtime, $storagegroup) ---

$starttime, $endtime, storagegroup)

Change History (4)

comment:1 Changed 13 years ago by anonymous

Picked up another error (?) If the filename is in the old traditional chanid_start_finish format, then the start time was being guessed as the end time. As the guessed starttime is wrong, then any descriptions from prevrecorded etc were being missed.

299,301c299 < ($syear, $smonth, $sday, $shour, $sminute, $ssecond) = < ($2, $3, $4, $5, $6, $7); < ($eyear, $emonth, $eday, $ehour, $eminute, $esecond) = ---

($eyear, $emonth, $eday, $ehour, $eminute, $esecond) =

383c381 < $starttime, $endtime, $storagegroup); ---

$starttime, $endtime, storagegroup);

392c390 < $starttime, $endtime, $storagegroup) ---

$starttime, $endtime, storagegroup)

comment:2 Changed 13 years ago by cpinkham

Owner: changed from Isaac Richards to cpinkham

comment:3 Changed 13 years ago by cpinkham

(In [12224]) Add a couple missing $ signs in front of the $storagegroup variable name in myth.rebuilddatabase.pl. That's what I get for switching back and forth too often between C and Perl while working on Storage Groups.

References #2784.

comment:4 Changed 13 years ago by cpinkham

Resolution: fixed
Status: newclosed

(In [12225]) Grab the starttime from the filename when using old chanid_starttime_endtime type filenames. I believe this is what #2784 was trying to accomplish, but was hard to tell looking at the munged patch. Unified diffs please next time.

Closes #2784.

Note: See TracTickets for help on using tickets.