Ticket #10607 (closed Bug Report - General: Works for me)
Opened 13 months ago
Last modified 13 months ago
Format of starttime argument in mythcommflag --rebuild
|Reported by:||J.Pilk@…||Owned by:|
|Component:||MythTV - General||Version:||0.25-fixes|
My mythcutprojectx script uses mythtranscode --mpeg2 --buildindex --chanid foo --starttime bar, where foo and bar are obtained from the database. I don't think this will work with dvb-t2 HD recordings, so in tests I moved to mythcommflag --rebuild with the same values for foo and bar. This failed, apparently because the yyy-mm-dd hh:mm:ss format was unacceptable. I tried wrapping it in various combinations of quote marks without success, before working around the problem by using the --file argument instead.
I'm not clear where the format of the starttime returned from the database query is set. I suppose it could be related to my locale, but it does look as if a format acceptable to mythtranscode is not acceptable to mythcommflag in 0.25.
Also I'll add an example of the log output I see on doing the rebuild with an empty cutlist. It reports a decoding error, perhaps at EOF, and uses yet another date format :-)
Running: ionice -c3 mythcommflag --rebuild --file 1080_20120317032600.mpg
2012-04-15 22:11:32.275761 C mythcommflag version: [v0.25] www.mythtv.org
MythTV Commercial Flagger, building seek table for:
Rebuild started at Sun Apr 15 22:11:32 2012
2012-04-15 22:11:42.329009 E decoding error
eno: Broken pipe (32)
Rebuild completed at Sun Apr 15 22:11:42 2012