Merge pull request #1823 from hsakoh/feature/addSwitchBotDoorbellSupport

Add Support for SwitchBot VideoDoorbell
This commit is contained in:
Alex X
2025-10-10 17:22:55 +03:00
committed by GitHub
2 changed files with 6 additions and 2 deletions
+4
View File
@@ -33,8 +33,12 @@ func switchbotClient(rawURL string, query url.Values) (core.Producer, error) {
v.Resolution = 0
case "sd":
v.Resolution = 1
case "auto":
v.Resolution = 2
}
v.PlayType = core.Atoi(query.Get("play_type")) // zero by default
return v, nil
})
}