From 9546f5f00bcf34c1bc7a40ab8da54b8586bbf13a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis=20V=C3=A9zina?= <5130500+morpheus65535@users.noreply.github.com> Date: Fri, 22 Mar 2019 12:41:30 -0400 Subject: [PATCH] Fix for #358. --- bazarr/get_movies.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bazarr/get_movies.py b/bazarr/get_movies.py index 4a5498521..858142a70 100644 --- a/bazarr/get_movies.py +++ b/bazarr/get_movies.py @@ -84,7 +84,10 @@ def update_movies(): format, resolution = movie['movieFile']['quality']['quality']['name'].split('-') except: format = movie['movieFile']['quality']['quality']['name'] + try: resolution = movie['movieFile']['quality']['quality']['resolution'].lstrip('r').lower() + except: + resolution = None if 'mediaInfo' in movie['movieFile']: videoFormat = videoCodecID = videoProfile = videoCodecLibrary = None