mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 01:15:55 +03:00
[PR #871] [CLOSED] Context variable for playback format #906
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#906
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/871
Author: @jtuzar
Created: 11/13/2025
Status: ❌ Closed
Base:
master← Head:context-variable-for-playback-format📝 Commits (5)
c9d5c87wip without data fetching if the cache is not hit3bb80e6prefetching of the context name0f1e7bfreduce nesting8d8f65dadd ability to theme playback_contextd192f66update docs📊 Changes
4 files changed (+40 additions, -4 deletions)
View changed files
📝
docs/config.md(+2 -0)📝
spotify_player/src/client/handlers.rs(+4 -0)📝
spotify_player/src/config/theme.rs(+9 -0)📝
spotify_player/src/ui/playback.rs(+25 -4)📄 Description
This PR should resolve issue #626. It introduces new {context} variable to be used in the playback_format string.
Right now the variable is not able to determine the context name for app defined contexts.
github.com/aome510/spotify-player@6faa7803b1/spotify_player/src/state/model.rs (L59)In order to get the context name even after the app freshly starts and resumes a previous playback the app needs to populate the context cache on playback event.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.