mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 01:15:55 +03:00
[PR #147] [MERGED] Support customizable formats #641
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#641
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/147
Author: @aome510
Created: 2/25/2023
Status: ✅ Merged
Merged: 2/25/2023
Merged by: @aome510
Base:
master← Head:customizable-formats📝 Commits (9)
7a64345addregexb0b6b47addplayback_formatconfig option andplayback_artistscomponent stylec742d37format string works but without handling newlines102a955handle newline3518909move notify code tonotify_new_trackfunction69b777eallow notify's format to be configurablee2647beupdate config documentation and exampleapp.toml1c32702mentionplayback_artistscomponent style8c6ce2fcleanup📊 Changes
10 files changed (+172 additions, -54 deletions)
View changed files
📝
Cargo.lock(+1 -0)📝
docs/config.md(+4 -0)📝
examples/app.toml(+3 -0)📝
examples/theme.toml(+5 -0)📝
scripts/theme_parse(+1 -0)📝
spotify_player/Cargo.toml(+1 -0)📝
spotify_player/src/client/mod.rs(+62 -25)📝
spotify_player/src/config/mod.rs(+18 -0)📝
spotify_player/src/config/theme.rs(+11 -0)📝
spotify_player/src/ui/playback.rs(+66 -29)📄 Description
Resolves #146
Changes
playback_formatconfig option for text formatting in the playback windownotify_formatconfig option for formatting in the notificationplayback_artistscomponent style🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.