-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
Add enable_volume_normalisation
option
#261
Add enable_volume_normalisation
option
#261
Conversation
There hasn't been any activity on this pull request recently. This pull request has been automatically marked as stale because of that and will be closed if no further activity occurs within 7 days. Thank you for your contributions. |
. |
There hasn't been any activity on this pull request recently. This pull request has been automatically marked as stale because of that and will be closed if no further activity occurs within 7 days. Thank you for your contributions. |
. |
There hasn't been any activity on this pull request recently. This pull request has been automatically marked as stale because of that and will be closed if no further activity occurs within 7 days. Thank you for your contributions. |
WalkthroughThe recent updates introduce a new configuration option, Changes
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (4)
- spotify/DOCS.md (3 hunks)
- spotify/config.yaml (1 hunks)
- spotify/rootfs/etc/services.d/spotifyd/run (1 hunks)
- spotify/translations/en.yaml (1 hunks)
Files skipped from review due to trivial changes (3)
- spotify/config.yaml
- spotify/rootfs/etc/services.d/spotifyd/run
- spotify/translations/en.yaml
Additional context used
LanguageTool
spotify/DOCS.md
[uncategorized] ~94-~94: Possible missing comma found.
Context: ...o enable volume normalisation. For more info see the [librespot documentation][libre...(AI_HYDRA_LEO_MISSING_COMMA)
Additional comments not posted (1)
spotify/DOCS.md (1)
40-40
: LGTM! Example configuration updated correctly.The new option
enable_volume_normalisation
is correctly added to the example configuration.
@@ -88,6 +89,10 @@ to disallow guests on your network to use the add-on. | |||
|
|||
The password you use to login to your Spotify Premium account. | |||
|
|||
### Option: `enable_volume_normalisation` | |||
|
|||
Whether to enable volume normalisation. For more info see the [librespot documentation][librespot-volume-normalisation]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add missing comma for better readability.
There is a missing comma after "For more info".
- Whether to enable volume normalisation. For more info see the [librespot documentation][librespot-volume-normalisation].
+ Whether to enable volume normalisation. For more info, see the [librespot documentation][librespot-volume-normalisation].
Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
Whether to enable volume normalisation. For more info see the [librespot documentation][librespot-volume-normalisation]. | |
Whether to enable volume normalisation. For more info, see the [librespot documentation][librespot-volume-normalisation]. |
Tools
LanguageTool
[uncategorized] ~94-~94: Possible missing comma found.
Context: ...o enable volume normalisation. For more info see the [librespot documentation][libre...(AI_HYDRA_LEO_MISSING_COMMA)
There hasn't been any activity on this pull request recently. This pull request has been automatically marked as stale because of that and will be closed if no further activity occurs within 7 days. Thank you for your contributions. |
This PR adds support for enabling volume normalisation. It's completely opt-in and does not change any existing behaviour
Currently volume normalisation is disabled and cannot be enabled. Some songs play at significantly different volumes and normalisation makes these tracks approximately the same volume (at the cost of a minor decrease in audio quality)
See the librespot documentation for more information on how
enable-volume-normalisation
worksTo test this option:
a. If the log level is debug, see that
enable-volume-normalisation
is present in theCommand line argument(s)
sectionSummary by CodeRabbit
enable_volume_normalisation
for Spotify, allowing users to normalize volume levels.enable_volume_normalisation
option.