From d9937528e9ecabc9e66df78632e63e8ab0997b8d Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 15 Oct 2024 14:59:27 +0200 Subject: [PATCH] Edit for H18 SW version https://github.com/KonradIT/GoProStream/issues/67 --- GoProStream.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GoProStream.py b/GoProStream.py index 433c29a..eb0dff3 100644 --- a/GoProStream.py +++ b/GoProStream.py @@ -67,7 +67,7 @@ def gopro_live(): response=jsondata["info"]["firmware_version"] except http.client.BadStatusLine: response = urlopen('http://10.5.5.9/camera/cv').read().decode('utf-8') - if "HD4" in response or "HD3.2" in response or "HD5" in response or "HX" in response or "HD6" in response or "HD7" in response: + if "HD4" in response or "HD3.2" in response or "HD5" in response or "HX" in response or "HD6" in response or "HD7" in response or "H18" in response: print("branch HD4") print(jsondata["info"]["model_name"]+"\n"+jsondata["info"]["firmware_version"]) ##