1
0
Fork 0
mirror of https://github.com/librespot-org/librespot.git synced 2025-10-03 09:49:31 +02:00
librespot/protocol/proto/es_get_position_state.proto
Felix Prillwitz 2a574267ae
Update protobuf files (#1424)
* update protobuf definitions

* add additionally required proto files

* update version.rs

* adjust code to protobuf changes

* fix formatting

* apply suggestions, improve errors
2024-12-24 09:39:49 +01:00

24 lines
478 B
Protocol Buffer

// Extracted from: Spotify 1.2.52.442 (windows)
syntax = "proto3";
package spotify.player.esperanto.proto;
option objc_class_prefix = "ESP";
option optimize_for = CODE_SIZE;
option java_package = "com.spotify.player.esperanto.proto";
message GetPositionStateRequest {
}
message GetPositionStateResponse {
enum Error {
OK = 0;
NOT_FOUND = 1;
}
Error error = 1;
uint64 timestamp = 2;
uint64 position = 3;
double playback_speed = 4;
}