auto-sync: 2026-04-20 00:30:01

This commit is contained in:
Stream
2026-04-20 00:30:02 +03:00
parent 11ec5fbb41
commit b01b385c40

View File

@@ -294,6 +294,12 @@ def main():
"message_type": f"MSG{parsed['msg_type']}",
}
# only store useful message types: MSG1 (callsign), MSG3 (position),
# MSG4 (speed/heading), MSG5 (altitude) — drop MSG6/7/8
KEEP_TYPES = {"1", "3", "4", "5"}
if parsed["msg_type"] not in KEEP_TYPES:
continue
try:
insert_packet(conn, row)
packet_count += 1