mirror of
https://github.com/librespot-org/librespot.git
synced 2024-11-08 16:45:43 +00:00
35 lines
930 B
Protocol Buffer
35 lines
930 B
Protocol Buffer
import "playlist4meta.proto";
|
|
import "playlist4issues.proto";
|
|
|
|
message Item {
|
|
optional string uri = 0x1;
|
|
optional ItemAttributes attributes = 0x2;
|
|
}
|
|
|
|
message ListItems {
|
|
optional int32 pos = 0x1;
|
|
optional bool truncated = 0x2;
|
|
repeated Item items = 0x3;
|
|
}
|
|
|
|
message ContentRange {
|
|
optional int32 pos = 0x1;
|
|
optional int32 length = 0x2;
|
|
}
|
|
|
|
message ListContentSelection {
|
|
optional bool wantRevision = 0x1;
|
|
optional bool wantLength = 0x2;
|
|
optional bool wantAttributes = 0x3;
|
|
optional bool wantChecksum = 0x4;
|
|
optional bool wantContent = 0x5;
|
|
optional ContentRange contentRange = 0x6;
|
|
optional bool wantDiff = 0x7;
|
|
optional bytes baseRevision = 0x8;
|
|
optional bytes hintRevision = 0x9;
|
|
optional bool wantNothingIfUpToDate = 0xa;
|
|
optional bool wantResolveAction = 0xc;
|
|
repeated ClientIssue issues = 0xd;
|
|
repeated ClientResolveAction resolveAction = 0xe;
|
|
}
|
|
|