mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-04-24 22:57:13 -04:00
Fix for ffprobe not being used correctly.
This commit is contained in:
parent
9bc9a03725
commit
f0e9c0f58a
4 changed files with 1 additions and 1 deletions
|
@ -990,7 +990,7 @@ def refine_from_ffprobe(path, video):
|
|||
video.video_codec = data['video'][0]['codec']
|
||||
if 'frame_rate' in data['video'][0]:
|
||||
if not video.fps:
|
||||
video.fps = data['video'][0]['frame_rate']
|
||||
video.fps = data['video'][0]['frame_rate'].magnitude
|
||||
|
||||
if 'audio' not in data:
|
||||
logging.debug('BAZARR FFprobe was unable to find audio tracks in the file!')
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue