Skip to content

Commit

Permalink
rename :Video-Object
Browse files Browse the repository at this point in the history
  • Loading branch information
jnussbaum committed Aug 22, 2024
1 parent 5b9b999 commit b4daabb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion import_project.json
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@
]
},
{
"name": "Video-Object",
"name": "VideoObject",
"labels": {"en": "Video object"},
"super": "MovingImageRepresentation",
"cardinalities": [
Expand Down
2 changes: 1 addition & 1 deletion import_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def main() -> None:
# Video with a Segment
# --------------------
# Videos and audios are normal resources...
video = excel2xml.make_resource("Publicly available video", ":Video-Object", "video_1")
video = excel2xml.make_resource("Publicly available video", ":VideoObject", "video_1")
video.append(excel2xml.make_bitstream_prop("videos/my_video.mp4"))
root.append(video)

Expand Down
2 changes: 1 addition & 1 deletion test/expected.xml
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@
<resptr permissions="prop-default">Horohoroto_5652b411-2c50-4086-896c-23b208ea27a8</resptr>
</resptr-prop>
</link>
<resource label="Publicly available video" restype=":Video-Object" id="video_1" permissions="res-default">
<resource label="Publicly available video" restype=":VideoObject" id="video_1" permissions="res-default">
<bitstream permissions="prop-default">videos/my_video.mp4</bitstream>
</resource>
<video-segment label="The first 5 seconds of my video" id="segment_1" permissions="res-default">
Expand Down

0 comments on commit b4daabb

Please sign in to comment.