Releases: thlucas1/homeassistantcomponent_spotifyplus
Releases · thlucas1/homeassistantcomponent_spotifyplus
v1.0.30
[ 1.0.30 ] - 2024/06/22
- Updated
config_flow
to utilize the HA shared Zeroconf instance. - Updated underlying
spotifywebapiPython
package requirement to version 1.0.62. - The underlying
spotifywebapiPython
update fixes a potential memory leak with the Zeroconf discovery process.
v1.0.29
[ 1.0.29 ] - 2024/06/21
- Fixed a bug due to
SpotifyConnect
addon not properly returning a "Content-Type: application/json" header in it's Spotify Zeroconf API responses. This was causing an error when trying to retrieve the Spotify Connect device list, and returning errors in the configuration options form. - Updated underlying
spotifywebapiPython
package requirement to version 1.0.61.
v1.0.28
[ 1.0.28 ] - 2024/06/19
- Added service
get_spotify_connect_devices
that gets information about all available Spotify Connect player devices. - Added service
get_player_now_playing
that gets object properties currently being played on the user's Spotify account. - Added service
player_activate_devices
that activates all static Spotify Connect player devices, and (optionally) switches the active user context to the current user context. - Added service
player_resolve_device_id
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. - Added service
get_player_playback_state
that gets information about the user's current playback state, including track or episode, progress, and active device. - Added extra state attribute
media_context_content_id
that contains the Context Content ID of current playing context if one is active; otherwise, None. - Updated underlying
spotifywebapiPython
package requirement to version 1.0.59.
v1.0.27
[ 1.0.27 ] - 2024/06/12
- Added extra state attribute
media_playlist_content_id
that contains the Content ID of current playing playlist context if one is active; otherwise, None. - Added property
media_player.media_playlist_content_id
that contains the Content ID of current playing playlist context if one is active; otherwise, None. - Added property
media_player.media_playlist_content_type
that contains the Content Type of current playing playlist if one is playing; otherwise, None. - Added property
media_player.media_playlist_description
that contains the Description of current playing playlist if one is playing; otherwise, None. - Added property
media_player.media_playlist_image_url
that contains the Image URL of current playing playlist if one is playing; otherwise, None. - Updated
use_ssl
description on all of the Zeroconf Device services.
v1.0.26
[ 1.0.26 ] - 2024/06/10
- Added service
zeroconf_device_connect
that calls theaddUser
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 service
zeroconf_device_disconnect
that calls theresetUsers
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. - Removed service
zeroconf_device_resetusers
and replaced it withzeroconf_device_disconnect
. - Updated underlying
spotifywebapiPython
package requirement to version 1.0.48.
v1.0.25
v1.0.24
[ 1.0.24 ] - 2024/06/07
- Updated underlying
spotifywebapiPython
package requirement to version 1.0.46. - Added the following requirements to manifest.json so that any dependency
ResolutionImpossible
errors can be quickly identified: 'oauthlib>=3.2.2', 'platformdirs>=4.1.0', 'requests>=2.31.0', 'requests_oauthlib>=1.3.1', 'zeroconf>=0.132.2'. This bug bit me in the HA 2024.6.1 release when the HA devs upgraded therequests
dependency to 2.32.3! The System log was showing that thespotifywebapiPython
library was the invalid dependency, but it was not - the REAL culprit was therequests
dependency!
v1.0.23
v1.0.22
v1.0.21
[ 1.0.21 ] - 2024/06/07
- Fixed a bug that caused player state to return an error every 30 seconds when playing the Spotify DJ playlist. As the Spotify Web API does not support retrieving the DJ playlist (
spotify:playlist:37i9dQZF1EYkqdzj48dyYq
), it simply returns a manually built representation of the Spotify DJ playlist with limited properties populated (uri, id, name, description, etc). Note that Spotify DJ support is not supported (as of 2024/06/07) by the Spotify Web API (this includes starting play, retrieving playlist details, retrieving playlist items, etc). - Added service
zeroconf_discover_devices
to discover Spotify Connect devices on the local network via the ZeroConf (aka MDNS) service, and return details about each device. - Added service
zeroconf_device_getinfo
to retrieve Spotify Connect device information from the Spotify Zeroconf APIgetInfo
endpoint. - Added service
zeroconf_device_resetusers
to reset users for a Spotify Connect device by calling the Spotify Zeroconf APIresetUsers
endpoint. - Updated underlying
spotifywebapiPython
package requirement to version 1.0.44.