Skip to content

Commit

Permalink
Update json_updater.py
Browse files Browse the repository at this point in the history
  • Loading branch information
bturkus committed Jan 22, 2024
1 parent 4f9cd54 commit 2c4284c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ami_scripts/json_updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ def process_media_files(source_directory):

data['technical']['fileFormat'] = general_data.get('format', '')
data['technical']['audioCodec'] = general_data.get('audio_codecs', '')
data['technical']['videoCodec'] = general_data.get('codecs_video', '')
data['technical']['fileSize']['measure'] = int(general_data.get('file_size', 0))
data['technical']['durationMilli']['measure'] = int(general_data.get('duration'))
other_duration = general_data.get('other_duration', [])
Expand Down

0 comments on commit 2c4284c

Please sign in to comment.