[mythtv] [mythtv-commits] Ticket #1833: Fix file path in myth.rebuilddatabase.pl when mythcommflag is called
Otto Kolsi
otto at kolsi.fi
Sun May 21 07:24:23 UTC 2006
> #1833: Fix file path in myth.rebuilddatabase.pl when mythcommflag is called
> ----------------------------------+-----------------------------------------
> Reporter: otto at kolsi dot fi | Owner: ijr
> Type: patch | Status: new
> Priority: trivial | Milestone:
> Component: mythtv | Version: head
> Severity: low | Resolution:
> ----------------------------------+-----------------------------------------
> Comment (by gnassas at mac.com):
>
> this, and several other things, are addressed in #1740
While trying myth.rebuilddatabase.pl for the first time, I did find
still couple of small issues while importing external video files (AVI).
DB does not accept null values into the time columns. If user does not
give starttime, script should either use current time or take file
timestamp and use that. It might suggest one of these values by default.
If 24-hour clock is used and user gives program length in minutes,
script inserts endtime in 12-hour format to the DB. So that 60min
program starts 21:00 and ends 10:00. Not sure if frontend cares about
this but mythweb does not show these programs at all.
Changing time format from HH:mm.. to hh:mm.. in the only time_format()
call (time_format("yyyy-mm{on}-dd HH:mm{in}:ss" ...) fixes this issue
for me. Not sure if this is okay for 12-hour users.
--
Otto
More information about the mythtv-dev
mailing list