Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
EdosL0Util
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SIPS
EdosL0Util
Commits
a8c7e353
Commit
a8c7e353
authored
9 years ago
by
Bruce Flynn
Browse files
Options
Downloads
Patches
Plain Diff
Add crinfo CLI tool
parent
235bb9c7
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
edosl0util/cli/crinfo.py
+20
-0
20 additions, 0 deletions
edosl0util/cli/crinfo.py
edosl0util/headers.py
+3
-0
3 additions, 0 deletions
edosl0util/headers.py
with
23 additions
and
0 deletions
edosl0util/cli/crinfo.py
0 → 100644
+
20
−
0
View file @
a8c7e353
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
()
This diff is collapsed.
Click to expand it.
edosl0util/headers.py
+
3
−
0
View file @
a8c7e353
...
...
@@ -63,6 +63,9 @@ class Timecode(BaseStruct):
"""
Secondary header timecode baseclass.
"""
def
__repr__
(
self
):
return
str
(
self
.
asdatetime
())
def
astimestamp
(
self
):
raise
NotImplementedError
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment