[mythtv-users] user jobs vs the built-in kind
George Nassas
gnassas at mac.com
Sat Nov 22 22:36:13 UTC 2014
On Nov 22, 2014, at 3:04 PM, Bill Meek <keemllib at gmail.com> wrote:
>
> Isn't the progress message (each time copy() is called):
>
> self.job.setComment("%02d%% complete - %d seconds remaining" %\
> (dstfp.tell()*100/srcsize, remt))
I was using that form earlier but didn’t see any updates to the db (you can just select * from jobqueue order by inserttime) until I switched to the update(field=value) syntax. There’s probably a save() method on the base class that I wasn’t calling but I like the cleaner update way.
- George
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20141122/447f7983/attachment.html>
More information about the mythtv-users
mailing list