How to interface with a Stream Deck device.
The device uses the HID protocol to communicate with its software.
| # Toliss A321 livery linter | |
| # | |
| # Attempts to check livery folders for inconsistencies. | |
| # | |
| # Inconsistencies are: | |
| # | |
| # - discrepenscies between livery "strings" and livery configuration files (tlscfg.txt) | |
| # - invalid values for livery elements | |
| # - missing texture files in front of their requested variant (ex.: engine_type=LEA requires a LEAP1A.png texture file, etc.) | |
| # |
| # Python Plugin To Save Toliss Situations on request. | |
| # Enjoy. | |
| # | |
| import os | |
| import glob | |
| import time | |
| from datetime import datetime | |
| import xp |
| worker_processes 1; | |
| events { | |
| worker_connections 1024; | |
| } | |
| http { | |
| include mime.types; | |
| default_type application/octet-stream; |
| import os | |
| import argparse | |
| from datetime import datetime | |
| from math import sin, cos, sqrt, atan2, radians | |
| import xml.etree.ElementTree as ET | |
| NAME = "LST File Python Generator" | |
| VERSION = "1.0.2" | |
| # CHANGELOG | |
| # |