mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 17:35:50 +03:00
[PR #30] [MERGED] Refactor IPC codes #585
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#585
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/30
Author: @aome510
Created: 2/12/2022
Status: ✅ Merged
Merged: 2/16/2022
Merged by: @aome510
Base:
master← Head:refactor-ipc-codes📝 Commits (10+)
3aaa960refactor client::spotify structures0cf4e36rename theconnectmodule tospirc243e87bimplement handling logics for spirc reconnect request16c9f79mark feature="streaming" for spirc-related codesf747cbduse tokio::sync::mpsc inmain.rsandclientmodulef1e0c85replace std:🧵:spawn with tokio::task::spawnfe124e3usetokio::sync::mpscinuicodesc091ff6usetokio::sync::mpscinevent/mod.rs15a6fb3usetokio::sync::mpscinevent::popup.rse796edeusetokio::sync::mpscinevent::window.rs📊 Changes
12 files changed (+322 additions, -258 deletions)
View changed files
📝
README.md(+38 -37)📝
spotify_player/src/client/handlers.rs(+35 -23)📝
spotify_player/src/client/mod.rs(+35 -8)📝
spotify_player/src/client/spotify.rs(+28 -44)📝
spotify_player/src/command.rs(+3 -0)📝
spotify_player/src/config/keymap.rs(+4 -0)📝
spotify_player/src/event/mod.rs(+50 -46)📝
spotify_player/src/event/popup.rs(+26 -21)📝
spotify_player/src/event/window.rs(+23 -23)📝
spotify_player/src/main.rs(+39 -33)📝
spotify_player/src/spirc.rs(+22 -11)📝
spotify_player/src/ui/mod.rs(+19 -12)📄 Description
Brief description of changes
tokio::sync::mpscinstead ofstd::sync::mpsc. Renamesend, recvas channel variable toclient_pub, client_subClientRequest::NewSpircConnectionandCommand::ReconnectIntegratedClientthat restarts a spirc connectionclient::spotifycode🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
v0.58.0build error #806v0.58.0build error #1743