mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 09:25:49 +03:00
[PR #548] [MERGED] feat: client_id_cmd config option #1729
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#1729
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/548
Author: @juliamertz
Created: 8/16/2024
Status: ✅ Merged
Merged: 8/17/2024
Merged by: @aome510
Base:
master← Head:private-client-id📝 Commits (5)
d9054c1feat: client_id_cmd config option177ce01use command struct for client_id_command optione178ba5Update spotify_player/src/streaming.rs9cfc809Apply suggestions from code review6c3396bfix formatting and variable name📊 Changes
5 files changed (+36 additions, -15 deletions)
View changed files
📝
docs/config.md(+1 -0)📝
spotify_player/src/cli/handlers.rs(+2 -2)📝
spotify_player/src/config/mod.rs(+30 -0)📝
spotify_player/src/main.rs(+2 -1)📝
spotify_player/src/streaming.rs(+1 -12)📄 Description
This PR fixes #537 by adding a new config option
client_id_cmd. When set, it will run this command and use its stdout as the client_id. I haven't been able to verify it's working on Windows, but that part has been copied from the rust docs so it should be fine.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.