aboutsummaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorArslaan Pathan <[email protected]>2026-10-06 23:55:04 +1300
committerArslaan Pathan <[email protected]>2026-10-06 23:55:04 +1300
commit90bf3f3d97f25b1bdefd081069efe4154ac6c703 (patch)
tree6494111ea8753ad560b4d0bd5159f34a5b7ba653 /main.py
parentf3543ab2e3a164a7b267e7c3c857d36a42f50488 (diff)
downloadremote-automation-90bf3f3d97f25b1bdefd081069efe4154ac6c703.tar.xz
remote-automation-90bf3f3d97f25b1bdefd081069efe4154ac6c703.zip
import base64HEADmain
Diffstat (limited to 'main.py')
-rw-r--r--main.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.py b/main.py
index da2643f..e004989 100644
--- a/main.py
+++ b/main.py
@@ -3,6 +3,7 @@ from urllib.request import Request, urlopen
from urllib.error import HTTPError, URLError
from dotenv import load_dotenv
import os
+import base64
SCANCODES = {0x11A: "up", 0x148: "down", 0x147: "left", 0x107: "right", 0x106: "ok", 0x141: "play/pause", 0x11c: "power", 0x103: "vol+", 0x142: "vol-", 0x101: "app", 0x154: "1", 0x110: "stop", 0x14b: "skip", 0x155: "epg", 0x119: "web", 0x15f: "setting", 0x15a: "dtv"}