Difference between revisions of "Dvbdate"

From MythTV Official Wiki
Jump to: navigation, search
m (Dvb Apps 2fdvbdate moved to Dvbdate: Proper title)
(Usage: Remind user to set TZ env. variable, as this is no longer done by default.)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
= dvbdate =
+
{{Wrongtitle|dvbdate}}
  
 
dvbdate appears to be a utility for reading the date/time from your dvb card.
 
dvbdate appears to be a utility for reading the date/time from your dvb card.
Line 24: Line 24:
  
 
Set dvbdate to run in your crontab every hour or so and you have a system that keeps time with the TV ; perfect for MythTV users.
 
Set dvbdate to run in your crontab every hour or so and you have a system that keeps time with the TV ; perfect for MythTV users.
 +
 +
==Bugs==
 +
 +
You must set the TZ environment variable to your timezone difference for dvbdate to correctly set the time.
 +
 +
TZ=+10:00 dvbdate --set
 +
 +
[[Category:Software]]

Latest revision as of 06:11, 26 December 2009

Important.png Note: The correct title of this article is dvbdate. It appears incorrectly here due to technical restrictions.


dvbdate appears to be a utility for reading the date/time from your dvb card.

Since we are obviously TV lovers, what could be a more useful means of measuring time?

In addition, since an internet-free MythTV box is feasible with DVB (because the EPG data can come from the DVB stream itself), dvbdate provides a useful network-free alternative to NTP.

Usage

dvbdate appears to work even when your cards are tied up doing other things. It only reads the date from /dev/dvb/adapter0

dvbdate will report the date/time to the command line when used with no arguments.

To set the system clock

dvbdate --set

If your system clock is way off, you might want to force it.

dvbdate --set --force

Set dvbdate to run in your crontab every hour or so and you have a system that keeps time with the TV ; perfect for MythTV users.

Bugs

You must set the TZ environment variable to your timezone difference for dvbdate to correctly set the time.

TZ=+10:00 dvbdate --set