From e4aba8fba76d372c7e68d438e99a7556b6178a64 Mon Sep 17 00:00:00 2001 From: Logan Cusano Date: Wed, 29 Dec 2021 01:08:57 -0500 Subject: [PATCH] Cleanup --- README.md | 19 ++++++++++++------- TODO.md | 6 +++--- bot.py | 1 - requirements.txt | 8 +------- 4 files changed, 16 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 6b254a7..ef09b18 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,18 @@ # Discord-Radio-Bot This project is intended to allow users in discord to be able to listen to their favorite radio stations, *music or other ;)*, while talking to their friends. -## Usage -1. Install Python 3.X -2. Install the pip packages found in the ```Requirements.txt``` file -3. Run ```main.py``` with Python -4. Follow the prompts in the terminal -5. Redirect your audio to the selected device -6. You're all set! +## Requirements +- Python 3.X +- sox +- soapysdr / soapyrtlsdr +- rtl_sdr library + +## Setup +1. Install the pip packages found in the ```Requirements.txt``` file +2. Run ```main.py``` with Python +3. Follow the prompts in the terminal +4. Ensure your audio is playing on the selected device +5. You're all set! Ask the bot to join! ### Understanding Audio Input This title can be a bit confusing. The bot will display both 'input' and 'output' devices but not always *all* devices connected. diff --git a/TODO.md b/TODO.md index 1d1a2d9..aa342e5 100644 --- a/TODO.md +++ b/TODO.md @@ -1,7 +1,5 @@ ### To-Do - [ ] Fix bug that shows different index number for audio device selection on linux -- [ ] Add a profile system ('YPD' = preset Squelch, Freq, Sample Rate, etc.) -- [ ] Add proper comments - [ ] Clean up code - [ ] Add more proper help text with real examples - [ ] Get more training data for WillieTimer @@ -18,4 +16,6 @@ - [X] Send only one message at join and update this message with details of digital comms - [X] Update WillieTimer with replies to all msgs - [X] Add saving of changes to mention and channel - - [X] Add a pool of responses to 4:20 \ No newline at end of file + - [X] Add a pool of responses to 4:20 +- [x] Add a profile system ('YPD' = preset Squelch, Freq, Sample Rate, etc.) +- [x] Add proper comments \ No newline at end of file diff --git a/bot.py b/bot.py index 3b76b7b..bba091c 100644 --- a/bot.py +++ b/bot.py @@ -4,7 +4,6 @@ import time import discord import sound import configparser -import asyncio from discord.ext import commands from subprocess import Popen, PIPE diff --git a/requirements.txt b/requirements.txt index 72f7344..1c9f3ee 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,8 +1,2 @@ discord~=1.7.3 -sounddevice~=0.4.3 - - -//For WillieTimer -keras~=2.7.0 -nltk~=3.6.5 -tensorflow~=2.7.0 \ No newline at end of file +sounddevice~=0.4.3 \ No newline at end of file