mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 01:15:55 +03:00
[GH-ISSUE #302] Configuration option to disable notifications #161
Labels
No labels
bug
documentation
enhancement
good first issue
help wanted
pull-request
question
third-party
third-party
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-player#161
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @oleksandr-oksenenko on GitHub (Nov 28, 2023).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/302
Is your feature request related to a problem? Please describe.
No way to disable notifications in the configuration.
Describe the solution you'd like
Would be great to have a configuration option that would allow to disable all notifications from spotify_player.
Describe alternatives you've considered
Manually installing using cargo without
notifyfeature is an alternative, however, it's not very convenient.Additional context
spotify_player notifications on MacOS are a bit ugly (using Finder icon). Also, I try to limit to a minimum the amount of the notifications I get.
@aome510 commented on GitHub (Nov 28, 2023):
Related: https://github.com/aome510/spotify-player/issues/292. This issue seems to be specific to the brew package manager as it installs the application with
notifyfeature when the feature is disabled by default.@oleksandr-oksenenko commented on GitHub (Nov 28, 2023):
@aome510 thanks for reply!
is it disabled by default specifically because it has some issues?
Generally, I feel like hiding features behind compilation flags instead of configurations is a bit inconvenient, since you either have to rely on defaults provided by the packager or resort to compiling the project yourself. Is there a specific reason for this?
@aome510 commented on GitHub (Nov 28, 2023):
The main reason is to avoid redundant dependencies when building the application if people don't need the notification feature, not because it has some issues. This "feature-behind-compilation-flag" pattern is quite common in rust ecosystem (and possibly c++). That said, I agree that it's inconvenient to hide features behind compilation flags instead of configurations.
spotify_playerinstead ofspotify-playerin documents #646spotify_player, notspotify-player#1015spotify_playerinstead ofspotify-playerin documents #1582