librespot/protocol/proto/client_update.proto

40 lines
889 B
Protocol Buffer
Raw Normal View History

2024-12-15 19:51:02 +00:00
// Extracted from: Spotify 1.2.52.442 (windows)
syntax = "proto3";
package spotify.desktopupdate.proto;
option java_multiple_files = true;
option java_outer_classname = "ClientUpdateProto";
option java_package = "com.spotify.desktopupdate.proto";
message UpgradeSignedPart {
uint32 platform = 1;
uint64 version_from_from = 2;
uint64 version_from_to = 3;
uint64 target_version = 4;
string http_prefix = 5;
bytes binary_hash = 6;
ClientUpgradeType type = 7;
bytes file_id = 8;
uint32 delay = 9;
uint32 flags = 10;
}
message UpgradeRequiredMessage {
bytes upgrade_signed_part = 10;
bytes signature = 20;
string http_suffix = 30;
}
message UpdateQueryResponse {
UpgradeRequiredMessage upgrade_message_payload = 1;
uint32 poll_interval = 2;
}
enum ClientUpgradeType {
INVALID = 0;
LOGIN_CRITICAL = 1;
NORMAL = 2;
}