Skip to content

Conversation

@SijyKijy
Copy link
Contributor

This pull request makes the following changes:

I implemented the autoplay setting through the config

File changes:

  • Cargo.toml: Bump version to 0.6.2
  • README.md: Added new SPOTIFY_BOT_AUTOPLAY section for edit autoplay
  • config.sample.toml: Added new SPOTIFY_BOT_AUTOPLAY section for edit autoplay
  • src/lib/config.rs: Added SPOTIFY_BOT_AUTOPLAY section for correct parse configuration
  • src/lib/player.rs: Using a bot_autoplay variable to set autoplay in AudioPlayer configuration
  • src/main.rs: Using spotify_bot_autoplay from the configuration to create an updated SpotifyPlayer

@dragonGRaf
Copy link

yes pls :D

@SijyKijy
Copy link
Contributor Author

@codetheweb

SijyKijy and others added 2 commits November 1, 2023 13:19
Co-authored-by: Max Isom <codetheweb@users.noreply.github.com>
@SijyKijy SijyKijy requested a review from codetheweb November 1, 2023 10:29
Copy link
Owner

@codetheweb codetheweb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌

@codetheweb codetheweb changed the title Adding ability to customize autoplay from a configuration file feat: add ability to customize autoplay from a configuration file Nov 3, 2023
@codetheweb codetheweb merged commit e9104d6 into codetheweb:main Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants