mirror of
https://github.com/morpheus65535/bazarr
synced 2025-02-23 22:41:34 +00:00
Merge branch 'development' into morpheus
This commit is contained in:
commit
24ea056ca6
1 changed files with 3 additions and 0 deletions
|
@ -1035,6 +1035,9 @@ def refine_from_ffprobe(path, video):
|
||||||
if 'codec' in data['videos'][0]:
|
if 'codec' in data['videos'][0]:
|
||||||
if not video.video_codec:
|
if not video.video_codec:
|
||||||
video.video_codec = data['videos'][0]['codec']
|
video.video_codec = data['videos'][0]['codec']
|
||||||
|
if 'framerate' in data['videos'][0]:
|
||||||
|
if not video.fps:
|
||||||
|
video.fps = data['videos'][0]['framerate']
|
||||||
|
|
||||||
if 'audios' not in data:
|
if 'audios' not in data:
|
||||||
logging.debug('BAZARR FFprobe was unable to find audio tracks in the file!')
|
logging.debug('BAZARR FFprobe was unable to find audio tracks in the file!')
|
||||||
|
|
Loading…
Reference in a new issue