Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] date/time commands for svdrp



as my vdr runns in an embedded environment it is very difficult
to keep the system time of vdr up to date. i don't want to use
netdate or xntp 'caus this would require a lot more additional
commands (ifconfig, netdate, route, ...). so i patched svdrp
to allow two additional commands:

DATE [ <date> ]
    Get or set the current system date.
    The format for <date> is YYYY/MM/DD. If no parameter is given,
    the current date will be displayed.

TIME [ <time> ]
    Get or set the current system time.
    The format for <time> is HH:MM:SS. If no parameter is given, the
    current time will be displayed.

the implementation is far from perfect, but i first wanted to check,
if there is public interest for such a feature and if there is a chance,
that this patch can make it into the official vdr release, before i start
to improve it.

feedback is very welcome.

by the way the patch is available from:

http://thf.ath.cx/public/

as usual.

best regards ...
clemens

-- No attachments (even text) are allowed --
-- Type: application/octet-stream
-- File: svdrp-time-date.patch




Home | Main Index | Thread Index