Initial changes to handle GQRX process
This commit is contained in:
@@ -5,18 +5,26 @@ from datetime import date
|
||||
from os.path import exists
|
||||
from NoiseGatev2 import AudioStream
|
||||
|
||||
# Handler configs
|
||||
PDB_ACCEPTABLE_HANDLERS = {'gqrx': {
|
||||
'Modes': ['wfm', 'fm']
|
||||
},
|
||||
'op25': {
|
||||
'Modes': ['d', 'p25']
|
||||
}}
|
||||
|
||||
# Known bot IDs
|
||||
PDB_KNOWN_BOT_IDS = {756327271597473863: "Greada", 915064996994633729: "Jorn", 943742040255115304: "Brent"}
|
||||
|
||||
# Default value to set noisegate on new or unknown profiles
|
||||
DEFAULT_NOISEGATE_THRESHOLD = 50
|
||||
|
||||
# Initialize the logger for this file
|
||||
LOGGER = logging.getLogger('Discord_Radio_Bot.Bot_Resources')
|
||||
|
||||
# Location of the gqrx binary
|
||||
GQRX_BIN_LOCATION = "/usr/bin/"
|
||||
GQRX_BIN = "/usr/bin/gqrx"
|
||||
|
||||
def check_if_config_exists():
|
||||
if exists('./config.ini'):
|
||||
|
||||
Reference in New Issue
Block a user