[pvrusb2] atsc_epg for updating local computer's time

rogerx.oss at gmail.com rogerx.oss at gmail.com
Wed Nov 30 00:34:56 CST 2011


> On Tue, Nov 29, 2011 at 09:05:11PM -0900, Roger wrote:
>Just toss this into a crontab after replacing with a channel frequency:
>$ atsc_epg -f 189028615 | grep "TS STT time" | sed 's/TS STT time: //'

Just realized, atsc_epg would need to be backgrounded in order to set the time 
relatively close to the remote time. ie:

$ atsc_epg -f 189028615 & | grep "TS STT time" | sed 's/TS STT time: //'

... and then a combination of "date $DATE_TIME && hwclock --systohc"

For me, I'm thinking I'm going to still have a 5 second difference unless I use 
an offset.

-- 
Roger
http://rogerx.freeshell.org/


More information about the pvrusb2 mailing list