Spotifywebapipython

Latest version: v1.0.194

Safety actively analyzes 723144 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 21 of 33

1.0.74

* Added `SpotifyConnectDevices.GetDeviceById` method to return a `SpotifyConnectDevice` instance if the collection contains the specified device id value; otherwise, None.
* Added `SpotifyConnectDevices.GetDeviceByName` method to return a `SpotifyConnectDevice` instance if the collection contains the specified device name value; otherwise, None.
* Updated `ZeroconfConnect` class to use a '2.7.1' version indicator if no version argument was specified on the class contructor.
* Updated `ZeroconfConnect.Disconnect` to check for an invalid JSON response. It has been found that some devices (Sonos, etc) do not return a proper JSON response for the `resetUsers` action. If a JSON response was not returned, then it will treat the http status code as the response code; if it's not a 200, then it will raise an exception.
* Updated `SpotifyClient.PlayerResolveDeviceId` method to not switch the active user context for Sonos devices. Sonos devices are restricted, and (currently) cannot be controlled by the Spotify Web-Services API player methods.

1.0.73

* Updated `SpotifyClient.GetSpotifyConnectDevices` to gracefully handle device unavailable scenarios. It will try to reach the device by its direct HostIpAddress first; if that fails, then it will try to reach the device by its Server alias; if that fails, then it will log a warning that the device could not be reached and press on.
* Updated `ZeroconfConnect.Disconnect` to check for an invalid JSON response. It has been found that some devices (Sonos, etc) do not return a proper JSON response for the `resetUsers` action. If a JSON response was not returned, then it will treat the http status code as the response code; if it's not a 200, then it will raise an exception.
* Updated `BlobBuilder` methods to add tracing of blob data contents.

1.0.72

* Updated `ZeroconfConnect.Connect` method to handle the `authorization_code` token type for Zeroconf API `addUser` requests.

1.0.71

* Updated `ZeroconfConnect.Connect` method to properly return the response data from the `addUser` request and process the results.

1.0.70

* Updated `ZeroconfConnect.Connect` method to properly wait for device to become fully availabile if need be.

1.0.69

* Added properties and arguments to support the Zeroconf API `loginId` argument for the `addUser` request.
* Updated `ZeroconfConnect.Connect` method to include the `deviceName` and `deviceId` keys for the `addUser` request for certain device manufacturer conditions.
* Updated `ZeroconfConnect.Connect` method to not issue a Disconnect to reset the user context if the public key value is "INVALID", as the logic did not work as expected.

Page 21 of 33

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.