[x] I have tested my changes against the dev branch (the latest developmental version), and this pull request is targeting that branch as a base
[x] I have tested my changes on Python 3.8.10 or higher
[x] I have ensured my code is formatted using Black
Description
This PR contains a number of general stability fixes and some cosmetic improvements to the previously merged changes.
Here is a list of detailed changes included in this PR:
Adds voice connection resume logic to recover from network outages.
Uses discord.py library reconnect logic for back-off retry, this can be slow after long outages.
Uses custom retry logic to attempt connection multiple times before failing.
Detects network outage and automatically pauses or resumes the music player.
Changes to player/voice handling to (hopefully) prevent dead players, and log possible issues.
Changes launcher files run.sh and run.bat to pass CLI arguments to python.
You can now use run.bat --help the same way you can use python run.py --help and others.
Adds signal handling to catch Ctrl + C and attempt to provide clean shutdown for interrupt requests.
Fix --no-checks to exclude only optional checks, so Windows can now use it too.
Auto playlist had some refinements in entry extraction and error handling.
Further updates to start-up to (hopefully) gracefully fail and install dependencies, as in previous versions.
Fix logging on Windows so module names are not <string> placeholder.
Adds an "offline" status update to logout / shutdown process. (Purely cosmetic, discord may still send session resume on short restarts)
Ready for extensive testing and extra bug checking!
dev
branch (the latest developmental version), and this pull request is targeting that branch as a baseDescription
This PR contains a number of general stability fixes and some cosmetic improvements to the previously merged changes. Here is a list of detailed changes included in this PR:
run.sh
andrun.bat
to pass CLI arguments to python.run.bat --help
the same way you can usepython run.py --help
and others.Ctrl + C
and attempt to provide clean shutdown for interrupt requests.--no-checks
to exclude only optional checks, so Windows can now use it too.<string>
placeholder.Ready for extensive testing and extra bug checking!