mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-03 09:49:31 +02:00
Get user attributes and updates
This commit is contained in:
parent
40163754bb
commit
9a0d2390b7
7 changed files with 220 additions and 2 deletions
29
protocol/proto/user_attributes.proto
Normal file
29
protocol/proto/user_attributes.proto
Normal file
|
@ -0,0 +1,29 @@
|
|||
// Custom protobuf crafted from spotify:user:attributes:mutated response:
|
||||
//
|
||||
// 1 {
|
||||
// 1: "filter-explicit-content"
|
||||
// }
|
||||
// 2 {
|
||||
// 1: 1639087299
|
||||
// 2: 418909000
|
||||
// }
|
||||
|
||||
syntax = "proto3";
|
||||
|
||||
package spotify.user_attributes.proto;
|
||||
|
||||
option optimize_for = CODE_SIZE;
|
||||
|
||||
message UserAttributesMutation {
|
||||
repeated MutatedField fields = 1;
|
||||
MutationCommand cmd = 2;
|
||||
}
|
||||
|
||||
message MutatedField {
|
||||
string name = 1;
|
||||
}
|
||||
|
||||
message MutationCommand {
|
||||
int64 timestamp = 1;
|
||||
int32 unknown = 2;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue