[mythtv-commits] Ticket #10607: Format of starttime argument in mythcommflag --rebuild
MythTV
noreply at mythtv.org
Fri May 4 10:46:35 UTC 2012
#10607: Format of starttime argument in mythcommflag --rebuild
----------------------------------+--------------------------------
Reporter: J.Pilk@… | Owner:
Type: Bug Report - General | Status: infoneeded_new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: 0.25-fixes
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+--------------------------------
Comment (by J.Pilk@…):
I have to admit that I can't now reproduce this. I have scripts working
that use mythcommflag with the $starttime argument like this:
starttime=`echo "select starttime from recorded where basename=\"$1\";" |
mysql -N -u mythtv -p$PASSWD mythconverg `
followed by
echo "Running: ionice -c3 mythcommflag --rebuild --chanid "$chanid"
--starttime "$starttime""[[BR]]
ionice -c3 mythcommflag --rebuild --chanid "$chanid" --starttime
"$starttime"
which is the same form that I used with mythtranscode --mpeg2 --buildindex
I do see a problem if I copy the command line echoed above and try to run
that:[[BR]][[BR]]
mythcommflag --rebuild --chanid 1052 --starttime 2012-04-12
13:11:00[[BR]][[BR]]
gives "Received '13:11:00' but unassociated arguments have not been
enabled"[[BR]]
and that can be avoided by putting quote marks around the starttime
string.
I'm also using this in (another) script: starttime=$(echo ${starttime} |
tr -d ': -') [[BR]]
- and I should probably try to understand the python bindings instead :-)
So: it seemed to be a real problem but may not be any more. Thanks,
anyway, and apologies if I screwed up. See also[[BR]]
http://www.gossamer-threads.com/lists/mythtv/users/513688#513688
--
Ticket URL: <http://code.mythtv.org/trac/ticket/10607#comment:2>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list