This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#---- MODIFY BELOW ----# | |
set application_name to "Home Assistant" # Set to your UTM VM Name | |
set button_name to "USB" #Description of the button, can be found by using Accessibility Inspector from Xcode, you probably want this set to "USB" | |
set usb_select to "Conbee" #Name of the device you wish to pass to VM | |
#---- MODIFY ABOVE ----# | |
#---- APPLICATION CODE, DO NOT TOUCH BELOW----# | |
set foundVM to false | |
repeat while foundVM = false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import time | |
API_KEY = "change_me" | |
while True: | |
try: | |
response = requests.get("http://192.168.100.19:7878/api/v3/movie", headers={"X-Api-Key": API_KEY}) | |
missingFilesCount=0 |