mirror of
https://github.com/jpochyla/psst.git
synced 2026-04-27 15:35:56 +03:00
[PR #714] [MERGED] Replace custom protobuf handlers with librespot-protocol #677
Labels
No labels
api
bug
build
documentation
duplicate
enhancement
good first issue
help wanted
idea
invalid
linux
lowprio
macos
pull-request
upstream
windows
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/psst#677
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/jpochyla/psst/pull/714
Author: @Pogodaanton
Created: 12/3/2025
Status: ✅ Merged
Merged: 12/11/2025
Merged by: @jacksongoode
Base:
main← Head:feat/use-librespot-protocol📝 Commits (2)
77eb3a3feat(core): Replace custom protobuf handlers with librespot-protocolbb912d4Drop psst-protocol completely in favor of librespot📊 Changes
31 files changed (+118 additions, -5392 deletions)
View changed files
📝
Cargo.lock(+0 -18)📝
Cargo.toml(+1 -1)📝
README.md(+0 -1)📝
psst-core/Cargo.toml(+5 -9)📝
psst-core/src/cache.rs(+7 -6)📝
psst-core/src/connection/mod.rs(+69 -50)📝
psst-core/src/lib.rs(+0 -2)📝
psst-core/src/metadata.rs(+18 -13)📝
psst-core/src/player/file.rs(+2 -1)📝
psst-core/src/player/item.rs(+2 -1)📝
psst-core/src/session/mercury.rs(+12 -16)📝
psst-core/src/session/mod.rs(+2 -4)📝
psst-core/src/util.rs(+0 -29)➖
psst-protocol/Cargo.toml(+0 -8)➖
psst-protocol/build.sh(+0 -10)➖
psst-protocol/proto/authentication.proto(+0 -167)➖
psst-protocol/proto/keyexchange.proto(+0 -230)➖
psst-protocol/proto/mercury.proto(+0 -47)➖
psst-protocol/proto/metadata.proto(+0 -268)➖
psst-protocol/proto/playlist4changes.proto(+0 -89)...and 11 more files
📄 Description
In #693 we have introduced
librespot-protocoland its direct dependencyprotobuftopsst-core. The code now uses two different protobuf libraries. This PR aims to reduce it back to one.I have been unsuccessful at porting new protobuf specs to
quick-protobuf. I can't get the bash scripts inpsst-protocolrunning, nor could I reproduce the rust code generation for the already existing protobufs. I tried tackling the problem from the other side instead: Use more of the librespot protobuf code.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.