1
0
mirror of https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks.git synced 2025-09-08 23:20:48 +02:00

Fix video recording when using FTP or Dropbox (#1744) (#1745)

This commit is contained in:
Chris Osgood
2021-06-18 15:12:15 -04:00
committed by GitHub
parent a358264861
commit 634ce58572

View File

@@ -210,7 +210,7 @@ debug_msg "Got snapshot_tempfile=$snapshot_tempfile"
send_snapshot &
# Then, record video (if necessary)
if [ "$save_video" = true -o "$smb_video" = true -o "$telegram_alert_type" = "video+image" -o "$telegram_alert_type" = "video" -o "$publish_mqtt_video" = true ] ; then
if [ "$save_video" = true -o "$smb_video" = true -o "$ftp_video" = true -o "$dropbox_video" = true -o "$telegram_alert_type" = "video+image" -o "$telegram_alert_type" = "video" -o "$publish_mqtt_video" = true ] ; then
record_video
fi