Skip to content
Snippets Groups Projects
Commit a8c7e353 authored by Bruce Flynn's avatar Bruce Flynn
Browse files

Add crinfo CLI tool

parent 235bb9c7
No related branches found
No related tags found
No related merge requests found
import logging
from pprint import pprint
from edosl0util.cli import util
from edosl0util import crio
LOG = logging
def main():
parser = util.default_parser()
parser.add_argument('filepath')
args = parser.parse_args()
util.configure_logging(args)
pprint(crio.read(args.filepath))
if __name__ == '__main__':
main()
......@@ -63,6 +63,9 @@ class Timecode(BaseStruct):
"""
Secondary header timecode baseclass.
"""
def __repr__(self):
return str(self.asdatetime())
def astimestamp(self):
raise NotImplementedError()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment