Skip to content

Commit

Permalink
Release 1.24.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fondberg committed Apr 1, 2020
1 parent dd18fac commit a36f3db
Show file tree
Hide file tree
Showing 6 changed files with 99 additions and 2,489 deletions.
37 changes: 4 additions & 33 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,40 +15,10 @@ This component will query the current playback from the Spotify Web API and trie

The component uses the [Spotify Web API](https://developer.spotify.com/documentation/web-api/).

***New from version 1.5***
The card can make use of [My Spotify Chromecast custom component](https://github.com/fondberg/spotcast) if it is installed, to initiate playback on idle chromecast devices. Please read that README for any limitations.
This release also adds a limit configuration property to make the number of playlists retrieved configurable.

***New from version 1.6***
Add device as a parameter (thanks Maxence Dunnewind @maxenced).

**New from version 1.8**
Removed need for custom sensor from [My Spotify Chromecast custom component](https://github.com/fondberg/spotcast).
Fixed the reauth problem and added support for stopping pollimg Spotify APIs when the browser tab is hidden.
Added transfer playback support and fixed a lot of bugs (amongst others security issues with dependencies).

**New in version 1.9**
Support for [HACS](https://github.com/custom-components/hacs).

**New in version 1.10**
- Support for showing featured playlists instead of users playlists. Use configuration parameter `featuredPlaylists` and set it to true.
- Define which account should be used when calling spotcast. This should be the account key name as defined in the configuration for spotcast. Default is to use default account.
- Possibility to set height with scrolling. New configuration parameter `height` which takes an integer value and renders the playlist element that height in pixels.

**New in 1.11**
- Bump packages to get security updates
- Limit number of requests to spotify api to not get 429
- Limit to vertical scroll if height is smaller than number of items
- Fix minor bugs with auth

**New in 1.20**
- Add support for dailyMixes using spotcast 2.6.0

**New In 1.21**
- Add option to start playlists from random song.

![Screenshot](/spotify-card-highlight.png)

## See release information in github for release notes

### Requirements
This should now work in all newer major browsers. If it does not work for you please provide detailed reports in an issue ticket.

Expand All @@ -64,7 +34,7 @@ For more information about how to create an app see [Home Assistant Spotify Comp
Add the resource in lovelace config:

##### HACS users:
Follow the configuration the instructions when installing it.
Follow the HACS instructions when installing it.


##### Latest release using cdn:
Expand All @@ -84,6 +54,7 @@ Now add the card like this:
device: <optional name of a device to pre-select>
player: <optional use this player only, value should be the same name as the displayname of the player>
featuredPlaylists: <optional show featured playlists instead of users playlists>
dailyMixes: <optional show daily mixes, requires spotcast>
height: <optional pixels height for the playlist element. If content is larger scrolling will be enabled>
random_song: <optional boolean to start playlists from a random song>
```
Expand Down
5 changes: 3 additions & 2 deletions dist/spotify-card.js

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions dist/spotify-card.umd.js

Large diffs are not rendered by default.

Loading

0 comments on commit a36f3db

Please sign in to comment.