Skip to content

Releases: thlucas1/homeassistantcomponent_spotifyplus

v1.0.76

28 Dec 17:11
Compare
Choose a tag to compare

[ 1.0.76 ] - 2024/12/28

  • Updated logic to correctly account for idle state; the integration will go into idle state (instead of staying in paused state) after it detects that the Spotify Web API has dropped the current play state (e.g. the device disconnects from Spotify Connect).
  • Added extra state attribute: sp_source_list_hide - List of device names (in lower-case) to hide from the source list.
  • Updated underlying spotifywebapiPython package requirement to version 1.0.130.

v1.0.75

21 Dec 22:40
Compare
Choose a tag to compare

[ 1.0.75 ] - 2024/12/21

  • Added service get_cover_image_file to get the contents of an image url and transfer the contents to the local file system. This service should only be used to download images for playlists that contain public domain images. It should not be used to download copyright protected images, as that would violate the Spotify Web API Terms of Service.
  • Updated underlying spotifywebapiPython package requirement to version 1.0.129.

v1.0.74

20 Dec 16:20
Compare
Choose a tag to compare

[ 1.0.74 ] - 2024/12/20

  • Updated underlying spotifywebapiPython package requirement to version 1.0.128.

v1.0.73

20 Dec 14:36
Compare
Choose a tag to compare

[ 1.0.73 ] - 2024/12/20

  • Updated underlying spotifywebapiPython package requirement to version 1.0.127.

v1.0.72

18 Dec 19:29
Compare
Choose a tag to compare

[ 1.0.72 ] - 2024/12/18

  • Updated underlying spotifywebapiPython package requirement to version 1.0.126.

v1.0.71

17 Dec 22:15
Compare
Choose a tag to compare

[ 1.0.71 ] - 2024/12/17

  • Added extra state attribute: sp_playing_type - object type of the currently playing item, or null if nothing is playing. If not null, it can be one of track, episode, ad or unknown. This allows you to detect when an advertisement is playing for Spotify Free accounts.
  • Bypassed logic in turn_on service for Spotify Free account to transfer playback and resume play. These were failing for Spotify Free accounts, since they require Premium account to execute.
  • Removed unsupported features for Spotify Free subscription: PAUSE, PLAY, PLAY_MEDIA, SELECT_SOURCE, VOLUME_MUTE, VOLUME_SET, VOLUME_STEP. These features require Spotify premium membership.
  • Replaced caught exception calls of raise HomeAssistantError with raise ServiceValidationError, which should reduce stack traces in the logs which are not necessary.

v1.0.70

12 Dec 14:35
Compare
Choose a tag to compare

[ 1.0.70 ] - 2024/12/12

  • Added configuration option to specify the Spotify polling scan interval. This option specifies the polling scan interval (in seconds) used to query Spotify Player playstate.

v1.0.69

09 Dec 20:00
Compare
Choose a tag to compare

[ 1.0.69 ] - 2024/12/09

  • Updated code when calling the spotifywebapiPython GetPlaylist method to not log exception information if the call fails. This was causing exceptions to be logged when trying to retrieve details for Spotify-owned algorithmic playlist details; the call now fails due to the unannounced Spotify Web API changes that were made by the Spotify Developer Team on 2024/11/27. Note that the call works fine for user-defined playlists.
  • The media_playlist extended attribute will now display Unknown if the currently playing context is a Spotify-owned algorithmic playlist (e.g. "Daily Mix 1", etc). It will display the correct playlist name if the currently playing context is a user-defined playlist.
  • The sp_playlist_name extended attribute will now display Unknown if the currently playing context is a Spotify-owned algorithmic playlist (e.g. "Daily Mix 1", etc). It will display the correct playlist name if the currently playing context is a user-defined playlist.
  • Updated underlying spotifywebapiPython package requirement to version 1.0.125.

v1.0.68

06 Dec 18:51
Compare
Choose a tag to compare

[ 1.0.68 ] - 2024/12/06

  • Updated service player_transfer_playback to resume play if play=True and force_activate_device=True. If forcefully activating a device, then we need to resume play manually if play=True was specified; this is due to the device losing its current status since it was being forcefully activated (e.g. disconnected and reconnected).
  • Updated underlying spotifywebapiPython package requirement to version 1.0.123.

v1.0.67

04 Dec 14:28
Compare
Choose a tag to compare

[ 1.0.67 ] - 2024/12/02

  • Updated underlying spotifywebapiPython package requirement to version 1.0.22.
  • The above spotifywebapiPython package will now return an exception due to the functions being deprecated by the Spotify development team. More information can be found on the Spotify Developer Forum Blog post that was conveyed on November 27, 2024. The following methods will now raise a SpotifyApiError exception due to the Spotify development team changes: GetArtistRelatedArtists, GetTrackRecommendations, GetTrackAudioFeatures, GetFeaturedPlaylists, GetCategoryPlaylists, GetGenres. The following properties were also marked as deprecated for the same reason: TrackSimplified.PreviewUrl.
  • Due to the above changes made by Spotify, any Algorithmic and Spotify-owned editorial playlists are no longer accessible or have more limited functionality. This means that you can no longer obtain details via the SpotifyClient.GetPlaylist and SpotifyClient.GetPlaylistItems methods for Spotify-owned / generated content (e.g. "Made For You", etc). A 404 - Not Found error will be returned when trying to retrieve information for these playlist types.