Skip to content

v1.6

Latest
Compare
Choose a tag to compare
@ThatGuyJacobee ThatGuyJacobee released this 19 Oct 21:24
4299558

(v1.6) New YT extractor & Verbose Logging

New YT Extractor

  • Introduced the YoutubeiExtractor package, which improves stability of YouTube.
  • Use the npx --no discord-player-youtubei command once package is installed to gain your token.
  • Usually, the default package scrapes data which has been more and more disallowed by YT, thus causing issues to some users.
  • With this new scraper, it allows you to set a token from a Google Account, which significantly decreases the chances of being blocked by YouTube.
  • This is fully optional, but it is especially recommended if you are having issues with YouTube playback frequently as it increases reliability significantly.
  • Adjusted config with new YT_AUTH_TOKEN field and bumped to 1.6 alongside tiny other tweaks.

Verbose Logging

  • Implemented verbose logging to the bot, allowing you to pick between: none, normal and full.
  • Added a new VERBOSE parameter to the .env file which the user can use to switch between verbose modes.

The modes are broken down as following:

  • Full: This will log everything to the console, including: discord-player debugging, unhandled rejections, uncaught exceptions and warnings to the console.
  • Normal: This will log unhandled rejections, uncaught exceptions and warnings to the console.
  • None: Logging is disabled.

Bug Fixes & Dependency Chores

  • Sanitised all of the inputs into the select menu to 100 characters which is the limit.
  • Thanks Aman (@._m4n) on Discord for reporting! cc: @ItzAmanKoushal
  • Updated dependencies to latest versions.
  • Removed unnecessary bloat packages that are redundant.