DX Cluster support

This commit is contained in:
Ian Renton
2025-09-26 23:26:39 +01:00
parent c34821dc9b
commit fd2ffb47a0
6 changed files with 86 additions and 6 deletions

View File

@@ -2,6 +2,7 @@
import signal
from time import sleep
from providers.dxcluster import DXCluster
from providers.pota import POTA
@@ -17,7 +18,10 @@ if __name__ == '__main__':
signal.signal(signal.SIGINT, shutdown)
# Create providers
providers = [POTA()] # todo all other providers
providers = [
POTA(),
DXCluster("hrd.wa9pie.net", 8000)
] # todo all other providers
# Set up spot list
spot_list = []
# Set up data providers
@@ -32,9 +36,6 @@ if __name__ == '__main__':
# Todo serve apidocs
# Todo serve website
sleep(2)
print(len(spot_list))
print(spot_list[0])
# NOTES FOR FIELD SPOTTER