mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-04 10:19:27 +02:00

* update protobuf definitions * add additionally required proto files * update version.rs * adjust code to protobuf changes * fix formatting * apply suggestions, improve errors
15 lines
371 B
Protocol Buffer
15 lines
371 B
Protocol Buffer
syntax = "proto2";
|
|
|
|
package spotify.player.proto.state_restore;
|
|
|
|
import "state_restore/playback_quality.proto";
|
|
|
|
message PlaybackState {
|
|
optional int64 timestamp = 1;
|
|
optional int32 position_as_of_timestamp = 2;
|
|
optional int32 duration = 3;
|
|
optional bool is_buffering = 4;
|
|
optional PlaybackQuality playback_quality = 5;
|
|
optional double playback_speed = 6;
|
|
}
|
|
|