mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-27 01:57:33 +00:00
Fix for movies resolution not properly imported from Radarr.
This commit is contained in:
parent
43a5533a84
commit
254e99531e
1 changed files with 4 additions and 4 deletions
|
@ -109,10 +109,10 @@ def update_movies():
|
||||||
format, resolution = movie['movieFile']['quality']['quality']['name'].split('-')
|
format, resolution = movie['movieFile']['quality']['quality']['name'].split('-')
|
||||||
except:
|
except:
|
||||||
format = movie['movieFile']['quality']['quality']['name']
|
format = movie['movieFile']['quality']['quality']['name']
|
||||||
try:
|
try:
|
||||||
resolution = movie['movieFile']['quality']['quality']['resolution'].lstrip('r').lower()
|
resolution = str(movie['movieFile']['quality']['quality']['resolution']) + 'p'
|
||||||
except:
|
except:
|
||||||
resolution = None
|
resolution = None
|
||||||
|
|
||||||
if 'mediaInfo' in movie['movieFile']:
|
if 'mediaInfo' in movie['movieFile']:
|
||||||
videoFormat = videoCodecID = videoProfile = videoCodecLibrary = None
|
videoFormat = videoCodecID = videoProfile = videoCodecLibrary = None
|
||||||
|
|
Loading…
Reference in a new issue