ErrorMessage.code was defined as int32 but server sends string codes (e.g. 'ERROR_QUEUE_INSERT_TRACKS'). Changed to string type and added logging for queue error responses. Added context_uuid (random UUID v4) to queue insert and add commands - the server likely requires this to associate tracks with a context.
16 lines
435 B
TOML
16 lines
435 B
TOML
[package]
|
|
name = "qconnect-protocol"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
description = "Qobuz Connect protocol contracts for queue commands and events"
|
|
|
|
[dependencies]
|
|
qconnect-core = { path = "../qconnect-core" }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
log = { workspace = true }
|
|
prost = "0.13"
|
|
uuid = { version = "1", features = ["v4"] }
|