mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-28 17:21:52 +00:00
54 lines
1 KiB
Protocol Buffer
54 lines
1 KiB
Protocol Buffer
|
// Extracted from: Spotify 1.1.73.517 (macOS)
|
||
|
|
||
|
syntax = "proto3";
|
||
|
|
||
|
package spotify.autodownloadservice.v1.proto;
|
||
|
|
||
|
import "google/protobuf/timestamp.proto";
|
||
|
|
||
|
message Identifiers {
|
||
|
string device_id = 1;
|
||
|
string cache_id = 2;
|
||
|
}
|
||
|
|
||
|
message Settings {
|
||
|
oneof episode_download {
|
||
|
bool most_recent_no_limit = 1;
|
||
|
int32 most_recent_count = 2;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
message SetSettingsRequest {
|
||
|
Identifiers identifiers = 1;
|
||
|
Settings settings = 2;
|
||
|
google.protobuf.Timestamp client_timestamp = 3;
|
||
|
}
|
||
|
|
||
|
message GetSettingsRequest {
|
||
|
Identifiers identifiers = 1;
|
||
|
}
|
||
|
|
||
|
message GetSettingsResponse {
|
||
|
Settings settings = 1;
|
||
|
}
|
||
|
|
||
|
message ShowRequest {
|
||
|
Identifiers identifiers = 1;
|
||
|
string show_uri = 2;
|
||
|
google.protobuf.Timestamp client_timestamp = 3;
|
||
|
}
|
||
|
|
||
|
message ReplaceIdentifiersRequest {
|
||
|
Identifiers old_identifiers = 1;
|
||
|
Identifiers new_identifiers = 2;
|
||
|
}
|
||
|
|
||
|
message PendingItem {
|
||
|
google.protobuf.Timestamp client_timestamp = 1;
|
||
|
|
||
|
oneof pending {
|
||
|
bool is_removed = 2;
|
||
|
Settings settings = 3;
|
||
|
}
|
||
|
}
|