Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add ability to customize autoplay from a configuration file #44

Merged
merged 4 commits into from Nov 3, 2023

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

@SijyKijy
Copy link
Contributor Author

@codetheweb

Cargo.toml Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
SijyKijy and others added 2 commits November 1, 2023 13:19
Co-authored-by: Max Isom <codetheweb@users.noreply.github.com>
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
3 checks passed
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.

None yet

2 participants