kokarare1212 / librespot-python

Open Source Spotify Client
http://librespot-python.rtfd.io
Apache License 2.0
220 stars 43 forks source link

[BUG] NativeAndroidData does not match with the last proto update #275

Open MarioCodarin opened 3 months ago

MarioCodarin commented 3 months ago

I replaced in the proto response client_id and device_id value to not show mine.

From Connectivity.proto

message NativeAndroidData {
    int32 major_sdk_version = 1;
    int32 minor_sdk_version = 2;
    int32 patch_sdk_version = 3;
    uint32 api_version = 4;
    Screen screen_dimensions = 5;
}

Actual request

[uint32] 1 1
[message] 2
[string] 2.1 8.8.80.599 [string] 2.2 client_id [message] 2.3
[message] 2.3.1
[message] 2.3.1.1
[message] 2.3.1.1.1
[uint32] 2.3.1.1.1.1 540
[uint32] 2.3.1.1.1.2 960
[uint32] 2.3.1.1.1.3 540
[uint32] 2.3.1.1.1.4 160
[uint32] 2.3.1.1.1.5 160
[string] 2.3.1.1.2 7.1.1
[uint32] 2.3.1.1.3 25
[string] 2.3.1.1.4 ONEPLUS A5000
[string] 2.3.1.1.5 ONEPLUS A5000
[string] 2.3.1.1.6 OnePlus
[string] 2.3.1.1.7 OnePlus [uint32] 2.3.1.1.8 32 [string] 2.3.2 device_id