Releases: thlucas1/homeassistantcomponent_spotifyplus
Releases · thlucas1/homeassistantcomponent_spotifyplus
v1.0.76
[ 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
[ 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
v1.0.73
v1.0.72
v1.0.71
[ 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 oftrack
,episode
,ad
orunknown
. 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
withraise ServiceValidationError
, which should reduce stack traces in the logs which are not necessary.
v1.0.70
[ 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
[ 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 displayUnknown
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 displayUnknown
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
[ 1.0.68 ] - 2024/12/06
- Updated service
player_transfer_playback
to resume play ifplay=True
andforce_activate_device=True
. If forcefully activating a device, then we need to resume play manually ifplay=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
[ 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 aSpotifyApiError
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
andSpotifyClient.GetPlaylistItems
methods for Spotify-owned / generated content (e.g. "Made For You", etc). A404 - Not Found
error will be returned when trying to retrieve information for these playlist types.