playlist4meta.proto 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. syntax = "proto2";
  2. message ListChecksum {
  3. optional int32 version = 0x1;
  4. optional bytes sha1 = 0x4;
  5. }
  6. message DownloadFormat {
  7. optional Codec codec = 0x1;
  8. enum Codec {
  9. CODEC_UNKNOWN = 0x0;
  10. OGG_VORBIS = 0x1;
  11. FLAC = 0x2;
  12. MPEG_1_LAYER_3 = 0x3;
  13. }
  14. }
  15. message ListAttributes {
  16. optional string name = 0x1;
  17. optional string description = 0x2;
  18. optional bytes picture = 0x3;
  19. optional bool collaborative = 0x4;
  20. optional string pl3_version = 0x5;
  21. optional bool deleted_by_owner = 0x6;
  22. optional bool restricted_collaborative = 0x7;
  23. optional int64 deprecated_client_id = 0x8;
  24. optional bool public_starred = 0x9;
  25. optional string client_id = 0xa;
  26. }
  27. message ItemAttributes {
  28. optional string added_by = 0x1;
  29. optional int64 timestamp = 0x2;
  30. optional string message = 0x3;
  31. optional bool seen = 0x4;
  32. optional int64 download_count = 0x5;
  33. optional DownloadFormat download_format = 0x6;
  34. optional string sevendigital_id = 0x7;
  35. optional int64 sevendigital_left = 0x8;
  36. optional int64 seen_at = 0x9;
  37. optional bool public = 0xa;
  38. }
  39. message StringAttribute {
  40. optional string key = 0x1;
  41. optional string value = 0x2;
  42. }
  43. message StringAttributes {
  44. repeated StringAttribute attribute = 0x1;
  45. }