2024-12-15 19:51:02 +00:00
|
|
|
// Extracted from: Spotify 1.2.52.442 (windows)
|
2021-06-19 20:29:48 +00:00
|
|
|
|
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package spotify.collection.proto;
|
|
|
|
|
|
|
|
option optimize_for = CODE_SIZE;
|
|
|
|
|
|
|
|
message IndexRepairerState {
|
|
|
|
bytes last_checked_uri = 1;
|
|
|
|
int64 last_full_check_finished_at = 2;
|
|
|
|
}
|
|
|
|
|
2024-12-15 19:51:02 +00:00
|
|
|
message AddTime {
|
|
|
|
int64 timestamp = 1;
|
|
|
|
}
|
|
|
|
|
2021-06-19 20:29:48 +00:00
|
|
|
message CollectionTrackEntry {
|
2021-12-10 19:33:43 +00:00
|
|
|
string uri = 1;
|
2021-06-19 20:29:48 +00:00
|
|
|
string track_name = 2;
|
|
|
|
string album_uri = 3;
|
|
|
|
string album_name = 4;
|
|
|
|
int32 disc_number = 5;
|
|
|
|
int32 track_number = 6;
|
|
|
|
string artist_uri = 7;
|
|
|
|
repeated string artist_name = 8;
|
|
|
|
int64 add_time = 9;
|
|
|
|
}
|
|
|
|
|
2024-12-15 19:51:02 +00:00
|
|
|
message CollectionAlbumEntry {
|
2021-12-10 19:33:43 +00:00
|
|
|
string uri = 1;
|
2021-06-19 20:29:48 +00:00
|
|
|
string album_name = 2;
|
2024-12-15 19:51:02 +00:00
|
|
|
string artist_uri = 4;
|
|
|
|
string artist_name = 5;
|
|
|
|
int64 add_time = 6;
|
|
|
|
int64 last_played = 8;
|
|
|
|
int64 release_date = 9;
|
|
|
|
}
|
|
|
|
|
|
|
|
message CollectionShowEntry {
|
|
|
|
string uri = 1;
|
|
|
|
string show_name = 2;
|
2021-12-10 19:33:43 +00:00
|
|
|
string creator_name = 5;
|
2021-06-19 20:29:48 +00:00
|
|
|
int64 add_time = 6;
|
2024-12-15 19:51:02 +00:00
|
|
|
int64 publish_date = 7;
|
|
|
|
int64 last_played = 8;
|
|
|
|
}
|
|
|
|
|
|
|
|
message CollectionBookEntry {
|
|
|
|
string uri = 1;
|
|
|
|
string book_name = 2;
|
|
|
|
string author_name = 5;
|
|
|
|
int64 add_time = 6;
|
|
|
|
int64 last_played = 8;
|
2021-06-19 20:29:48 +00:00
|
|
|
}
|
|
|
|
|
2021-12-10 19:33:43 +00:00
|
|
|
message CollectionArtistEntry {
|
|
|
|
string uri = 1;
|
|
|
|
string artist_name = 2;
|
|
|
|
int64 add_time = 4;
|
2024-12-15 19:51:02 +00:00
|
|
|
int64 last_played = 8;
|
|
|
|
}
|
|
|
|
|
|
|
|
message CollectionAuthorEntry {
|
|
|
|
string uri = 1;
|
|
|
|
string author_name = 2;
|
|
|
|
int64 add_time = 4;
|
2021-06-19 20:29:48 +00:00
|
|
|
}
|
2024-12-15 19:51:02 +00:00
|
|
|
|
|
|
|
message CollectionEpisodeEntry {
|
|
|
|
string uri = 1;
|
|
|
|
string episode_name = 2;
|
|
|
|
string show_uri = 3;
|
|
|
|
string show_name = 4;
|
|
|
|
int64 add_time = 5;
|
|
|
|
int64 publish_time = 6;
|
|
|
|
}
|
|
|
|
|