mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 10:16:11 +00:00
Fix for the aspect ratio error
Missing default value to not fail at the if statement.
This commit is contained in:
parent
7f9f357e37
commit
cbebcbd818
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue