[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 or higher (3.8.10 on Win 10 & 3.10.12 on PopOS 22.04)
[x] I have ensured my code is formatted using Black
Description
This PR contains a few patches for stability, some corrections to features, and also adds new config options to tweak some of ytdlp's network related settings.
Some of these patches will need some extra testing on windows or with python 3.8 to be sure they work. As always, feel free to deny this PR and cherry-pick the parts that are most useful.
A summary list of changes:
Add support for cookies.txt by adding the file MusicBot/data/cookies.txt to enable cookies. Must not be empty!
Add option to allow changing yt-dlp UA strings from dynamic to static / custom UA.
Add option to enable HTTP/HTTPS proxy for yt-dlp and media checking only. (APIs and ffmpeg will not use this proxy.)
Add option to count paused players, off by default to restore historic behavior of status message.
Add support for complex aliases, with arguments.
Re-enables pre-download for next track in the queue. (still no support for auto playlist tracks and the new-song edge case.)
Better handling of player inactivity checks to prevent premature disconnects.
Better handling of start-up failures to trigger installing dependencies.
Adds a check for ffmpeg being executable to start-up.
Windows will now prefer system-installed ffmpeg over using bundled bin/ exes.
Improved debug command flexibility.
Added dev-only command to generate markdown from config and permissions code. A step to generating documentations from the source.
Related issues (if applicable)
Alias support was expanded on, potentially closing issue #2413
dev
branch (the latest developmental version), and this pull request is targeting that branch as a baseDescription
This PR contains a few patches for stability, some corrections to features, and also adds new config options to tweak some of ytdlp's network related settings.
Some of these patches will need some extra testing on windows or with python 3.8 to be sure they work. As always, feel free to deny this PR and cherry-pick the parts that are most useful.
A summary list of changes:
cookies.txt
by adding the fileMusicBot/data/cookies.txt
to enable cookies. Must not be empty!bin/
exes.Related issues (if applicable)
Alias support was expanded on, potentially closing issue #2413