mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 17:35:50 +03:00
[PR #298] [MERGED] Allow disabling notify when client is not streaming #1646
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#1646
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?
📋 Pull Request Information
Original PR: https://github.com/aome510/spotify-player/pull/298
Author: @VenMolom
Created: 11/25/2023
Status: ✅ Merged
Merged: 11/28/2023
Merged by: @aome510
Base:
master← Head:notify-streaming-only📝 Commits (1)
1903d22Allow disabling notify when client is not streaming📊 Changes
4 files changed (+17 additions, -2 deletions)
View changed files
📝
docs/config.md(+2 -1)📝
examples/app.toml(+1 -0)📝
spotify_player/src/client/mod.rs(+9 -1)📝
spotify_player/src/config/mod.rs(+5 -0)📄 Description
Added
notify_streaming_onlyconfig option. When true, client only sends notification if it has streaming connection.Coupled with
enable_streamingset toDaemonOnly, this prevents duplicate notifications from being sent when both daemon and UI to control it are running.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.