mirror of
https://github.com/joshuaboniface/rffmpeg.git
synced 2026-07-18 00:45:53 +00:00
Ensure persist value is an integer
This commit is contained in:
parent
3690e079d4
commit
6b89ae369c
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ except Exception as e:
|
|||
|
||||
# Handle the fallback configuration using get() to avoid failing
|
||||
config["ssh_command"] = o_config["rffmpeg"]["commands"].get("ssh", "ssh")
|
||||
config["remote_persist"] = o_config["rffmpeg"]["remote"].get("persist", 0)
|
||||
config["remote_persist"] = int(o_config["rffmpeg"]["remote"].get("persist", 0))
|
||||
config["fallback_ffmpeg_command"] = o_config["rffmpeg"]["commands"].get("fallback_ffmpeg", config["ffmpeg_command"])
|
||||
config["fallback_ffprobe_command"] = o_config["rffmpeg"]["commands"].get("fallback_ffprobe", config["ffprobe_command"])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue