[GH-ISSUE #275] [BUG] NativeAndroidData does not match with the last proto update #47

Open
opened 2026-02-27 08:11:36 +03:00 by kerem · 0 comments
Owner

Originally created by @MarioCodarin on GitHub (Jun 6, 2024).
Original GitHub issue: https://github.com/kokarare1212/librespot-python/issues/275

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

Originally created by @MarioCodarin on GitHub (Jun 6, 2024). Original GitHub issue: https://github.com/kokarare1212/librespot-python/issues/275 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`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/librespot-python-kokarare1212#47
No description provided.