mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-28 17:21:52 +00:00
113ac94c07
* Import Spotify 1.1.61.583 (Windows) protobufs * Import Spotify 1.1.33.569 protobufs missing in 1.1.61.583 * Remove unused protobufs, no longer present in 1.1.61.583
30 lines
598 B
Protocol Buffer
30 lines
598 B
Protocol Buffer
// Extracted from: Spotify 1.1.61.583 (Windows)
|
|
|
|
syntax = "proto3";
|
|
|
|
package spotify.capper3;
|
|
|
|
option java_multiple_files = true;
|
|
option java_package = "com.spotify.capper3.proto";
|
|
|
|
message ConsumeTokensRequest {
|
|
uint32 tokens = 1;
|
|
}
|
|
|
|
message CappingData {
|
|
uint32 remaining_tokens = 1;
|
|
uint32 capacity = 2;
|
|
uint32 seconds_until_next_refill = 3;
|
|
uint32 refill_amount = 4;
|
|
}
|
|
|
|
message ConsumeTokensResponse {
|
|
uint32 seconds_until_next_update = 1;
|
|
PlayCappingType capping_type = 2;
|
|
CappingData capping_data = 3;
|
|
}
|
|
|
|
enum PlayCappingType {
|
|
NONE = 0;
|
|
LINEAR = 1;
|
|
}
|