Skip to content

Releases: thlucas1/homeassistantcomponent_spotifyplus

v1.0.30

22 Jun 03:27
Compare
Choose a tag to compare

[ 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

21 Jun 20:13
Compare
Choose a tag to compare

[ 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

20 Jun 00:23
Compare
Choose a tag to compare

[ 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

12 Jun 14:44
Compare
Choose a tag to compare

[ 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

11 Jun 04:09
Compare
Choose a tag to compare

[ 1.0.26 ] - 2024/06/10

  • Added service zeroconf_device_connect 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 service zeroconf_device_disconnect 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.
  • Removed service zeroconf_device_resetusers and replaced it with zeroconf_device_disconnect.
  • Updated underlying spotifywebapiPython package requirement to version 1.0.48.

v1.0.25

08 Jun 15:52
Compare
Choose a tag to compare

[ 1.0.25 ] - 2024/06/08

  • Fixed a bug that was causing ValueError: list.remove(x): x not in list exceptions to be raised whenever the user changed configuration options for a service. This started appearing with the HA 2024.6.1 release.

v1.0.24

08 Jun 03:28
Compare
Choose a tag to compare

[ 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 the requests dependency to 2.32.3! The System log was showing that the spotifywebapiPython library was the invalid dependency, but it was not - the REAL culprit was the requests dependency!

v1.0.23

08 Jun 02:21
Compare
Choose a tag to compare

[ 1.0.23 ] - 2024/06/07

  • Re-updated underlying spotifywebapiPython package requirement to version 1.0.45.

v1.0.22

08 Jun 01:49
Compare
Choose a tag to compare

[ 1.0.22 ] - 2024/06/07

  • Re-updated underlying spotifywebapiPython package requirement to version 1.0.44.

v1.0.21

07 Jun 18:18
Compare
Choose a tag to compare

[ 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 API getInfo endpoint.
  • Added service zeroconf_device_resetusers to reset users for a Spotify Connect device by calling the Spotify Zeroconf API resetUsers endpoint.
  • Updated underlying spotifywebapiPython package requirement to version 1.0.44.