ops: add channel inventory and metinctl

This commit is contained in:
server
2026-04-14 13:14:37 +02:00
parent 69066cc428
commit 78518daed0
10 changed files with 674 additions and 52 deletions

View File

@@ -1,19 +1,6 @@
## Map Allow Layout
MAP_ALLOW_NORMAL = {
1 : "1 4 5 6 3 23 43 112 107 67 68 72 208 302 304",
2 : "21 24 25 26 108 61 63 69 70 73 216 217 303 352",
3 : "41 44 45 46 109 62 64 65 66 71 104 301 351",
}
from channel_inventory import get_channel_map
MAP_ALLOW_SPECIAL = {
1 : "113 81 100 101 103 105 110 111 114 118 119 120 121 122 123 124 125 126 127 128 181 182 183 200"
}
## Channel Layout
CHANNEL_MAP = {
1: MAP_ALLOW_NORMAL,
2: MAP_ALLOW_NORMAL,
3: MAP_ALLOW_NORMAL,
4: MAP_ALLOW_NORMAL,
99: MAP_ALLOW_SPECIAL,
}
# Compatibility shim for older scripts that still import channels.py directly.
CHANNEL_MAP = get_channel_map()
MAP_ALLOW_NORMAL = dict(CHANNEL_MAP.get(1, {}))
MAP_ALLOW_SPECIAL = dict(CHANNEL_MAP.get(99, {}))