Skip to content

Commit

Permalink
Edit for H18 SW version
Browse files Browse the repository at this point in the history
  • Loading branch information
navennn authored Oct 15, 2024
1 parent f8428d7 commit d993752
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GoProStream.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"])
##
Expand Down

0 comments on commit d993752

Please sign in to comment.