Spotifywebapipython

Latest version: v1.0.194

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

Scan your dependencies

Page 25 of 33

1.0.50

* Added `SpotifyClient.ZeroconfClient` property that contains a reference to the Zeroconf client instance used to discover Spotify Connect devices.
* Added `SpotifyDiscovery.ZeroconfClient` property that contains a reference to the Zeroconf client instance used to discover Spotify Connect devices.

1.0.49

* Added `SpotifyClient.PlayerActivateDevices` method that activates all Spotify Connect player devices, and (optionally) switches the active user context to the current user context. Note that you can still activate individual devices using the `ZeroconfConnect.Connect` method if you wish.
* Added `SpotifyClient.PlayerResolveDeviceId` method that resolves a Spotify Connect device identifier from a specified device id, name, alias id, or alias name. This will ensure that the device id can be found on the network, as well as connect to the device (if necessary) with the current user context.
* Updated various `SpotifyClient` methods to utilize the new `SpotifyClient.PlayerResolveDeviceId` method so that device id's are automatically activated if they are currently deactivated but available on the local network. Methods updated were: `PlayerMediaPlayContext`, `PlayerMediaPlayTrackFavorites`, `PlayerMediaPlayTracks`, `PlayerTransferPlayback`.
* Updated `SpotifyClient` class constructor so that Spotify Connect user context credentials (e.g. username and password) may be supplied for the resolution of device id / name. Note these credentials are only used for Spotify Connect device resolution, and are not used by method calls that are made to the underlying Spotify Web API.
* Updated `SpotifyDiscovery` class constructor so that a `Zeroconf` instance can be provided. This allows Home Assistant integrations to use the HA Zeroconf instance and avoid the log warnings of multiple Zeroconf instances in use.
* Removed `SpotifyClient` processing from the `SpotifyDiscovery` class, as the processing was moved into the `SpotifyClient` class itself.

1.0.48

* Forgot to re-build prior to deploying!

1.0.47

* Moved all Spotify Zeroconf API related classes to a new namespace called `zeroconfapi`. Classes moved were: `ZeroconfResponse`, `ZeroconfGetInfo`, `ZeroconfGetInfoAlias`, `ZeroconfGetInfoDrmMediaFormat`.
* Added `ZeroconfConnect` class that contains various methods that support interfacing with the Spotify Zeroconf API.
* Added `ZeroconfConnect.Connect` method that calls the `addUser` Spotify Zeroconf API endpoint to issue a call to SpConnectionLoginBlob. If successful, the associated device id is added to the Spotify Connect active device list for the specified user account.
* Added `ZeroconfConnect.Disconnect` method that calls the `resetUsers` Spotify Zeroconf API endpoint to issue a call to SpConnectionLogout; the currently logged in user (if any) will be logged out of Spotify Connect, and the device id removed from the active Spotify Connect device list.
* Added `ZeroconfConnect.GetInformation` method that calls the `getInfo` Spotify Zeroconf API endpoint to return information about the device.
* Removed `SpotifyClient.ZeroconfAddUser` method, and replaced it with method `ZeroconfConnect.Connect`.
* Removed `SpotifyClient.ZeroconfResetUsers` method, and replaced it with method `ZeroconfConnect.Disconnect`.
* Removed `SpotifyClient.ZeroconfGetInformation` method, and replaced it with method `ZeroconfConnect.GetInformation`.

1.0.46

* Updated the following requirements due to Home Assistant dependency issues: 'oauthlib>=3.2.2', 'platformdirs>=4.1.0', 'requests>=2.31.0', 'requests_oauthlib>=1.3.1', 'zeroconf>=0.132.2'.

1.0.45

* Updated `zeroconf` requirements to "zeroconf>=0.132.2". This was causing installation issues with other components that utilize zeroconf.

Page 25 of 33

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.