diff --git a/resources/lib/API.py b/resources/lib/API.py index d70da166..4b12d9a3 100644 --- a/resources/lib/API.py +++ b/resources/lib/API.py @@ -133,7 +133,7 @@ class API(): videotrack['videocodec'] = mediaStream.get('Codec') videotrack['height'] = mediaStream.get('Height') videotrack['width'] = mediaStream.get('Width') - videotrack['aspectratio'] = mediaStream.get('AspectRatio') + videotrack['aspectratio'] = mediaStream.get('AspectRatio', "1:1") videotrack['Video3DFormat'] = item.get('Video3DFormat') if len(videotrack['aspectratio']) >= 3: try: