librespot/protocol/proto/playlist4content.proto

38 lines
950 B
Protocol Buffer
Raw Normal View History

syntax = "proto2";
2015-06-23 14:38:29 +00:00
import "playlist4meta.proto";
import "playlist4issues.proto";
message Item {
2015-07-01 17:49:03 +00:00
optional string uri = 0x1;
optional ItemAttributes attributes = 0x2;
2015-06-23 14:38:29 +00:00
}
2015-07-01 17:49:03 +00:00
2015-06-23 14:38:29 +00:00
message ListItems {
2015-07-01 17:49:03 +00:00
optional int32 pos = 0x1;
optional bool truncated = 0x2;
repeated Item items = 0x3;
2015-06-23 14:38:29 +00:00
}
2015-07-01 17:49:03 +00:00
2015-06-23 14:38:29 +00:00
message ContentRange {
2015-07-01 17:49:03 +00:00
optional int32 pos = 0x1;
optional int32 length = 0x2;
2015-06-23 14:38:29 +00:00
}
2015-07-01 17:49:03 +00:00
2015-06-23 14:38:29 +00:00
message ListContentSelection {
2015-07-01 17:49:03 +00:00
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;
2015-06-23 14:38:29 +00:00
}
2015-07-01 17:49:03 +00:00