/
settings.py
110 lines (101 loc) · 2.93 KB
/
settings.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
'''
RRFRaptor
Learn more about RRF on https://f5nlg.wordpress.com
73 & 88 de F4HWN Armel
'''
# Version
version = '1.5.4'
# Variables par defaut
scan_sleep = 60 # Durée en secondes avant scanning
park = True # Retour sur le salon par default, en phase de scan
park_sleep = 300 # Durée en secondes avant parking
room_base = 'RRF' # Salon de base si le RRFRaptor est perdu...
room_active = ['RRF', 'FON', 'TECHNIQUE', 'INTERNATIONAL', 'BAVARDAGE', 'LOCAL', 'EXPERIMENTAL'] # Liste des salons actifs
room_passive = ['PERROQUET', 'REGIONAL', 'FREEDV', 'NUMERIQUE', 'ECHOLINK', 'ADMIN'] # Liste des salons passifs...
# Autres variables (ne pas modifier si vous ne savez pas ce que vous faites...)
scan = False # Mode scan
debug = False # Mode debug
room_current = '' # Salon courant
room_active += room_passive # Don't tread on me ;)
room = {
'RRF': {
'url': 'http://rrf.f5nlg.ovh:8080/RRFTracker/RRF-today/rrf_tiny.json',
'tot': 0,
'last': '',
'label': 'rrf'
},
'FON': {
'url': 'http://rrf.f5nlg.ovh:8080/RRFTracker/FON-today/rrf_tiny.json',
'tot': 0,
'last': '',
'label': 'fon'
},
'TECHNIQUE': {
'url': 'http://rrf.f5nlg.ovh:8080/RRFTracker/TECHNIQUE-today/rrf_tiny.json',
'tot': 0,
'last': '',
'label': 'tec'
},
'INTERNATIONAL': {
'url': 'http://rrf.f5nlg.ovh:8080/RRFTracker/INTERNATIONAL-today/rrf_tiny.json',
'tot': 0,
'last': '',
'label': 'int'
},
'BAVARDAGE': {
'url': 'http://rrf.f5nlg.ovh:8080/RRFTracker/BAVARDAGE-today/rrf_tiny.json',
'tot': 0,
'last': '',
'label': 'bav'
},
'LOCAL': {
'url': 'http://rrf.f5nlg.ovh:8080/RRFTracker/LOCAL-today/rrf_tiny.json',
'tot': 0,
'last': '',
'label': 'loc'
},
'EXPERIMENTAL': {
'url': 'http://rrf.f5nlg.ovh:8080/RRFTracker/EXPERIMENTAL-today/rrf_tiny.json',
'tot': 0,
'last': '',
'label': 'exp'
},
'PERROQUET': { # Salon passif
'url': '',
'tot': 0,
'last': '',
'label': 'default'
},
'REGIONAL': { # Salon passif
'url': '',
'tot': 0,
'last': '',
'label': 'reg'
},
'FREEDV': { # Salon passif
'url': '',
'tot': 0,
'last': '',
'label': 'fdv'
},
'NUMERIQUE': { # Salon passif
'url': '',
'tot': 0,
'last': '',
'label': 'num'
},
'ECHOLINK': { # Salon passif
'url': '',
'tot': 0,
'last': '',
'label': 'el'
},
'ADMIN': { # Salon passif
'url': '',
'tot': 0,
'last': '',
'label': 'admin'
}
}