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

[FEATURE] Added support to change the playback volume #67

Merged
merged 8 commits into from
Jul 29, 2024

Conversation

justJavaProgrammer
Copy link
Contributor

Added HTTP endpoint to change the playback volume.

Rules applied:

  • if single device is connected, then change the device volume
  • If multiple devices connected, then change only device that active
  • If no device is connected to player, then error is returned

Written tests.
Added docs.
Small refactoring of classes.

Implementation of #66

@justJavaProgrammer justJavaProgrammer added the enhancement New feature or request label Jul 29, 2024
@justJavaProgrammer justJavaProgrammer self-assigned this Jul 29, 2024
@justJavaProgrammer justJavaProgrammer linked an issue Jul 29, 2024 that may be closed by this pull request
.verifyComplete();
}

// For single device - change volume
Copy link
Contributor Author

@justJavaProgrammer justJavaProgrammer Jul 29, 2024

Choose a reason for hiding this comment

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

Remove these comments

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed via 53c36da

@justJavaProgrammer justJavaProgrammer merged commit 5a2458d into master Jul 29, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] Add endpoint to change the volume of the player
1 participant