1
0
Fork 0
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:
Roderick van Domburg 2021-12-11 00:03:35 +01:00
parent 40163754bb
commit 9a0d2390b7
No known key found for this signature in database
GPG key ID: A9EF5222A26F0451
7 changed files with 220 additions and 2 deletions

View 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;
}