mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 01:15:55 +03:00
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#1778
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/695
Author: @ionescuaandrei
Created: 3/23/2025
Status: 🔄 Open
Base:
master← Head:feature/add-play#488📝 Commits (4)
38ec4e9Play playlist 'CTRL+o' added #4889d26e9eMerge branch 'master' into feature/add-play#488e8314dbPlay playlist 'CTRL+o' added (fixing the CI)#488a58077bMerge branch 'feature/add-play#488' of https://github.com/ionescuaandrei/spotify-player into feature/add-play#488📊 Changes
7 files changed (+116 additions, -7 deletions)
View changed files
📝
spotify_player/src/client/mod.rs(+1 -1)📝
spotify_player/src/client/request.rs(+1 -0)📝
spotify_player/src/command.rs(+7 -3)📝
spotify_player/src/config/keymap.rs(+4 -0)📝
spotify_player/src/event/mod.rs(+71 -0)📝
spotify_player/src/event/page.rs(+19 -0)📝
spotify_player/src/ui/page.rs(+13 -3)📄 Description
This pull request introduces new playback functionalities and key bindings to the Spotify player, enhancing the user experience by allowing more control over playback actions. The most important changes include adding new commands and actions for playing selected playlists and contexts, as well as updating key bindings and UI elements to support these new features.
New Playback Functionalities:
PlayCurrentPlaylisttoPlayerRequestenum inspotify_player/src/client/request.rsto handle playing the current playlist.PlayCurrentPlaylistinClientinspotify_player/src/client/mod.rs.New Commands and Actions:
PlaySelectedPlaylisttoCommandenum andPlayContexttoActionenum inspotify_player/src/command.rs. [1] [2]PlayContextfor various entities like albums, artists, playlists, and shows inspotify_player/src/command.rs. [1] [2] [3] [4]Key Bindings and Event Handling:
Alt+Pto play the current playlist inspotify_player/src/event/mod.rs.PlayContextaction in different contexts (album, artist, playlist, show, episode) inspotify_player/src/event/mod.rs. [1] [2] [3] [4] [5] [6]UI Updates:
render_context_pagefunction to include a "Play Context" button in the UI inspotify_player/src/ui/page.rs.PlaySelectedPlaylistinKeymapConfiginspotify_player/src/config/keymap.rs.[Copilot is generating a summary...]
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.