Skip to content

Changing platform value causing errors during key exchange #662

Open
@florisvoskamp

Description

@florisvoskamp

Describe the bug

The bug may not necessarily be a bug; it could be considered a feature request and/or bug report combined. I have conducted tests using my own premium account.

When using the following platform values during the client hello of the key exchange, an error of 'try another AP' occurs:

  • PLATFORM_ANDROID_ARM
  • PLATFORM_IPHONE_ARM

Similarly, when using the following platform values during the client hello of the key exchange, an error of 'premium required' occurs:

  • PLATFORM_BLACKBERRY_ARM
  • PLATFORM_WINDOWS_CE_ARM
  • PLATFORM_S60_ARM

To Reproduce
Modify the platform() function in Version.java as follows:

public static Platform platform() {
    return Platform.PLATFORM_ANDROID_ARM; // or any other value from the list that causes issues
}

Expected behavior
I expected the program to continue functioning correctly, as the appropriate platform variables should work. It is important to accurately identify the device from Spotify's side, so I want to ensure that this identification remains as accurate as possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions