diff --git a/resources/lib/API.py b/resources/lib/API.py index aefb06be..c6a0593e 100644 --- a/resources/lib/API.py +++ b/resources/lib/API.py @@ -134,7 +134,7 @@ class API(): videotrack['videocodec'] = "divx" elif "mpeg4" in videotrack['videocodec']: profile = mediaStream.get('Profile', "").lower() - if "simple profile" in profile: + if "simple profile" in profile or not profile: videotrack['videocodec'] = "xvid" elif "h264" in videotrack['videocodec']: if container in ("mp4", "mov", "m4v"):