[PR #244] [MERGED] Add player event hook command #680

Closed
opened 2026-03-02 23:49:21 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/aome510/spotify-player/pull/244
Author: @aome510
Created: 9/3/2023
Status: Merged
Merged: 9/4/2023
Merged by: @aome510

Base: masterHead: add-player-hook


📝 Commits (4)

  • 7dcf60c add PlayerEvent
  • e24255d add player_event_hook_command
  • 76d21fd add player_event_hook_command config document
  • d75c04a cleanup config document

📊 Changes

5 files changed (+155 additions, -13 deletions)

View changed files

📝 docs/config.md (+30 -3)
📝 examples/app.toml (+1 -1)
📝 spotify_player/src/client/mod.rs (+1 -0)
📝 spotify_player/src/config/mod.rs (+3 -0)
📝 spotify_player/src/streaming.rs (+120 -9)

📄 Description

Resolves #190.
Resolves #103.

Added player_event_hook_command as a config option. Each time the application receives a player event, player_event_hook_command is executed with the event json string as the standard input.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/aome510/spotify-player/pull/244 **Author:** [@aome510](https://github.com/aome510) **Created:** 9/3/2023 **Status:** ✅ Merged **Merged:** 9/4/2023 **Merged by:** [@aome510](https://github.com/aome510) **Base:** `master` ← **Head:** `add-player-hook` --- ### 📝 Commits (4) - [`7dcf60c`](https://github.com/aome510/spotify-player/commit/7dcf60c24deba5d5be6ef82c7dd8b4c6ad241272) add `PlayerEvent` - [`e24255d`](https://github.com/aome510/spotify-player/commit/e24255dd615408a218e0c220fc5f93e54da82784) add `player_event_hook_command` - [`76d21fd`](https://github.com/aome510/spotify-player/commit/76d21fd54dc6518fe4136085f83925c0574358a7) add `player_event_hook_command` config document - [`d75c04a`](https://github.com/aome510/spotify-player/commit/d75c04a3507318227a20e6e61edfc0175da969ca) cleanup config document ### 📊 Changes **5 files changed** (+155 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `docs/config.md` (+30 -3) 📝 `examples/app.toml` (+1 -1) 📝 `spotify_player/src/client/mod.rs` (+1 -0) 📝 `spotify_player/src/config/mod.rs` (+3 -0) 📝 `spotify_player/src/streaming.rs` (+120 -9) </details> ### 📄 Description Resolves #190. Resolves #103. Added `player_event_hook_command` as a config option. Each time the application receives a player event, `player_event_hook_command ` is executed with the event json string as the standard input. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 23:49:21 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-player#680
No description provided.