mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-28 17:21:52 +00:00
c6327af2f3
A build script is used to ensure the source files haven’t been modified.
51 lines
958 B
Protocol Buffer
51 lines
958 B
Protocol Buffer
syntax = "proto2";
|
|
|
|
message EventReply {
|
|
optional int32 queued = 0x1;
|
|
optional RetryInfo retry = 0x2;
|
|
}
|
|
|
|
message RetryInfo {
|
|
optional int32 retry_delay = 0x1;
|
|
optional int32 max_retry = 0x2;
|
|
}
|
|
|
|
message Id {
|
|
optional string uri = 0x1;
|
|
optional int64 start_time = 0x2;
|
|
}
|
|
|
|
message Start {
|
|
optional int32 length = 0x1;
|
|
optional string context_uri = 0x2;
|
|
optional int64 end_time = 0x3;
|
|
}
|
|
|
|
message Seek {
|
|
optional int64 end_time = 0x1;
|
|
}
|
|
|
|
message Pause {
|
|
optional int32 seconds_played = 0x1;
|
|
optional int64 end_time = 0x2;
|
|
}
|
|
|
|
message Resume {
|
|
optional int32 seconds_played = 0x1;
|
|
optional int64 end_time = 0x2;
|
|
}
|
|
|
|
message End {
|
|
optional int32 seconds_played = 0x1;
|
|
optional int64 end_time = 0x2;
|
|
}
|
|
|
|
message Event {
|
|
optional Id id = 0x1;
|
|
optional Start start = 0x2;
|
|
optional Seek seek = 0x3;
|
|
optional Pause pause = 0x4;
|
|
optional Resume resume = 0x5;
|
|
optional End end = 0x6;
|
|
}
|
|
|