1
0
Fork 0
mirror of https://github.com/librespot-org/librespot.git synced 2025-10-05 02:39:53 +02:00

Major metadata refactoring and enhancement

* Expose all fields of recent protobufs

 * Add support for user-scoped playlists, user root playlists and
   playlist annotations

 * Convert messages with the Rust type system

 * Attempt to adhere to embargos (tracks and episodes scheduled for
   future release)

 * Return `Result`s with meaningful errors instead of panicking on
   `unwrap`s

 * Add foundation for future playlist editing

 * Up version in connection handshake to get all version-gated features
This commit is contained in:
Roderick van Domburg 2021-12-07 23:22:24 +01:00
parent 47badd61e0
commit 0e2686863a
No known key found for this signature in database
GPG key ID: A9EF5222A26F0451
36 changed files with 2530 additions and 757 deletions

View file

@ -49,7 +49,7 @@ where
packet
.mut_build_info()
.set_platform(protocol::keyexchange::Platform::PLATFORM_LINUX_X86);
packet.mut_build_info().set_version(109800078);
packet.mut_build_info().set_version(999999999);
packet
.mut_cryptosuites_supported()
.push(protocol::keyexchange::Cryptosuite::CRYPTO_SUITE_SHANNON);