Default Radio Settings Update
- One location for default radio settings

GQRX Changes
- Default settings
- Simpler check to see if GQRX is started
- Working process handler
This commit is contained in:
Logan Cusano
2022-04-09 01:52:37 -04:00
parent 7ee5d92852
commit 5551aa6355
4 changed files with 33 additions and 16 deletions

View File

@@ -26,6 +26,17 @@ LOGGER = logging.getLogger('Discord_Radio_Bot.Bot_Resources')
GQRX_BIN_LOCATION = "/usr/bin/"
GQRX_BIN = "/usr/bin/gqrx"
# Default radio settings
DEFAULT_RADIO_SETTINGS = {
'profile_name': None,
'freq': "104700000",
'mode': "wfm",
'squelch': 0,
'noisegate_sensitivity': DEFAULT_NOISEGATE_THRESHOLD,
}
def check_if_config_exists():
if exists('./config.ini'):
config = configparser.SafeConfigParser()