updated
This commit is contained in:
parent
db43239b3d
commit
98df94b180
3 changed files with 29 additions and 11 deletions
|
@ -32,11 +32,11 @@ def load_video_metadata(list_path):
|
|||
- list: List of dictionaries, each containing video details.
|
||||
"""
|
||||
|
||||
LOGGER.trace(f"Entering: load_video_metadata({list_path})")
|
||||
#LOGGER.trace(f"Entering: load_video_metadata({list_path})")
|
||||
try:
|
||||
with open(list_path, "r") as json_file:
|
||||
file = json.load(json_file)
|
||||
LOGGER.trace(f"load_video_metadata returning: {file}")
|
||||
#LOGGER.trace(f"load_video_metadata returning: {file}")
|
||||
return file
|
||||
except FileNotFoundError:
|
||||
LOGGER.error(f"Metadata file {list_path} not found.")
|
||||
|
|
Reference in a new issue